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.0009862/0.0009862, 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.000934/0.000934, allocations: 145.1 kB / 24.54 MB, free: 36 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.9234/0.9234, allocations: 173.4 MB / 201.1 MB, free: 9.352 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.603e-06/1.603e-06, allocations: 0 / 268 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.277e-05/1.438e-05, allocations: 2.312 kB / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.0053/0.005314, allocations: 5.834 MB / 273.8 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.008061, allocations: 1.635 MB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004488/0.008509, allocations: 59.62 kB / 275.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004442/0.008954, allocations: 325.4 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009507/0.009904, allocations: 389.1 kB / 276.2 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005706/0.01047, allocations: 363.3 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.01221, allocations: 2.078 MB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.01358, allocations: 1.552 MB / 280.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00129/0.01487, allocations: 1.614 MB / 281.8 MB, free: 8.516 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.01598, allocations: 1.161 MB / 283 MB, free: 7.352 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003314/0.01632, allocations: 308 kB / 283.3 MB, free: 7.051 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005061/0.01682, allocations: 463.5 kB / 283.7 MB, free: 6.598 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004282/0.01725, allocations: 0.7597 MB / 284.5 MB, free: 5.836 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.01827, allocations: 0.8849 MB / 285.4 MB, free: 4.949 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.01982, allocations: 2.091 MB / 287.5 MB, free: 2.852 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.01982, allocations: 3.984 kB / 287.5 MB, free: 2.848 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.01982, allocations: 0 / 287.5 MB, free: 2.848 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.734e-05/0.01986, allocations: 0 / 287.5 MB, free: 2.848 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.002712/0.02257, allocations: 2.6 MB / 290.1 MB, free: 200 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.02261, allocations: 12.92 kB / 290.1 MB, free: 188 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1081/0.1307, allocations: 440.7 kB / 290.5 MB, free: 29.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.132, allocations: 1.141 MB / 291.7 MB, free: 28.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.854e-05/0.1321, allocations: 164.9 kB / 291.8 MB, free: 28.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.1322, allocations: 221.8 kB / 292 MB, free: 28.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002032/0.1343, allocations: 1.359 MB / 293.4 MB, free: 28.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.1343, allocations: 7.141 kB / 293.4 MB, free: 28.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.1344, allocations: 96.62 kB / 293.5 MB, free: 28.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.215e-05/0.1345, allocations: 56.41 kB / 293.5 MB, free: 28.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00125/0.1357, allocations: 0.6896 MB / 294.2 MB, free: 28.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006098/0.1418, allocations: 6.108 MB / 300.3 MB, free: 25.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.1423, allocations: 450.2 kB / 300.8 MB, free: 25.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004533/0.1428, allocations: 360.7 kB / 301.1 MB, free: 25.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.308e-05/0.1428, allocations: 10.75 kB / 301.1 MB, free: 25.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.1428, allocations: 45.05 kB / 301.2 MB, free: 25.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.425e-06/0.1428, allocations: 0 / 301.2 MB, free: 25.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001726/0.1446, allocations: 1.439 MB / 302.6 MB, free: 24.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.816e-05/0.1446, allocations: 57.62 kB / 302.7 MB, free: 24.58 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005148/0.1451, allocations: 0.7049 MB / 303.4 MB, free: 24.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.1451, allocations: 36.45 kB / 303.4 MB, free: 24.19 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.1454, allocations: 1.007 MB / 304.4 MB, free: 23.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.997e-05/0.1455, allocations: 248.2 kB / 304.7 MB, free: 23.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.1456, allocations: 152.1 kB / 304.8 MB, free: 23.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1457, allocations: 0.5795 MB / 305.4 MB, free: 22.6 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.1459, allocations: 117 kB / 305.5 MB, free: 22.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.1461, allocations: 443 kB / 305.9 MB, free: 22.17 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.1466, allocations: 0.6181 MB / 306.6 MB, free: 21.65 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.1466, allocations: 3.812 kB / 306.6 MB, free: 21.65 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0006869/0.1473, allocations: 0.6753 MB / 307.2 MB, free: 21.39 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1473, allocations: 10.41 kB / 307.3 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1473, allocations: 3.75 kB / 307.3 MB, free: 21.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.1475, allocations: 75.69 kB / 307.3 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003474/0.1478, allocations: 169.5 kB / 307.5 MB, free: 21.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000964/0.1488, allocations: 2.34 MB / 309.8 MB, free: 19.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.149, allocations: 39.97 kB / 309.9 MB, free: 19.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.843e-05/0.1491, allocations: 35.77 kB / 309.9 MB, free: 19.01 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.0002098/0.1493, allocations: 204.3 kB / 310.1 MB, free: 18.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.1494, allocations: 103.5 kB / 310.2 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.009e-05/0.1494, allocations: 95.33 kB / 310.3 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.1495, allocations: 8 kB / 310.3 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.1495, allocations: 4 kB / 310.3 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1495, allocations: 3.984 kB / 310.3 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.1512, allocations: 1.948 MB / 312.3 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1512, allocations: 4 kB / 312.3 MB, free: 16.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.1515, allocations: 103.8 kB / 312.4 MB, free: 16.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001345/0.1516, allocations: 75.75 kB / 312.4 MB, free: 16.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.1516, allocations: 16 kB / 312.5 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000768/0.1524, allocations: 2.294 MB / 314.8 MB, free: 13.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1524, allocations: 7.984 kB / 314.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006961/0.1531, allocations: 0.8183 MB / 315.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.1532, allocations: 135.4 kB / 315.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.16e-05/0.1533, allocations: 23.98 kB / 315.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.1535, allocations: 35.97 kB / 315.8 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/0.1535, allocations: 52.39 kB / 315.8 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.1536, allocations: 16 kB / 315.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002685/0.1538, allocations: 435 kB / 316.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1538, allocations: 0 / 316.3 MB, free: 12.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005782/0.1544, allocations: 300 kB / 316.6 MB, free: 12.13 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.0001708/0.1546, allocations: 145.9 kB / 316.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006461/0.1552, allocations: 0.6388 MB / 317.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1552, allocations: 0 / 317.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000315/0.1555, allocations: 438.9 kB / 317.8 MB, free: 10.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/0.1561, allocations: 219 kB / 318 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00274/0.1589, allocations: 2.894 MB / 320.9 MB, free: 7.703 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.1592, allocations: 0.5162 MB / 321.4 MB, free: 7.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002735/0.1594, allocations: 162.9 kB / 321.6 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.1595, allocations: 64.48 kB / 321.6 MB, free: 6.934 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1595, allocations: 0 / 321.6 MB, free: 6.934 MB / 266.7 MB Notification: Performance of Templates: time 0.01582/0.1754, allocations: 12.97 MB / 334.6 MB, free: 10.22 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: 2.8883145414292812]