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.001125/0.001125, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.000959/0.000959, allocations: 168.6 kB / 25.7 MB, free: 8.441 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.777/0.777, allocations: 158.6 MB / 187.6 MB, free: 2.793 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.413e-06/1.413e-06, allocations: 0 / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.26e-05, allocations: 2.312 kB / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.009634/0.009646, allocations: 12.88 MB / 264.4 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.01183, allocations: 2.215 MB / 266.6 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001789/0.01201, allocations: 11.94 kB / 266.6 MB, free: 8.07 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.01238, allocations: 143 kB / 266.8 MB, free: 7.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000607/0.01299, allocations: 0.5164 MB / 267.3 MB, free: 7.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.0156, allocations: 1.501 MB / 268.8 MB, free: 5.902 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.01686, allocations: 1.35 MB / 270.2 MB, free: 4.547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.01704, allocations: 115 kB / 270.3 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005955/0.01764, allocations: 0.6432 MB / 270.9 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003302/0.01797, allocations: 350.9 kB / 271.3 MB, free: 3.438 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.01802, allocations: 44 kB / 271.3 MB, free: 3.395 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008241/0.01884, allocations: 0.687 MB / 272 MB, free: 2.707 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.01895, allocations: 147.5 kB / 272.1 MB, free: 2.562 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001495/0.0191, allocations: 219.5 kB / 272.3 MB, free: 2.348 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007935/0.01989, allocations: 0.8689 MB / 273.2 MB, free: 1.477 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.0199, allocations: 4 kB / 273.2 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.0199, allocations: 0 / 273.2 MB, free: 1.473 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.0199, allocations: 0 / 273.2 MB, free: 1.473 MB / 250.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.0006333/0.02053, allocations: 0.6668 MB / 273.9 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.02056, allocations: 15.98 kB / 273.9 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003576/0.02092, allocations: 164.1 kB / 274.1 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002514/0.02117, allocations: 237.1 kB / 274.3 MB, free: 356 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.02119, allocations: 29.38 kB / 274.3 MB, free: 328 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.02124, allocations: 48.31 kB / 274.4 MB, free: 280 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.02157, allocations: 0.5562 MB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.02159, allocations: 192 / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.02161, allocations: 24.12 kB / 274.9 MB, free: 15.6 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.02162, allocations: 8 kB / 275 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.02176, allocations: 146.7 kB / 275.1 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005411/0.02717, allocations: 4.154 MB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.02736, allocations: 170.3 kB / 279.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.716e-05/0.02743, allocations: 76.67 kB / 279.5 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0039/0.03133, allocations: 2.503 MB / 282 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.03135, allocations: 34.56 kB / 282 MB, free: 8.426 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.342e-06/0.03135, allocations: 0 / 282 MB, free: 8.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.0056/0.03695, allocations: 2.008 MB / 284 MB, free: 6.375 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.03698, allocations: 63.39 kB / 284.1 MB, free: 6.301 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.03712, allocations: 256.8 kB / 284.3 MB, free: 6.039 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.03714, allocations: 37.7 kB / 284.4 MB, free: 5.996 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.03722, allocations: 212.9 kB / 284.6 MB, free: 5.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.972e-05/0.03729, allocations: 166.5 kB / 284.8 MB, free: 5.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.19e-05/0.03737, allocations: 98.25 kB / 284.9 MB, free: 5.516 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.116e-05/0.03745, allocations: 354.7 kB / 285.2 MB, free: 5.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.03751, allocations: 57.28 kB / 285.3 MB, free: 5.102 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.03763, allocations: 176.7 kB / 285.4 MB, free: 4.883 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.03785, allocations: 303.9 kB / 285.7 MB, free: 4.535 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.03785, allocations: 0 / 285.7 MB, free: 4.535 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003596/0.03821, allocations: 345.2 kB / 286.1 MB, free: 4.184 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.03822, allocations: 12 kB / 286.1 MB, free: 4.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.03823, allocations: 4 kB / 286.1 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003372/0.0416, allocations: 1.837 MB / 287.9 MB, free: 2.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.0418, allocations: 103.8 kB / 288 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009573/0.04276, allocations: 2.244 MB / 290.3 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.04287, allocations: 19.94 kB / 290.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.962e-05/0.04289, allocations: 19.98 kB / 290.3 MB, free: 15.81 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.0001034/0.04299, allocations: 148.6 kB / 290.4 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.04305, allocations: 39.97 kB / 290.5 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004299/0.04348, allocations: 0.496 MB / 291 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.04348, allocations: 7.984 kB / 291 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.04349, allocations: 96 / 291 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005641/0.04405, allocations: 0.5747 MB / 291.6 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007585/0.04481, allocations: 0.8175 MB / 292.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.04481, allocations: 8.031 kB / 292.4 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.04496, allocations: 75.89 kB / 292.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/0.04626, allocations: 0.5686 MB / 293 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.04628, allocations: 12 kB / 293 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000397/0.04668, allocations: 1.078 MB / 294.1 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.04668, allocations: 3.938 kB / 294.1 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.04718, allocations: 0.6456 MB / 294.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.04722, allocations: 43.64 kB / 294.8 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.04725, allocations: 15.94 kB / 294.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.879e-05/0.04735, allocations: 4 kB / 294.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.04738, allocations: 36 kB / 294.9 MB, free: 11.01 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.0474, allocations: 12 kB / 294.9 MB, free: 11 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.311e-05/0.04746, allocations: 86.75 kB / 295 MB, free: 10.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04746, allocations: 0 / 295 MB, free: 10.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003992/0.04786, allocations: 231.7 kB / 295.2 MB, free: 10.68 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.0003949/0.04826, allocations: 284 kB / 295.5 MB, free: 10.4 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004699/0.04873, allocations: 457.4 kB / 295.9 MB, free: 9.938 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.04873, allocations: 4 kB / 295.9 MB, free: 9.934 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000348/0.04908, allocations: 263 kB / 296.2 MB, free: 9.676 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004948/0.04958, allocations: 196.7 kB / 296.4 MB, free: 9.484 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.05077, allocations: 0.935 MB / 297.3 MB, free: 8.516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.976e-05/0.05084, allocations: 126.6 kB / 297.4 MB, free: 8.375 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001581/0.051, allocations: 63.36 kB / 297.5 MB, free: 8.309 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.05127, allocations: 185.2 kB / 297.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.05127, allocations: 0 / 297.7 MB, free: 8.125 MB / 282.7 MB Notification: Performance of Templates: time 0.01426/0.06553, allocations: 13.47 MB / 311.1 MB, free: 10.66 MB / 298.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.1723956069909036]