Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.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.001197/0.001197, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001383/0.001383, allocations: 162.6 kB / 24.99 MB, free: 9.273 MB / 18.57 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 273.1 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.853e-05/3.019e-05, allocations: 6.312 kB / 273.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007605/0.007635, allocations: 5.821 MB / 278.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.01039, allocations: 1.674 MB / 280.6 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004313/0.01082, allocations: 63.62 kB / 280.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004495/0.01127, allocations: 317.4 kB / 280.9 MB, free: 9.938 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000905/0.01217, allocations: 401 kB / 281.3 MB, free: 9.543 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.01276, allocations: 359.5 kB / 281.7 MB, free: 9.191 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002152/0.01491, allocations: 2.074 MB / 283.7 MB, free: 7.109 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.01708, allocations: 1.56 MB / 285.3 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00214/0.01922, allocations: 1.622 MB / 286.9 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00185/0.02107, allocations: 1.161 MB / 288.1 MB, free: 2.695 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004689/0.02154, allocations: 308 kB / 288.4 MB, free: 2.395 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007295/0.02227, allocations: 455.5 kB / 288.8 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006758/0.02295, allocations: 0.7714 MB / 289.6 MB, free: 1.176 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001364/0.02431, allocations: 0.881 MB / 290.5 MB, free: 300 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1207/0.145, allocations: 2.091 MB / 292.6 MB, free: 18.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1451, allocations: 4.188 kB / 292.6 MB, free: 18.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1451, allocations: 0.5938 kB / 292.6 MB, free: 18.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.658e-05/0.1451, allocations: 1.562 kB / 292.6 MB, free: 18.61 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.003569/0.1487, allocations: 2.616 MB / 295.2 MB, free: 17.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.1487, allocations: 10.25 kB / 295.2 MB, free: 17.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007565/0.1495, allocations: 472.6 kB / 295.7 MB, free: 17.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.1509, allocations: 1.196 MB / 296.9 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.151, allocations: 165.5 kB / 297 MB, free: 17.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002182/0.1512, allocations: 223.7 kB / 297.2 MB, free: 17.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/0.1534, allocations: 1.353 MB / 298.6 MB, free: 16.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.1534, allocations: 2.453 kB / 298.6 MB, free: 16.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.1536, allocations: 96.59 kB / 298.7 MB, free: 16.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-05/0.1536, allocations: 57.41 kB / 298.8 MB, free: 16.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.155, allocations: 0.6899 MB / 299.4 MB, free: 16.7 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005882/0.1609, allocations: 6.112 MB / 305.6 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.1613, allocations: 450.9 kB / 306 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004214/0.1617, allocations: 355.5 kB / 306.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.1617, allocations: 12.12 kB / 306.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.1618, allocations: 45.8 kB / 306.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 1.613e-06/0.1618, allocations: 0 / 306.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.00164/0.1634, allocations: 1.442 MB / 307.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.709e-05/0.1634, allocations: 59.31 kB / 307.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005058/0.1639, allocations: 0.7117 MB / 308.6 MB, free: 11.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.164, allocations: 36.98 kB / 308.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.1642, allocations: 1.015 MB / 309.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.931e-05/0.1643, allocations: 238.7 kB / 309.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.1644, allocations: 157.2 kB / 310 MB, free: 10.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.895e-05/0.1645, allocations: 0.5796 MB / 310.6 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.1647, allocations: 116 kB / 310.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.165, allocations: 447.7 kB / 311.2 MB, free: 9.852 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004523/0.1654, allocations: 0.6078 MB / 311.8 MB, free: 9.355 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1654, allocations: 7.312 kB / 311.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007459/0.1662, allocations: 0.6793 MB / 312.5 MB, free: 9.082 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1662, allocations: 5.688 kB / 312.5 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1662, allocations: 8.531 kB / 312.5 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001643/0.1663, allocations: 70.69 kB / 312.6 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.1667, allocations: 171.2 kB / 312.7 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009321/0.1676, allocations: 2.328 MB / 315 MB, free: 6.812 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.1679, allocations: 36.59 kB / 315.1 MB, free: 6.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.1679, allocations: 44.28 kB / 315.1 MB, free: 6.781 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002334/0.1682, allocations: 206 kB / 315.3 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.1683, allocations: 103.5 kB / 315.4 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.017e-05/0.1683, allocations: 91.47 kB / 315.5 MB, free: 6.387 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.1684, allocations: 8 kB / 315.5 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1684, allocations: 4 kB / 315.5 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1684, allocations: 8.016 kB / 315.5 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.1702, allocations: 1.962 MB / 317.5 MB, free: 4.371 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1702, allocations: 4.031 kB / 317.5 MB, free: 4.367 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002168/0.1704, allocations: 106.3 kB / 317.6 MB, free: 4.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001382/0.1706, allocations: 65.42 kB / 317.7 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.739e-05/0.1706, allocations: 15.98 kB / 317.7 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007911/0.1714, allocations: 2.304 MB / 320 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1714, allocations: 0 / 320 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007386/0.1721, allocations: 0.8144 MB / 320.8 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.1723, allocations: 143.4 kB / 320.9 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.209e-05/0.1723, allocations: 16 kB / 321 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.1725, allocations: 35.97 kB / 321 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.964e-05/0.1726, allocations: 55.86 kB / 321.1 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.1726, allocations: 16 kB / 321.1 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002927/0.1729, allocations: 438.9 kB / 321.5 MB, free: 256 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1729, allocations: 0 / 321.5 MB, free: 256 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006627/0.1736, allocations: 304 kB / 321.8 MB, free: 15.95 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002284/0.1738, allocations: 139.8 kB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008746/0.1747, allocations: 0.6471 MB / 322.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1747, allocations: 4 kB / 322.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004188/0.1751, allocations: 424.3 kB / 323 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006638/0.1758, allocations: 233.7 kB / 323.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.1794, allocations: 2.9 MB / 326.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.1798, allocations: 0.5163 MB / 326.6 MB, free: 11.03 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003149/0.1801, allocations: 166.9 kB / 326.8 MB, free: 10.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.1802, allocations: 64.48 kB / 326.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1802, allocations: 0 / 326.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of Templates: time 0.01608/0.1963, allocations: 12.21 MB / 339.1 MB, free: 14.86 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0344895399175584]