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.001317/0.001317, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001534/0.001534, allocations: 172.7 kB / 24.91 MB, free: 9.195 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 0.9601/0.9601, allocations: 177.1 MB / 205.3 MB, free: 5.5 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 2.655e-06/2.655e-06, allocations: 7.938 kB / 273.4 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.365e-05, allocations: 2.312 kB / 273.4 MB, free: 1.32 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007659/0.007683, allocations: 5.717 MB / 279.2 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004427/0.01211, allocations: 1.743 MB / 280.9 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009069/0.01302, allocations: 63.62 kB / 281 MB, free: 9.758 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007555/0.01377, allocations: 321.4 kB / 281.3 MB, free: 9.441 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.01528, allocations: 397 kB / 281.7 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008556/0.01614, allocations: 371.4 kB / 282 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002399/0.01854, allocations: 2.082 MB / 284.1 MB, free: 6.598 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002286/0.02082, allocations: 1.591 MB / 285.7 MB, free: 4.926 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.02331, allocations: 1.626 MB / 287.3 MB, free: 3.297 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.02444, allocations: 1.169 MB / 288.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002697/0.02471, allocations: 308 kB / 288.8 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004909/0.0252, allocations: 451.6 kB / 289.2 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004239/0.02562, allocations: 0.7714 MB / 290 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.09734/0.123, allocations: 0.8752 MB / 290.9 MB, free: 18.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002018/0.125, allocations: 2.094 MB / 293 MB, free: 18.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.125, allocations: 1.062 kB / 293 MB, free: 18.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.125, allocations: 0 / 293 MB, free: 18.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.847e-05/0.125, allocations: 0 / 293 MB, free: 18.25 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.002727/0.1278, allocations: 2.339 MB / 295.3 MB, free: 17.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.1278, allocations: 10.31 kB / 295.3 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006766/0.1285, allocations: 382.8 kB / 295.7 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.1295, allocations: 0.7788 MB / 296.5 MB, free: 17 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.389e-05/0.1296, allocations: 170.5 kB / 296.7 MB, free: 16.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.1298, allocations: 220.3 kB / 296.9 MB, free: 16.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.1313, allocations: 1.364 MB / 298.2 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.1314, allocations: 0 / 298.2 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.1315, allocations: 97.42 kB / 298.3 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.908e-05/0.1316, allocations: 56.97 kB / 298.4 MB, free: 16.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007211/0.1323, allocations: 463.5 kB / 298.8 MB, free: 16.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004546/0.1368, allocations: 4.647 MB / 303.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.1372, allocations: 410.4 kB / 303.9 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/0.1375, allocations: 300.4 kB / 304.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.1375, allocations: 18.31 kB / 304.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.1375, allocations: 40.56 kB / 304.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 3.005e-06/0.1375, allocations: 2.531 kB / 304.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001132/0.1387, allocations: 1.004 MB / 305.2 MB, free: 13.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.501e-05/0.1387, allocations: 61.06 kB / 305.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.139, allocations: 0.5666 MB / 305.9 MB, free: 13.65 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.139, allocations: 36.52 kB / 305.9 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00019/0.1392, allocations: 0.8632 MB / 306.8 MB, free: 13 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.462e-05/0.1393, allocations: 238.3 kB / 307 MB, free: 12.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.1394, allocations: 137 kB / 307.1 MB, free: 12.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.701e-05/0.1394, allocations: 398.3 kB / 307.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/0.1395, allocations: 94.44 kB / 307.6 MB, free: 12.44 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1397, allocations: 305.2 kB / 307.9 MB, free: 12.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.14, allocations: 490.4 kB / 308.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.14, allocations: 0 / 308.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0004429/0.1404, allocations: 0.4948 MB / 308.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1404, allocations: 7.438 kB / 308.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1404, allocations: 8.281 kB / 308.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00015/0.1406, allocations: 71.72 kB / 309 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.1409, allocations: 161.4 kB / 309.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007084/0.1416, allocations: 1.67 MB / 310.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.1418, allocations: 31.36 kB / 310.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.1418, allocations: 28 kB / 310.9 MB, free: 10.29 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.0001865/0.142, allocations: 164.3 kB / 311 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-05/0.1421, allocations: 69.78 kB / 311.1 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.346e-05/0.1421, allocations: 90.25 kB / 311.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.1422, allocations: 17.19 kB / 311.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1422, allocations: 0 / 311.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1422, allocations: 2.203 kB / 311.2 MB, free: 10.06 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.1436, allocations: 1.574 MB / 312.8 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1436, allocations: 3.156 kB / 312.8 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.1438, allocations: 92.8 kB / 312.9 MB, free: 9.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.1439, allocations: 62.77 kB / 312.9 MB, free: 9.363 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.1439, allocations: 24.09 kB / 312.9 MB, free: 9.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006189/0.1445, allocations: 1.661 MB / 314.6 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1445, allocations: 7.406 kB / 314.6 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.145, allocations: 0.637 MB / 315.3 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.1451, allocations: 99.45 kB / 315.3 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.1452, allocations: 14.73 kB / 315.4 MB, free: 6.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.1453, allocations: 23.98 kB / 315.4 MB, free: 6.816 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.1454, allocations: 48.34 kB / 315.4 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.1454, allocations: 12 kB / 315.4 MB, free: 6.758 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001519/0.1456, allocations: 262.3 kB / 315.7 MB, free: 6.535 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1456, allocations: 4.031 kB / 315.7 MB, free: 6.531 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005119/0.1461, allocations: 307.9 kB / 316 MB, free: 6.23 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.0001559/0.1462, allocations: 121 kB / 316.1 MB, free: 6.113 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004616/0.1467, allocations: 0.5033 MB / 316.6 MB, free: 5.633 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.1467, allocations: 11.59 kB / 316.6 MB, free: 5.625 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.1469, allocations: 330.8 kB / 317 MB, free: 5.312 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004916/0.1474, allocations: 217.7 kB / 317.2 MB, free: 5.105 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.1499, allocations: 2.846 MB / 320 MB, free: 2.211 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.1502, allocations: 432.7 kB / 320.4 MB, free: 1.762 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.1504, allocations: 107 kB / 320.5 MB, free: 1.652 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.1507, allocations: 245.2 kB / 320.8 MB, free: 1.414 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1507, allocations: 3.75 kB / 320.8 MB, free: 1.414 MB / 266.7 MB Notification: Performance of Templates: time 0.01762/0.1683, allocations: 13.06 MB / 333.9 MB, free: 4.68 MB / 282.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: 2.7945775003172457]