Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001102/0.001102, allocations: 85.05 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.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.0009674/0.0009674, allocations: 142.6 kB / 24.89 MB, free: 8.785 MB / 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.9398/0.9398, allocations: 173.4 MB / 201.5 MB, free: 8.754 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.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 268.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.17e-05/1.284e-05, allocations: 2.312 kB / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.009274/0.009287, allocations: 11.95 MB / 280.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.01139, allocations: 1.95 MB / 282.4 MB, free: 8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.01151, allocations: 7.938 kB / 282.4 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.01182, allocations: 107.3 kB / 282.5 MB, free: 7.887 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004423/0.01226, allocations: 373.7 kB / 282.9 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002217/0.01448, allocations: 1.329 MB / 284.2 MB, free: 6.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006489/0.01513, allocations: 0.9377 MB / 285.2 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.01525, allocations: 66.86 kB / 285.2 MB, free: 5.176 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003439/0.01869, allocations: 4.225 MB / 289.5 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.01893, allocations: 235.3 kB / 289.7 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.01896, allocations: 28 kB / 289.7 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09557/0.1145, allocations: 0.7173 MB / 290.4 MB, free: 20.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.1147, allocations: 100.7 kB / 290.5 MB, free: 20.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.1149, allocations: 145.2 kB / 290.7 MB, free: 20.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.1161, allocations: 0.7556 MB / 291.4 MB, free: 20.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1161, allocations: 0 / 291.4 MB, free: 20.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.1161, allocations: 0 / 291.4 MB, free: 20.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1161, allocations: 3.875 kB / 291.4 MB, free: 20.02 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006141/0.1167, allocations: 0.5374 MB / 292 MB, free: 19.69 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.1167, allocations: 11.14 kB / 292 MB, free: 19.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003405/0.1171, allocations: 131.8 kB / 292.1 MB, free: 19.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.1173, allocations: 202.9 kB / 292.3 MB, free: 19.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.1173, allocations: 20.44 kB / 292.3 MB, free: 19.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.1173, allocations: 28.38 kB / 292.4 MB, free: 19.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.1176, allocations: 414.6 kB / 292.8 MB, free: 19.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1176, allocations: 5.047 kB / 292.8 MB, free: 19.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/0.1176, allocations: 16.78 kB / 292.8 MB, free: 19.19 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1176, allocations: 16.48 kB / 292.8 MB, free: 19.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.1177, allocations: 95.34 kB / 292.9 MB, free: 19.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005239/0.123, allocations: 3.731 MB / 296.6 MB, free: 18.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.1231, allocations: 100.5 kB / 296.7 MB, free: 18.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.742e-05/0.1232, allocations: 45.97 kB / 296.8 MB, free: 18.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004207/0.1274, allocations: 2.49 MB / 299.3 MB, free: 17.91 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.1274, allocations: 37.72 kB / 299.3 MB, free: 17.88 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.402e-06/0.1274, allocations: 0 / 299.3 MB, free: 17.88 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0031/0.1305, allocations: 1.116 MB / 300.4 MB, free: 17.65 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.457e-05/0.1305, allocations: 58.16 kB / 300.5 MB, free: 17.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/0.1306, allocations: 218.3 kB / 300.7 MB, free: 17.47 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.1306, allocations: 29.95 kB / 300.7 MB, free: 17.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.353e-05/0.1307, allocations: 186 kB / 300.9 MB, free: 17.3 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.1307, allocations: 97.61 kB / 301 MB, free: 17.23 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.1307, allocations: 68.41 kB / 301.1 MB, free: 17.21 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.162e-05/0.1308, allocations: 338.2 kB / 301.4 MB, free: 16.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.968e-05/0.1308, allocations: 32.67 kB / 301.4 MB, free: 16.9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.1309, allocations: 133.7 kB / 301.5 MB, free: 16.79 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.131, allocations: 202.2 kB / 301.7 MB, free: 16.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.131, allocations: 0 / 301.7 MB, free: 16.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0002575/0.1313, allocations: 234.2 kB / 302 MB, free: 16.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1313, allocations: 6.438 kB / 302 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.1313, allocations: 6.547 kB / 302 MB, free: 16.62 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/0.133, allocations: 0.9307 MB / 302.9 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.1332, allocations: 76.58 kB / 303 MB, free: 16.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005363/0.1337, allocations: 1.709 MB / 304.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.378e-05/0.1338, allocations: 7.281 kB / 304.7 MB, free: 14.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.1338, allocations: 19.5 kB / 304.7 MB, free: 14.91 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 7.403e-05/0.1339, allocations: 129.2 kB / 304.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.363e-05/0.1339, allocations: 30.11 kB / 304.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.1342, allocations: 313.8 kB / 305.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.1342, allocations: 6.984 kB / 305.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1342, allocations: 0 / 305.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001782/0.1344, allocations: 0.5018 MB / 305.7 MB, free: 14.21 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004491/0.1348, allocations: 0.5623 MB / 306.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.1348, allocations: 2.75 kB / 306.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.1349, allocations: 51.36 kB / 306.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006665/0.1356, allocations: 286.5 kB / 306.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1356, allocations: 7.547 kB / 306.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001375/0.1358, allocations: 0.5488 MB / 307.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1358, allocations: 0 / 307.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/0.136, allocations: 441.6 kB / 307.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.068e-05/0.136, allocations: 31.56 kB / 307.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.1361, allocations: 11.58 kB / 307.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.1361, allocations: 3.812 kB / 307.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.1362, allocations: 15.69 kB / 307.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1362, allocations: 7.625 kB / 307.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.119e-05/0.1362, allocations: 70.44 kB / 307.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.1362, allocations: 4.062 kB / 307.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00034/0.1365, allocations: 186.2 kB / 307.9 MB, free: 13.01 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003645/0.1369, allocations: 276.8 kB / 308.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002996/0.1372, allocations: 314.2 kB / 308.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.1372, allocations: 0 / 308.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.1374, allocations: 139.8 kB / 308.6 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.1378, allocations: 134.8 kB / 308.7 MB, free: 12.65 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008239/0.1386, allocations: 0.6671 MB / 309.4 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.748e-05/0.1386, allocations: 99.11 kB / 309.5 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.1387, allocations: 35.81 kB / 309.5 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.1389, allocations: 146.1 kB / 309.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1389, allocations: 0 / 309.7 MB, free: 12.07 MB / 266.7 MB Notification: Performance of Templates: time 0.009591/0.1485, allocations: 10.54 MB / 320.2 MB, free: 2.836 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.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.148695159237832]