Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001185/0.001185, allocations: 159.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.009/1.009, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.468e-05, allocations: 5.266 kB / 273.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.004817/0.004832, allocations: 5.766 MB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002618/0.00745, allocations: 1.759 MB / 280.9 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.007892, allocations: 67.62 kB / 281 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005087/0.008401, allocations: 317.5 kB / 281.3 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.009512, allocations: 400.9 kB / 281.7 MB, free: 8.676 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007846/0.0103, allocations: 363.5 kB / 282.1 MB, free: 8.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.01162, allocations: 2.09 MB / 284.2 MB, free: 6.223 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001306/0.01293, allocations: 1.591 MB / 285.8 MB, free: 4.551 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.01416, allocations: 1.634 MB / 287.4 MB, free: 2.914 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.01525, allocations: 1.173 MB / 288.6 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002714/0.01552, allocations: 308 kB / 288.9 MB, free: 1.438 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000775/0.01629, allocations: 463.6 kB / 289.3 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004065/0.0167, allocations: 0.7675 MB / 290.1 MB, free: 220 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1222/0.1389, allocations: 0.8842 MB / 291 MB, free: 18.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.142, allocations: 2.099 MB / 293.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.142, allocations: 0 / 293.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.142, allocations: 0 / 293.1 MB, free: 18.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.662e-05/0.1421, allocations: 1.156 kB / 293.1 MB, free: 18.29 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.003956/0.1461, allocations: 2.342 MB / 295.4 MB, free: 17.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1461, allocations: 13.11 kB / 295.4 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000905/0.147, allocations: 385.4 kB / 295.8 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.1484, allocations: 0.785 MB / 296.6 MB, free: 17.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.1485, allocations: 165.3 kB / 296.7 MB, free: 17.03 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002797/0.1488, allocations: 222.7 kB / 297 MB, free: 17.03 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.1511, allocations: 1.368 MB / 298.3 MB, free: 16.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.251e-05/0.1512, allocations: 1.094 kB / 298.3 MB, free: 16.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001795/0.1513, allocations: 93.25 kB / 298.4 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.492e-05/0.1514, allocations: 91.56 kB / 298.5 MB, free: 16.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.1525, allocations: 465.8 kB / 299 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00657/0.1591, allocations: 4.672 MB / 303.6 MB, free: 14.42 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/0.1596, allocations: 419.2 kB / 304 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004514/0.16, allocations: 304.9 kB / 304.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.1601, allocations: 11.91 kB / 304.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.1601, allocations: 45.91 kB / 304.4 MB, free: 14.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 3.296e-06/0.1601, allocations: 4 kB / 304.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001589/0.1617, allocations: 0.9991 MB / 305.4 MB, free: 13.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.1617, allocations: 59.81 kB / 305.5 MB, free: 13.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004356/0.1621, allocations: 0.5667 MB / 306 MB, free: 13.5 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.183e-05/0.1622, allocations: 37.39 kB / 306.1 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.1624, allocations: 0.8682 MB / 306.9 MB, free: 12.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.1625, allocations: 242.6 kB / 307.2 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.1627, allocations: 139.7 kB / 307.3 MB, free: 12.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.1628, allocations: 394.3 kB / 307.7 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.1629, allocations: 90.25 kB / 307.8 MB, free: 12.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.1631, allocations: 303 kB / 308.1 MB, free: 12.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004237/0.1635, allocations: 490.6 kB / 308.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1635, allocations: 0 / 308.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006766/0.1642, allocations: 0.5039 MB / 309.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.1642, allocations: 6.688 kB / 309.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.1642, allocations: 6.562 kB / 309.1 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001963/0.1644, allocations: 70.8 kB / 309.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/0.1649, allocations: 169.8 kB / 309.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009874/0.1659, allocations: 1.685 MB / 311 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.1662, allocations: 22.22 kB / 311 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.763e-05/0.1662, allocations: 23.78 kB / 311 MB, free: 10.13 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.0002744/0.1665, allocations: 168 kB / 311.2 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.1666, allocations: 68.03 kB / 311.3 MB, free: 9.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.1667, allocations: 95.8 kB / 311.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.1668, allocations: 10 kB / 311.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1668, allocations: 0 / 311.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.1668, allocations: 7.125 kB / 311.4 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.1687, allocations: 1.566 MB / 312.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.1687, allocations: 7.219 kB / 312.9 MB, free: 9.246 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.169, allocations: 110 kB / 313.1 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001489/0.1692, allocations: 66.05 kB / 313.1 MB, free: 9.082 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.1692, allocations: 16 kB / 313.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008728/0.1701, allocations: 1.669 MB / 314.8 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1701, allocations: 0 / 314.8 MB, free: 7.328 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006677/0.1707, allocations: 0.6371 MB / 315.4 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.1709, allocations: 96.52 kB / 315.5 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.413e-05/0.171, allocations: 15.12 kB / 315.6 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.1712, allocations: 31.92 kB / 315.6 MB, free: 6.535 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.1713, allocations: 47.8 kB / 315.6 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.1714, allocations: 15.98 kB / 315.6 MB, free: 6.477 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002354/0.1716, allocations: 266 kB / 315.9 MB, free: 6.254 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1716, allocations: 0 / 315.9 MB, free: 6.254 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000806/0.1724, allocations: 296 kB / 316.2 MB, free: 5.965 MB / 266.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.000196/0.1726, allocations: 123.6 kB / 316.3 MB, free: 5.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006322/0.1732, allocations: 0.5017 MB / 316.8 MB, free: 5.363 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/0.1733, allocations: 8.5 kB / 316.8 MB, free: 5.355 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.1736, allocations: 327.9 kB / 317.1 MB, free: 5.039 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007256/0.1743, allocations: 224.9 kB / 317.4 MB, free: 4.836 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/0.178, allocations: 2.858 MB / 320.2 MB, free: 1.934 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1783, allocations: 432.7 kB / 320.6 MB, free: 1.484 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002905/0.1786, allocations: 101.5 kB / 320.7 MB, free: 1.383 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004425/0.1791, allocations: 247.6 kB / 321 MB, free: 1.145 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.1791, allocations: 0 / 321 MB, free: 1.145 MB / 266.7 MB Notification: Performance of Templates: time 0.0222/0.2013, allocations: 13.06 MB / 334 MB, free: 4.398 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.9112436212599277]