Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 145.1 kB / 24.54 MB, free: 40 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.956/0.956, allocations: 173.4 MB / 201.1 MB, free: 9.348 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.979e-05, allocations: 6.25 kB / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.006838/0.006858, allocations: 5.829 MB / 273.8 MB, free: 0.582 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002788/0.009645, allocations: 1.639 MB / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005547/0.0102, allocations: 63.62 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.01077, allocations: 317.4 kB / 275.8 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00114/0.01191, allocations: 393.1 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006835/0.01259, allocations: 367.3 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002006/0.0146, allocations: 2.067 MB / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.01677, allocations: 1.556 MB / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002317/0.01909, allocations: 1.614 MB / 281.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.02059, allocations: 1.169 MB / 283 MB, free: 7.332 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004898/0.02108, allocations: 308 kB / 283.3 MB, free: 7.031 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006017/0.02169, allocations: 463.5 kB / 283.7 MB, free: 6.578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004594/0.02214, allocations: 0.7635 MB / 284.5 MB, free: 5.812 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008919/0.02304, allocations: 0.881 MB / 285.4 MB, free: 4.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001695/0.02473, allocations: 2.095 MB / 287.5 MB, free: 2.828 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.02474, allocations: 0 / 287.5 MB, free: 2.828 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.02474, allocations: 0 / 287.5 MB, free: 2.828 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.714e-05/0.02479, allocations: 0 / 287.5 MB, free: 2.828 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.002836/0.02763, allocations: 2.612 MB / 290.1 MB, free: 168 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.02767, allocations: 8.922 kB / 290.1 MB, free: 160 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.118/0.1457, allocations: 437.5 kB / 290.5 MB, free: 24.75 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001689/0.1474, allocations: 1.171 MB / 291.7 MB, free: 24.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.1475, allocations: 170.7 kB / 291.9 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002605/0.1477, allocations: 221.8 kB / 292.1 MB, free: 24.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002452/0.1502, allocations: 1.353 MB / 293.4 MB, free: 24.28 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.1502, allocations: 0 / 293.4 MB, free: 24.28 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.1503, allocations: 96.44 kB / 293.5 MB, free: 24.27 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-05/0.1504, allocations: 58.81 kB / 293.6 MB, free: 24.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.1518, allocations: 0.6946 MB / 294.3 MB, free: 24.23 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007287/0.1591, allocations: 6.113 MB / 300.4 MB, free: 21.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000554/0.1597, allocations: 450.5 kB / 300.8 MB, free: 21.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.1601, allocations: 354.2 kB / 301.2 MB, free: 21.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.1602, allocations: 15.56 kB / 301.2 MB, free: 21.45 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1602, allocations: 40.64 kB / 301.2 MB, free: 21.4 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.584e-06/0.1602, allocations: 0 / 301.2 MB, free: 21.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.002009/0.1622, allocations: 1.442 MB / 302.7 MB, free: 20.69 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.171e-05/0.1622, allocations: 58.94 kB / 302.7 MB, free: 20.62 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005523/0.1628, allocations: 0.7047 MB / 303.4 MB, free: 20.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.1628, allocations: 33.7 kB / 303.5 MB, free: 20.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.1631, allocations: 1.013 MB / 304.5 MB, free: 19.46 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.607e-05/0.1632, allocations: 243.1 kB / 304.7 MB, free: 19.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.1634, allocations: 149 kB / 304.9 MB, free: 19.19 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1635, allocations: 0.5843 MB / 305.4 MB, free: 18.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.1636, allocations: 116 kB / 305.6 MB, free: 18.63 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002832/0.1639, allocations: 446.9 kB / 306 MB, free: 18.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.1644, allocations: 0.6077 MB / 306.6 MB, free: 17.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1644, allocations: 3.562 kB / 306.6 MB, free: 17.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0007512/0.1651, allocations: 0.6819 MB / 307.3 MB, free: 17.51 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.1652, allocations: 6.875 kB / 307.3 MB, free: 17.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1652, allocations: 9.109 kB / 307.3 MB, free: 17.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00024/0.1654, allocations: 73.38 kB / 307.4 MB, free: 17.49 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003726/0.1658, allocations: 168.5 kB / 307.5 MB, free: 17.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.1669, allocations: 2.337 MB / 309.9 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.1671, allocations: 37.08 kB / 309.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/0.1671, allocations: 33.59 kB / 309.9 MB, free: 15.32 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.0002162/0.1673, allocations: 209.8 kB / 310.1 MB, free: 15.13 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.1675, allocations: 103.1 kB / 310.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.419e-05/0.1675, allocations: 90.98 kB / 310.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-05/0.1676, allocations: 7.562 kB / 310.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.1676, allocations: 2.156 kB / 310.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-06/0.1676, allocations: 3.656 kB / 310.4 MB, free: 15.02 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.1695, allocations: 1.959 MB / 312.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1695, allocations: 0 / 312.3 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.1698, allocations: 99.69 kB / 312.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/0.1699, allocations: 75.22 kB / 312.5 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.1699, allocations: 25.95 kB / 312.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008218/0.1708, allocations: 2.297 MB / 314.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1708, allocations: 4 kB / 314.8 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000714/0.1715, allocations: 0.8106 MB / 315.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.1716, allocations: 145 kB / 315.8 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/0.1717, allocations: 12 kB / 315.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.1719, allocations: 44.02 kB / 315.8 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.172, allocations: 56.06 kB / 315.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.172, allocations: 20 kB / 315.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002714/0.1723, allocations: 434.9 kB / 316.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1723, allocations: 0 / 316.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000646/0.1729, allocations: 300 kB / 316.6 MB, free: 9.301 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.0001874/0.1731, allocations: 136 kB / 316.7 MB, free: 9.164 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006468/0.1737, allocations: 0.6517 MB / 317.4 MB, free: 8.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1737, allocations: 5.672 kB / 317.4 MB, free: 8.516 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.174, allocations: 427.7 kB / 317.8 MB, free: 8.094 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005737/0.1746, allocations: 215.6 kB / 318 MB, free: 7.887 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.1774, allocations: 2.898 MB / 320.9 MB, free: 4.922 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1776, allocations: 0.5162 MB / 321.4 MB, free: 4.379 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002545/0.1779, allocations: 166.8 kB / 321.6 MB, free: 4.211 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.178, allocations: 59.97 kB / 321.7 MB, free: 4.156 MB / 266.7 MB Notification: Performance of SimCode: time 6.51e-07/0.178, allocations: 0 / 321.7 MB, free: 4.156 MB / 266.7 MB Notification: Performance of Templates: time 0.01645/0.1944, allocations: 12.26 MB / 333.9 MB, free: 8.156 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1574112554080784]