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.001862/0.001862, allocations: 74.25 kB / 21.24 MB, free: 0.5469 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.002374/0.002374, allocations: 161.3 kB / 24.5 MB, free: 3.715 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.503/1.503, allocations: 177.2 MB / 204.9 MB, free: 9.031 MB / 190.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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..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.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 55.89 kB / 325.6 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09665/0.09824, allocations: 53.34 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008338/0.1066, allocations: 5.352 MB / 384.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003553/0.1101, allocations: 1.643 MB / 385.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007684/0.1109, allocations: 63.62 kB / 386 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006973/0.1116, allocations: 329.4 kB / 386.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.1128, allocations: 373.5 kB / 386.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007078/0.1135, allocations: 367.5 kB / 387 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002195/0.1157, allocations: 2.013 MB / 389 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002082/0.1177, allocations: 1.548 MB / 390.6 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.1191, allocations: 1.071 MB / 391.6 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.1207, allocations: 1.148 MB / 392.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004007/0.1211, allocations: 312 kB / 393.1 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008078/0.1219, allocations: 451.7 kB / 393.5 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00069/0.1226, allocations: 0.7402 MB / 394.3 MB, free: 184 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001115/0.1237, allocations: 1.016 MB / 395.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003859/0.1275, allocations: 3.823 MB / 399.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1275, allocations: 0 / 399.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1275, allocations: 3.938 kB / 399.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.445e-05/0.1276, allocations: 0 / 399.1 MB, free: 11.32 MB / 366.1 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.00553/0.1331, allocations: 2.458 MB / 401.6 MB, free: 8.816 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1332, allocations: 8.031 kB / 401.6 MB, free: 8.809 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008173/0.134, allocations: 275.4 kB / 401.8 MB, free: 8.539 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/0.1362, allocations: 1.27 MB / 403.1 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001388/0.1364, allocations: 164.9 kB / 403.3 MB, free: 7.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003175/0.1367, allocations: 224.1 kB / 403.5 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004431/0.1411, allocations: 2.613 MB / 406.1 MB, free: 4.168 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.621e-05/0.1412, allocations: 8 kB / 406.1 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002009/0.1414, allocations: 92 kB / 406.2 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-05/0.1415, allocations: 56 kB / 406.3 MB, free: 4.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00369/0.1451, allocations: 2.137 MB / 408.4 MB, free: 1.863 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.156, allocations: 6.403 MB / 414.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.1571, allocations: 0.6913 MB / 415.5 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.1583, allocations: 0.5872 MB / 416.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.1583, allocations: 8.5 kB / 416.1 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.1583, allocations: 43.06 kB / 416.1 MB, free: 9.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.735e-06/0.1583, allocations: 4 kB / 416.1 MB, free: 9.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004279/0.1626, allocations: 2.371 MB / 418.5 MB, free: 7.488 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.1627, allocations: 64.06 kB / 418.6 MB, free: 7.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.1637, allocations: 0.7853 MB / 419.4 MB, free: 6.617 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.18e-05/0.1638, allocations: 33.7 kB / 419.4 MB, free: 6.578 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007046/0.1645, allocations: 0.9557 MB / 420.3 MB, free: 5.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000201/0.1647, allocations: 234 kB / 420.6 MB, free: 5.379 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.1649, allocations: 150.6 kB / 420.7 MB, free: 5.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.1652, allocations: 390.7 kB / 421.1 MB, free: 4.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006255/0.1658, allocations: 361.8 kB / 421.5 MB, free: 4.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008182/0.1666, allocations: 0.5869 MB / 422 MB, free: 3.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001474/0.1681, allocations: 0.9833 MB / 423 MB, free: 2.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.1681, allocations: 4 kB / 423 MB, free: 2.715 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001982/0.1701, allocations: 1.15 MB / 424.2 MB, free: 1.555 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.1701, allocations: 8 kB / 424.2 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/0.1701, allocations: 15.92 kB / 424.2 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003003/0.1704, allocations: 112.7 kB / 424.3 MB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007074/0.1711, allocations: 175.9 kB / 424.5 MB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002593/0.1737, allocations: 2.18 MB / 426.7 MB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005068/0.1742, allocations: 39.97 kB / 426.7 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.831e-05/0.1743, allocations: 28 kB / 426.7 MB, free: 14.9 MB / 398.1 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.001026/0.1753, allocations: 0.6653 MB / 427.4 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.1755, allocations: 79.48 kB / 427.5 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.1757, allocations: 103.5 kB / 427.6 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.872e-05/0.1758, allocations: 11.94 kB / 427.6 MB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.1758, allocations: 0 / 427.6 MB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.1758, allocations: 3.984 kB / 427.6 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004298/0.1801, allocations: 2.224 MB / 429.8 MB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1801, allocations: 160 / 429.8 MB, free: 11.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004835/0.1806, allocations: 111.9 kB / 429.9 MB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/0.1808, allocations: 100.9 kB / 430 MB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/0.1809, allocations: 19.98 kB / 430 MB, free: 11.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002279/0.1831, allocations: 2.121 MB / 432.2 MB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.1831, allocations: 0 / 432.2 MB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002241/0.1854, allocations: 1.415 MB / 433.6 MB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003689/0.1857, allocations: 163.5 kB / 433.7 MB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.1858, allocations: 12.06 kB / 433.7 MB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.1863, allocations: 43.95 kB / 433.8 MB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.1864, allocations: 52.34 kB / 433.8 MB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.1865, allocations: 19.94 kB / 433.9 MB, free: 7.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007714/0.1872, allocations: 0.5497 MB / 434.4 MB, free: 7.004 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1872, allocations: 0 / 434.4 MB, free: 7.004 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001091/0.1883, allocations: 303.9 kB / 434.7 MB, free: 6.707 MB / 398.1 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.0002528/0.1886, allocations: 134.2 kB / 434.8 MB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.1904, allocations: 0.9721 MB / 435.8 MB, free: 5.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1904, allocations: 3.938 kB / 435.8 MB, free: 5.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009377/0.1913, allocations: 0.5401 MB / 436.4 MB, free: 5.031 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.1924, allocations: 211.9 kB / 436.6 MB, free: 4.828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005843/0.1983, allocations: 3.281 MB / 439.8 MB, free: 1.496 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/0.1997, allocations: 1.156 MB / 441 MB, free: 304 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005803/0.2003, allocations: 202.9 kB / 441.2 MB, free: 96 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.2005, allocations: 60.5 kB / 441.3 MB, free: 36 kB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2005, allocations: 7.938 kB / 441.3 MB, free: 28 kB / 398.1 MB Notification: Performance of Templates: time 0.02547/0.226, allocations: 12.28 MB / 453.5 MB, free: 3.953 MB / 414.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.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: 4.679498684010468]