Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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.001443/0.001443, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001092/0.001092, allocations: 169.9 kB / 25.33 MB, free: 9.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8467/0.8467, allocations: 158.6 MB / 187.2 MB, free: 2.516 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 251.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.36e-05/1.485e-05, allocations: 6.312 kB / 251.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.009048/0.009062, allocations: 12.91 MB / 264 MB, free: 6.59 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.01104, allocations: 2.2 MB / 266.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001467/0.01119, allocations: 11.94 kB / 266.2 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003672/0.01155, allocations: 143 kB / 266.3 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005502/0.0121, allocations: 0.5086 MB / 266.8 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00227/0.01437, allocations: 1.485 MB / 268.3 MB, free: 2.227 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009051/0.01528, allocations: 1.35 MB / 269.7 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.01545, allocations: 111.1 kB / 269.8 MB, free: 0.7578 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005338/0.01598, allocations: 0.6471 MB / 270.4 MB, free: 112 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003546/0.01633, allocations: 370.8 kB / 270.8 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.453e-05/0.01639, allocations: 48 kB / 270.8 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007803/0.01717, allocations: 0.6986 MB / 271.5 MB, free: 15 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.01728, allocations: 155.5 kB / 271.7 MB, free: 14.85 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.01743, allocations: 207.6 kB / 271.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008319/0.01826, allocations: 0.8688 MB / 272.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.01826, allocations: 0 / 272.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.01826, allocations: 0 / 272.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.01827, allocations: 4 kB / 272.8 MB, free: 13.77 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.0007424/0.01901, allocations: 0.7877 MB / 273.5 MB, free: 12.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.01904, allocations: 19.92 kB / 273.6 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003929/0.01944, allocations: 163.8 kB / 273.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.01974, allocations: 283.9 kB / 274 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.01976, allocations: 29.38 kB / 274 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.953e-05/0.01981, allocations: 48.33 kB / 274.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000485/0.0203, allocations: 0.6157 MB / 274.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.02032, allocations: 4.188 kB / 274.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.02035, allocations: 20.12 kB / 274.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.02036, allocations: 12 kB / 274.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002393/0.0206, allocations: 197.6 kB / 274.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00642/0.02702, allocations: 5.147 MB / 280.1 MB, free: 6.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.02733, allocations: 205.7 kB / 280.3 MB, free: 5.969 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.02745, allocations: 103.4 kB / 280.4 MB, free: 5.863 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004393/0.03184, allocations: 2.71 MB / 283.1 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.03187, allocations: 41.39 kB / 283.1 MB, free: 3.102 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.03187, allocations: 0 / 283.1 MB, free: 3.102 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.005237/0.03711, allocations: 2.003 MB / 285.1 MB, free: 1.051 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.03714, allocations: 63.34 kB / 285.2 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.03732, allocations: 312.2 kB / 285.5 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.03735, allocations: 33.7 kB / 285.5 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.03745, allocations: 291.1 kB / 285.8 MB, free: 336 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.874e-05/0.03753, allocations: 162.5 kB / 286 MB, free: 172 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-05/0.03762, allocations: 99.95 kB / 286.1 MB, free: 64 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.03774, allocations: 0.5235 MB / 286.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.03786, allocations: 89.25 kB / 286.7 MB, free: 15.44 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.03805, allocations: 254 kB / 286.9 MB, free: 15.12 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003368/0.03839, allocations: 394.5 kB / 287.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.03839, allocations: 0 / 287.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005454/0.03894, allocations: 492.5 kB / 287.8 MB, free: 14.17 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.03895, allocations: 8 kB / 287.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.03896, allocations: 4 kB / 287.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003584/0.04254, allocations: 1.846 MB / 289.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002121/0.04276, allocations: 107.8 kB / 289.8 MB, free: 12.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.04407, allocations: 3.379 MB / 293.1 MB, free: 8.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.04419, allocations: 12 kB / 293.1 MB, free: 8.621 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.04421, allocations: 31.98 kB / 293.2 MB, free: 8.59 MB / 282.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.0001112/0.04433, allocations: 188.5 kB / 293.4 MB, free: 8.395 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.04438, allocations: 47.77 kB / 293.4 MB, free: 8.348 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005844/0.04497, allocations: 0.5843 MB / 294 MB, free: 7.746 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.04497, allocations: 11.98 kB / 294 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.04498, allocations: 0 / 294 MB, free: 7.734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004712/0.04545, allocations: 0.6953 MB / 294.7 MB, free: 6.961 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009681/0.04641, allocations: 1.066 MB / 295.8 MB, free: 5.836 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.04642, allocations: 4.125 kB / 295.8 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.04658, allocations: 75.91 kB / 295.8 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001408/0.04799, allocations: 0.5571 MB / 296.4 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.671e-05/0.04801, allocations: 11.98 kB / 296.4 MB, free: 5.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005191/0.04853, allocations: 1.635 MB / 298 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.04853, allocations: 4 kB / 298.1 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006995/0.04923, allocations: 0.8185 MB / 298.9 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.04927, allocations: 39.7 kB / 298.9 MB, free: 2.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.028e-05/0.0493, allocations: 4 kB / 298.9 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.0494, allocations: 12 kB / 298.9 MB, free: 2.574 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.04944, allocations: 36 kB / 299 MB, free: 2.539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.04946, allocations: 15.98 kB / 299 MB, free: 2.523 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.04957, allocations: 209.1 kB / 299.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04957, allocations: 0 / 299.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004448/0.05001, allocations: 231.7 kB / 299.4 MB, free: 2.09 MB / 282.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.0004042/0.05042, allocations: 282.8 kB / 299.7 MB, free: 1.805 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006434/0.05106, allocations: 0.586 MB / 300.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.05106, allocations: 0 / 300.3 MB, free: 1.207 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.05147, allocations: 297 kB / 300.6 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005964/0.05207, allocations: 216.7 kB / 300.8 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08951/0.1416, allocations: 1.004 MB / 301.8 MB, free: 48.88 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.869e-05/0.1417, allocations: 126.2 kB / 301.9 MB, free: 48.81 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002889/0.142, allocations: 63.25 kB / 302 MB, free: 48.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.142, allocations: 35.81 kB / 302 MB, free: 48.81 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.142, allocations: 0 / 302 MB, free: 48.81 MB / 282.7 MB Notification: Performance of Templates: time 0.01691/0.159, allocations: 13.54 MB / 315.5 MB, free: 44.69 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.4996580807492137]