Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.0009382/0.0009382, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001457/0.001457, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9339/0.9339, allocations: 177.1 MB / 205 MB, free: 5.613 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.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.74e-05, allocations: 2.312 kB / 273 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.008692/0.008709, allocations: 11.98 MB / 285 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.01041, allocations: 1.943 MB / 286.9 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.01055, allocations: 7.938 kB / 286.9 MB, free: 3.535 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.0109, allocations: 111.3 kB / 287 MB, free: 3.426 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004678/0.01136, allocations: 373.7 kB / 287.4 MB, free: 3.059 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002392/0.01376, allocations: 1.368 MB / 288.8 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007553/0.01451, allocations: 0.9415 MB / 289.7 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.01466, allocations: 68.89 kB / 289.8 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1071/0.1218, allocations: 4.24 MB / 294 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.1221, allocations: 257.9 kB / 294.3 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.1221, allocations: 35.19 kB / 294.3 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.1231, allocations: 0.6771 MB / 295 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.1232, allocations: 100.4 kB / 295.1 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.1234, allocations: 148.1 kB / 295.2 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000921/0.1243, allocations: 0.7573 MB / 296 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1243, allocations: 0 / 296 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1243, allocations: 0 / 296 MB, free: 15.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1243, allocations: 0 / 296 MB, free: 15.91 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.000724/0.125, allocations: 0.6692 MB / 296.6 MB, free: 15.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1251, allocations: 11.67 kB / 296.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000331/0.1254, allocations: 127.2 kB / 296.8 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.1257, allocations: 234.5 kB / 297 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.1257, allocations: 23.12 kB / 297 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.824e-05/0.1257, allocations: 26.34 kB / 297.1 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.126, allocations: 462.2 kB / 297.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.1261, allocations: 3.281 kB / 297.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.1261, allocations: 12 kB / 297.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.1261, allocations: 10.47 kB / 297.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.1263, allocations: 140 kB / 297.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007757/0.134, allocations: 4.552 MB / 302.2 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.1343, allocations: 131 kB / 302.4 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.1344, allocations: 63.36 kB / 302.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006263/0.1406, allocations: 2.689 MB / 305.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.1407, allocations: 36.73 kB / 305.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/0.1407, allocations: 0 / 305.1 MB, free: 12.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.00475/0.1454, allocations: 1.136 MB / 306.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.1454, allocations: 54.62 kB / 306.3 MB, free: 11.96 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.1456, allocations: 279.8 kB / 306.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1457, allocations: 33.64 kB / 306.6 MB, free: 11.72 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.181e-05/0.1457, allocations: 238.7 kB / 306.9 MB, free: 11.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.1458, allocations: 96.19 kB / 307 MB, free: 11.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.1459, allocations: 75.69 kB / 307 MB, free: 11.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.929e-05/0.1459, allocations: 0.5016 MB / 307.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.146, allocations: 66.11 kB / 307.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.1462, allocations: 176.8 kB / 307.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.1464, allocations: 266 kB / 308 MB, free: 10.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1464, allocations: 3.594 kB / 308 MB, free: 10.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005379/0.1469, allocations: 323 kB / 308.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.147, allocations: 7.25 kB / 308.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.147, allocations: 7.219 kB / 308.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002894/0.1499, allocations: 0.9319 MB / 309.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.1501, allocations: 63.38 kB / 309.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009791/0.1511, allocations: 2.568 MB / 311.9 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.1512, allocations: 10.41 kB / 311.9 MB, free: 7.516 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.1512, allocations: 11.88 kB / 312 MB, free: 7.516 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 8.098e-05/0.1513, allocations: 187.2 kB / 312.1 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.191e-05/0.1514, allocations: 30.83 kB / 312.2 MB, free: 7.336 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004936/0.1518, allocations: 347.6 kB / 312.5 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.1519, allocations: 6.094 kB / 312.5 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.1519, allocations: 3.938 kB / 312.5 MB, free: 7.207 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003866/0.1522, allocations: 0.575 MB / 313.1 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008097/0.1531, allocations: 0.7129 MB / 313.8 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.1531, allocations: 7.969 kB / 313.8 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001531/0.1532, allocations: 43.34 kB / 313.9 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/0.1544, allocations: 290.9 kB / 314.1 MB, free: 5.629 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.1544, allocations: 9.922 kB / 314.1 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002481/0.1546, allocations: 0.8134 MB / 315 MB, free: 4.793 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1546, allocations: 4.031 kB / 315 MB, free: 4.789 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007517/0.1554, allocations: 0.5356 MB / 315.5 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.1554, allocations: 27.75 kB / 315.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.1555, allocations: 7.688 kB / 315.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.1556, allocations: 11.67 kB / 315.5 MB, free: 4.238 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.1557, allocations: 19.72 kB / 315.6 MB, free: 4.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.1557, allocations: 8 kB / 315.6 MB, free: 4.215 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.769e-05/0.1558, allocations: 192.6 kB / 315.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1558, allocations: 0 / 315.8 MB, free: 4.043 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005319/0.1563, allocations: 187.1 kB / 315.9 MB, free: 3.871 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.0003965/0.1567, allocations: 287.9 kB / 316.2 MB, free: 3.621 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004185/0.1571, allocations: 413.1 kB / 316.6 MB, free: 3.234 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1571, allocations: 4 kB / 316.6 MB, free: 3.23 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.1573, allocations: 156.2 kB / 316.8 MB, free: 3.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.1578, allocations: 146 kB / 316.9 MB, free: 2.977 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.1587, allocations: 0.6722 MB / 317.6 MB, free: 2.328 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.944e-05/0.1587, allocations: 99.62 kB / 317.7 MB, free: 2.215 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001015/0.1588, allocations: 48.16 kB / 317.7 MB, free: 2.164 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.652e-05/0.1589, allocations: 24.5 kB / 317.8 MB, free: 2.141 MB / 266.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1589, allocations: 4 kB / 317.8 MB, free: 2.137 MB / 266.7 MB Notification: Performance of Templates: time 0.01081/0.1697, allocations: 10.64 MB / 328.4 MB, free: 7.703 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.243199490942061]