Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 209 kB / 24.47 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 47.92 kB / 379 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.26, allocations: 53.37 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01801/0.278, allocations: 14.24 MB / 446.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009362/0.2874, allocations: 4.041 MB / 450.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/0.2903, allocations: 167.2 kB / 450.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01709/0.3074, allocations: 6.902 MB / 457.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007109/0.3145, allocations: 1.343 MB / 459 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004677/0.3192, allocations: 1.231 MB / 460.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01256/0.3317, allocations: 8.297 MB / 468.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02628/0.358, allocations: 14.22 MB / 482.8 MB, free: 3.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008969/0.367, allocations: 4.918 MB / 487.7 MB, free: 15.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009978/0.3769, allocations: 5.166 MB / 492.9 MB, free: 9.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004201/0.3811, allocations: 1.387 MB / 494.3 MB, free: 8.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006129/0.3873, allocations: 1.664 MB / 495.9 MB, free: 6.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003947/0.3912, allocations: 2.588 MB / 498.5 MB, free: 4.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006286/0.3975, allocations: 4.043 MB / 0.4908 GB, free: 140 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02394/0.4214, allocations: 18.44 MB / 0.5088 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.819e-06/0.4215, allocations: 4 kB / 0.5088 GB, free: 13.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4215, allocations: 0 / 0.5088 GB, free: 13.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005615/0.422, allocations: 3.938 kB / 0.5088 GB, free: 13.64 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.03518/0.4572, allocations: 10.56 MB / 0.5191 GB, free: 3.004 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4573, allocations: 8.031 kB / 0.5191 GB, free: 2.996 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02072/0.478, allocations: 3.71 MB / 0.5227 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01321/0.4912, allocations: 5.421 MB / 0.528 GB, free: 9.797 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000728/0.4919, allocations: 0.6824 MB / 0.5287 GB, free: 9.113 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002878/0.4948, allocations: 0.8945 MB / 0.5296 GB, free: 8.219 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4663/0.9611, allocations: 12.81 MB / 0.5421 GB, free: 87.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002669/0.9614, allocations: 6.859 kB / 0.5421 GB, free: 87.02 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002143/0.9635, allocations: 375.1 kB / 0.5424 GB, free: 86.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004599/0.964, allocations: 399.7 kB / 0.5428 GB, free: 86.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02012/0.9841, allocations: 11.41 MB / 0.554 GB, free: 82.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0515/1.036, allocations: 37.37 MB / 0.5904 GB, free: 46.72 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006686/1.042, allocations: 4.17 MB / 0.5945 GB, free: 42.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/1.044, allocations: 1.533 MB / 0.596 GB, free: 41.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001821/1.044, allocations: 69.94 kB / 0.5961 GB, free: 41.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/1.044, allocations: 60.55 kB / 0.5961 GB, free: 41.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.86e-06/1.044, allocations: 0 / 0.5961 GB, free: 41.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.006899/1.051, allocations: 4.599 MB / 0.6006 GB, free: 36.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/1.051, allocations: 77.41 kB / 0.6007 GB, free: 36.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003192/1.054, allocations: 3.038 MB / 0.6037 GB, free: 33.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001377/1.054, allocations: 61.7 kB / 0.6037 GB, free: 33.43 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001286/1.056, allocations: 3.985 MB / 0.6076 GB, free: 29.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004562/1.056, allocations: 0.8296 MB / 0.6084 GB, free: 28.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000976/1.057, allocations: 0.9643 MB / 0.6094 GB, free: 28 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.36e-05/1.057, allocations: 305.1 kB / 0.6097 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/1.059, allocations: 1.969 MB / 0.6116 GB, free: 25.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002795/1.062, allocations: 4.173 MB / 0.6157 GB, free: 20.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005307/1.067, allocations: 6.513 MB / 0.622 GB, free: 12.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.672e-05/1.067, allocations: 20 kB / 0.622 GB, free: 12.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007895/1.075, allocations: 6.52 MB / 0.6284 GB, free: 6.375 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/1.075, allocations: 38.66 kB / 0.6284 GB, free: 6.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.966e-05/1.075, allocations: 84.17 kB / 0.6285 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007364/1.076, allocations: 408.6 kB / 0.6289 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/1.079, allocations: 1.068 MB / 0.63 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003864/1.083, allocations: 4.183 MB / 0.634 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/1.086, allocations: 0.63 MB / 0.6347 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005286/1.087, allocations: 244 kB / 0.6349 GB, free: 15.63 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005602/1.092, allocations: 3.376 MB / 0.6382 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006567/1.093, allocations: 286.2 kB / 0.6385 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006092/1.099, allocations: 3.576 MB / 0.642 GB, free: 8.352 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004434/1.103, allocations: 2.811 MB / 0.6447 GB, free: 5.531 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/1.103, allocations: 4 kB / 0.6447 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/1.103, allocations: 11.95 kB / 0.6447 GB, free: 5.516 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/1.119, allocations: 8.002 MB / 0.6525 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/1.119, allocations: 0 / 0.6525 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001601/1.121, allocations: 427.3 kB / 0.6529 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007287/1.122, allocations: 308.7 kB / 0.6532 GB, free: 12.75 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/1.122, allocations: 51.98 kB / 0.6533 GB, free: 12.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005233/1.127, allocations: 4.011 MB / 0.6572 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.127, allocations: 0 / 0.6572 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008081/1.135, allocations: 5.132 MB / 0.6622 GB, free: 3.426 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/1.137, allocations: 0.5561 MB / 0.6627 GB, free: 2.867 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00039/1.137, allocations: 55.86 kB / 0.6628 GB, free: 2.812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/1.138, allocations: 127.8 kB / 0.6629 GB, free: 2.688 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/1.139, allocations: 157.6 kB / 0.6631 GB, free: 2.535 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/1.139, allocations: 67.98 kB / 0.6631 GB, free: 2.469 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003028/1.142, allocations: 1.943 MB / 0.665 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/1.142, allocations: 0 / 0.665 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005322/1.147, allocations: 1.988 MB / 0.667 GB, free: 14.52 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005271/1.148, allocations: 206.7 kB / 0.6672 GB, free: 14.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007858/1.156, allocations: 4.443 MB / 0.6715 GB, free: 9.859 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.156, allocations: 5.875 kB / 0.6715 GB, free: 9.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002921/1.159, allocations: 1.622 MB / 0.6731 GB, free: 8.227 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/1.162, allocations: 0.6652 MB / 0.6738 GB, free: 7.574 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02691/1.189, allocations: 13.25 MB / 0.6867 GB, free: 10.25 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006661/1.196, allocations: 5.004 MB / 0.6916 GB, free: 5.207 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/1.197, allocations: 279.4 kB / 0.6919 GB, free: 4.934 MB / 0.4982 GB Notification: Performance of SimCode: time 1.252e-06/1.197, allocations: 4 kB / 0.6919 GB, free: 4.93 MB / 0.4982 GB Notification: Performance of Templates: time 0.3531/1.55, allocations: 136 MB / 0.8247 GB, free: 114 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.112095120828599]