Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001123/0.001123, allocations: 82.28 kB / 22.21 MB, free: 2.289 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.001495/0.001495, allocations: 143.7 kB / 25.59 MB, free: 8.605 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.8746/0.8746, allocations: 173.4 MB / 202.2 MB, free: 8.297 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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 269.2 MB, free: 9.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.502e-05, allocations: 2.312 kB / 269.2 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.01582/0.01584, allocations: 12.77 MB / 282 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003862/0.01971, allocations: 2.169 MB / 284.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003357/0.02004, allocations: 7.938 kB / 284.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.02058, allocations: 147 kB / 284.3 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000974/0.02155, allocations: 0.5125 MB / 284.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004188/0.02574, allocations: 1.497 MB / 286.3 MB, free: 8.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001612/0.02735, allocations: 1.338 MB / 287.6 MB, free: 7.359 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002675/0.02762, allocations: 119 kB / 287.8 MB, free: 7.242 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009618/0.02858, allocations: 0.647 MB / 288.4 MB, free: 6.594 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005861/0.02917, allocations: 370.9 kB / 288.8 MB, free: 6.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.219e-05/0.02926, allocations: 44 kB / 288.8 MB, free: 6.188 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001458/0.03072, allocations: 0.6944 MB / 289.5 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.03089, allocations: 151.5 kB / 289.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002651/0.03115, allocations: 203.7 kB / 289.9 MB, free: 5.145 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.0327, allocations: 0.8727 MB / 290.7 MB, free: 4.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.0327, allocations: 4 kB / 290.7 MB, free: 4.266 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0327, allocations: 0 / 290.7 MB, free: 4.266 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.03271, allocations: 0 / 290.7 MB, free: 4.266 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00112/0.03383, allocations: 0.7918 MB / 291.5 MB, free: 3.434 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.03387, allocations: 8.922 kB / 291.5 MB, free: 3.426 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006517/0.03452, allocations: 171.8 kB / 291.7 MB, free: 3.258 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.03496, allocations: 291.7 kB / 292 MB, free: 2.945 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.03499, allocations: 33.38 kB / 292 MB, free: 2.914 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.23e-05/0.03506, allocations: 40.38 kB / 292.1 MB, free: 2.875 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006123/0.03567, allocations: 0.5883 MB / 292.6 MB, free: 2.176 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.03569, allocations: 4.125 kB / 292.7 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.03574, allocations: 20.12 kB / 292.7 MB, free: 2.152 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.03575, allocations: 12 kB / 292.7 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.03604, allocations: 166.6 kB / 292.8 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/0.04631, allocations: 4.913 MB / 297.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.04668, allocations: 188.7 kB / 297.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.04682, allocations: 90.33 kB / 298 MB, free: 12.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007566/0.05439, allocations: 2.504 MB / 300.5 MB, free: 10.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.05443, allocations: 49.91 kB / 300.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.655e-06/0.05443, allocations: 0 / 300.6 MB, free: 10.12 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.009563/0.06399, allocations: 1.875 MB / 302.5 MB, free: 8.191 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.06403, allocations: 59.41 kB / 302.5 MB, free: 8.121 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.06431, allocations: 316 kB / 302.8 MB, free: 7.801 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.06434, allocations: 33.69 kB / 302.9 MB, free: 7.762 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.06451, allocations: 279.1 kB / 303.1 MB, free: 7.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.06463, allocations: 166.6 kB / 303.3 MB, free: 7.316 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.06478, allocations: 107.9 kB / 303.4 MB, free: 7.203 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.06496, allocations: 0.5195 MB / 303.9 MB, free: 6.672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.06511, allocations: 69.25 kB / 304 MB, free: 6.605 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.06536, allocations: 245.8 kB / 304.2 MB, free: 6.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006865/0.06605, allocations: 358.5 kB / 304.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.06605, allocations: 0 / 304.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008039/0.06686, allocations: 444.5 kB / 305 MB, free: 5.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.06688, allocations: 8 kB / 305 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.06689, allocations: 4 kB / 305 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006751/0.07364, allocations: 1.846 MB / 306.9 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.07402, allocations: 107.8 kB / 307 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.07606, allocations: 3.356 MB / 310.3 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.0763, allocations: 12.09 kB / 310.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/0.07634, allocations: 20 kB / 310.4 MB, free: 15.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001775/0.07652, allocations: 196.5 kB / 310.6 MB, free: 15.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.07662, allocations: 47.77 kB / 310.6 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008515/0.07748, allocations: 0.5334 MB / 311.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.07749, allocations: 12 kB / 311.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.0775, allocations: 7.922 kB / 311.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009163/0.07841, allocations: 0.6213 MB / 311.8 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.07989, allocations: 0.9607 MB / 312.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.07989, allocations: 4.031 kB / 312.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.08017, allocations: 83.83 kB / 312.8 MB, free: 13.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002663/0.08283, allocations: 0.5532 MB / 313.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.08286, allocations: 8 kB / 313.4 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005959/0.08346, allocations: 1.631 MB / 315 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.08346, allocations: 3.984 kB / 315 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008921/0.08435, allocations: 0.7247 MB / 315.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.0844, allocations: 43.64 kB / 315.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.08444, allocations: 15.94 kB / 315.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.08456, allocations: 12.06 kB / 315.8 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.337e-05/0.08459, allocations: 31.94 kB / 315.8 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-05/0.08461, allocations: 19.92 kB / 315.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.154e-05/0.08471, allocations: 197.1 kB / 316.1 MB, free: 9.957 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.08471, allocations: 0 / 316.1 MB, free: 9.957 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00054/0.08525, allocations: 235.7 kB / 316.3 MB, free: 9.727 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004261/0.08567, allocations: 306.9 kB / 316.6 MB, free: 9.418 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005609/0.08623, allocations: 0.5309 MB / 317.1 MB, free: 8.863 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.08624, allocations: 0 / 317.1 MB, free: 8.863 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003711/0.08661, allocations: 263.1 kB / 317.4 MB, free: 8.605 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005849/0.08719, allocations: 204.7 kB / 317.6 MB, free: 8.402 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.08841, allocations: 0.9987 MB / 318.6 MB, free: 7.375 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.06e-05/0.08848, allocations: 126.7 kB / 318.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.08864, allocations: 63.36 kB / 318.8 MB, free: 7.168 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.08892, allocations: 234 kB / 319 MB, free: 6.938 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.08892, allocations: 4 kB / 319 MB, free: 6.934 MB / 298.7 MB Notification: Performance of Templates: time 0.01384/0.1028, allocations: 13.67 MB / 332.7 MB, free: 9.426 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.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.6279584490694106]