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.001534/0.001534, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.001682/0.001682, allocations: 158.9 kB / 25.75 MB, free: 8.957 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.8587/0.8587, allocations: 158.6 MB / 187.6 MB, free: 2.91 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.073e-06/1.073e-06, allocations: 0 / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.73e-05/1.838e-05, allocations: 2.312 kB / 251.1 MB, free: 7.785 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.02619/0.0262, allocations: 38.36 MB / 289.5 MB, free: 1.281 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004264/0.03047, allocations: 4.638 MB / 294.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.03068, allocations: 7.938 kB / 294.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006453/0.03133, allocations: 274.2 kB / 294.4 MB, free: 12.35 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006184/0.03195, allocations: 0.5084 MB / 294.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.03491, allocations: 1.664 MB / 296.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001153/0.03606, allocations: 1.291 MB / 297.9 MB, free: 8.867 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.03626, allocations: 115 kB / 298 MB, free: 8.75 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000552/0.03681, allocations: 0.6429 MB / 298.6 MB, free: 8.105 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/0.03715, allocations: 370.9 kB / 299 MB, free: 7.742 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.161e-05/0.03721, allocations: 48 kB / 299 MB, free: 7.695 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000898/0.0381, allocations: 0.7334 MB / 299.8 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.03821, allocations: 139.5 kB / 299.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.03837, allocations: 211.6 kB / 300.1 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008625/0.03923, allocations: 0.935 MB / 301 MB, free: 5.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.03924, allocations: 4 kB / 301 MB, free: 5.676 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.03924, allocations: 0 / 301 MB, free: 5.676 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.03925, allocations: 0 / 301 MB, free: 5.676 MB / 282.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.0007894/0.04003, allocations: 0.8148 MB / 301.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.04007, allocations: 11.98 kB / 301.9 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004695/0.04054, allocations: 167.8 kB / 302 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.04087, allocations: 283.9 kB / 302.3 MB, free: 4.344 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.04089, allocations: 33.36 kB / 302.3 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.04094, allocations: 44.38 kB / 302.4 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004755/0.04141, allocations: 0.6079 MB / 303 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.04143, allocations: 4.172 kB / 303 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.04147, allocations: 24.12 kB / 303 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.04148, allocations: 12 kB / 303 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002517/0.04173, allocations: 197.7 kB / 303.2 MB, free: 3.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006765/0.0485, allocations: 5.147 MB / 308.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.04882, allocations: 210.9 kB / 308.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.04895, allocations: 103.5 kB / 308.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004691/0.05364, allocations: 2.703 MB / 311.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.05367, allocations: 37.39 kB / 311.4 MB, free: 11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 2.534e-06/0.05367, allocations: 0 / 311.4 MB, free: 11 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.006555/0.06023, allocations: 2 MB / 313.4 MB, free: 8.945 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.06026, allocations: 63.39 kB / 313.5 MB, free: 8.871 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.06048, allocations: 312.2 kB / 313.8 MB, free: 8.551 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.0605, allocations: 37.7 kB / 313.8 MB, free: 8.508 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.06063, allocations: 275.1 kB / 314.1 MB, free: 8.234 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.416e-05/0.06071, allocations: 174.5 kB / 314.3 MB, free: 8.062 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.06081, allocations: 100 kB / 314.4 MB, free: 7.953 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.06093, allocations: 0.5195 MB / 314.9 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000131/0.06106, allocations: 93.19 kB / 315 MB, free: 7.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.06127, allocations: 254 kB / 315.2 MB, free: 7.016 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.06164, allocations: 386.5 kB / 315.6 MB, free: 6.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.06164, allocations: 0 / 315.6 MB, free: 6.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006177/0.06226, allocations: 499.9 kB / 316.1 MB, free: 6.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.06228, allocations: 8 kB / 316.1 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.06228, allocations: 4 kB / 316.1 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004118/0.0664, allocations: 1.844 MB / 317.9 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.06664, allocations: 107.9 kB / 318 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001704/0.06834, allocations: 3.379 MB / 321.4 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.0685, allocations: 16 kB / 321.4 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.06852, allocations: 27.98 kB / 321.5 MB, free: 500 kB / 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.000138/0.06866, allocations: 184.5 kB / 321.7 MB, free: 304 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/0.06873, allocations: 55.77 kB / 321.7 MB, free: 248 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00067/0.0694, allocations: 0.5958 MB / 322.3 MB, free: 15.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.06941, allocations: 12.03 kB / 322.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.06941, allocations: 0 / 322.3 MB, free: 15.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005247/0.06993, allocations: 0.6916 MB / 323 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.07103, allocations: 1.062 MB / 324.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.07103, allocations: 0 / 324.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.07121, allocations: 71.91 kB / 324.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001561/0.07277, allocations: 0.5688 MB / 324.7 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.0728, allocations: 19.98 kB / 324.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008048/0.0736, allocations: 1.623 MB / 326.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.0736, allocations: 8 kB / 326.4 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007807/0.07438, allocations: 0.8145 MB / 327.2 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.07444, allocations: 39.66 kB / 327.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.07448, allocations: 12 kB / 327.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.0746, allocations: 12 kB / 327.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.07464, allocations: 27.88 kB / 327.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.07466, allocations: 19.98 kB / 327.3 MB, free: 10.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.07478, allocations: 213.1 kB / 327.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07478, allocations: 0 / 327.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005417/0.07532, allocations: 231.7 kB / 327.7 MB, free: 9.977 MB / 314.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.0004673/0.07579, allocations: 286.7 kB / 328 MB, free: 9.684 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007217/0.07651, allocations: 0.5705 MB / 328.6 MB, free: 9.102 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.07651, allocations: 0 / 328.6 MB, free: 9.102 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004565/0.07697, allocations: 305 kB / 328.9 MB, free: 8.801 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006443/0.07761, allocations: 220.8 kB / 329.1 MB, free: 8.582 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.07907, allocations: 1.008 MB / 330.1 MB, free: 7.543 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.503e-05/0.07914, allocations: 122.8 kB / 330.2 MB, free: 7.406 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.07931, allocations: 63.36 kB / 330.3 MB, free: 7.344 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.8e-05/0.07937, allocations: 36.5 kB / 330.3 MB, free: 7.309 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.07937, allocations: 0 / 330.3 MB, free: 7.309 MB / 314.7 MB Notification: Performance of Templates: time 0.01332/0.09269, allocations: 11.99 MB / 342.3 MB, free: 11.33 MB / 330.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.7288013701327145]