Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001467/0.001467, allocations: 75.75 kB / 21.97 MB, free: 2.602 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.007602/0.007602, allocations: 170.1 kB / 25.33 MB, free: 8.598 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.8612/0.8612, allocations: 158.6 MB / 187.2 MB, free: 2.93 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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 251.1 MB, free: 7.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.652e-05, allocations: 2.312 kB / 251.1 MB, free: 7.496 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.009412/0.009429, allocations: 11.93 MB / 263 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001972/0.0114, allocations: 1.943 MB / 264.9 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.01156, allocations: 7.938 kB / 265 MB, free: 9.539 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.01191, allocations: 115.2 kB / 265.1 MB, free: 9.426 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004887/0.0124, allocations: 361.8 kB / 265.4 MB, free: 9.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002613/0.01502, allocations: 1.38 MB / 266.8 MB, free: 7.684 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007836/0.0158, allocations: 0.9338 MB / 267.7 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.01594, allocations: 80.81 kB / 267.8 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003863/0.01981, allocations: 4.24 MB / 272.1 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002705/0.02008, allocations: 255.2 kB / 272.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.02011, allocations: 35.94 kB / 272.3 MB, free: 2.137 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007818/0.0209, allocations: 0.6749 MB / 273 MB, free: 1.461 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.285e-05/0.02099, allocations: 99.64 kB / 273.1 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.0211, allocations: 143.8 kB / 273.2 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007726/0.02187, allocations: 0.7559 MB / 274 MB, free: 476 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.02188, allocations: 0 / 274 MB, free: 476 kB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.02188, allocations: 0 / 274 MB, free: 476 kB / 250.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.02188, allocations: 4 kB / 274 MB, free: 472 kB / 250.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.0006734/0.02255, allocations: 0.6669 MB / 274.7 MB, free: 15.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.02259, allocations: 15.98 kB / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.0229, allocations: 124.1 kB / 274.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.02316, allocations: 232.1 kB / 275 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.02318, allocations: 21.03 kB / 275.1 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.144e-05/0.02322, allocations: 28.38 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.02358, allocations: 462.7 kB / 275.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.02359, allocations: 192 / 275.5 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.02361, allocations: 16.12 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.02362, allocations: 8 kB / 275.6 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.0238, allocations: 138.7 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005928/0.02972, allocations: 4.551 MB / 280.2 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.02993, allocations: 131.1 kB / 280.4 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.654e-05/0.03, allocations: 63.59 kB / 280.4 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004537/0.03454, allocations: 2.691 MB / 283.1 MB, free: 7.086 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.03457, allocations: 45.33 kB / 283.2 MB, free: 7.031 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.283e-06/0.03457, allocations: 0 / 283.2 MB, free: 7.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.003119/0.03769, allocations: 1.137 MB / 284.3 MB, free: 5.848 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.03772, allocations: 63.39 kB / 284.4 MB, free: 5.773 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.0379, allocations: 274.6 kB / 284.6 MB, free: 5.488 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.03792, allocations: 33.7 kB / 284.7 MB, free: 5.449 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.03802, allocations: 239.1 kB / 284.9 MB, free: 5.211 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.995e-05/0.03808, allocations: 99.16 kB / 285 MB, free: 5.113 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/0.03815, allocations: 71.14 kB / 285.1 MB, free: 5.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.03827, allocations: 0.504 MB / 285.6 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.023e-05/0.03835, allocations: 55.97 kB / 285.6 MB, free: 4.465 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.0385, allocations: 187.3 kB / 285.8 MB, free: 4.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.03874, allocations: 263.7 kB / 286.1 MB, free: 3.918 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.03874, allocations: 0 / 286.1 MB, free: 3.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0003962/0.03914, allocations: 324.5 kB / 286.4 MB, free: 3.586 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.03915, allocations: 12.31 kB / 286.4 MB, free: 3.574 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.03916, allocations: 8 kB / 286.4 MB, free: 3.566 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001985/0.04115, allocations: 0.9288 MB / 287.3 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.0413, allocations: 67.91 kB / 287.4 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.04239, allocations: 2.56 MB / 290 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.166e-05/0.04247, allocations: 8 kB / 290 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.04249, allocations: 19.98 kB / 290 MB, free: 15.82 MB / 282.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 9.761e-05/0.04259, allocations: 176.4 kB / 290.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.04263, allocations: 39.81 kB / 290.2 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003858/0.04302, allocations: 339.5 kB / 290.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.476e-06/0.04303, allocations: 15.95 kB / 290.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.04303, allocations: 4.031 kB / 290.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003416/0.04337, allocations: 0.5779 MB / 291.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006768/0.04404, allocations: 0.7163 MB / 291.8 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.04405, allocations: 0 / 291.8 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.04415, allocations: 47.92 kB / 291.9 MB, free: 13.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007803/0.04493, allocations: 287.1 kB / 292.2 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.04495, allocations: 8 kB / 292.2 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002948/0.04524, allocations: 0.8195 MB / 293 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.04524, allocations: 0 / 293 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004587/0.0457, allocations: 0.5357 MB / 293.5 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.04573, allocations: 23.8 kB / 293.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.04575, allocations: 8 kB / 293.6 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.925e-05/0.04583, allocations: 4.062 kB / 293.6 MB, free: 12.01 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.04586, allocations: 23.91 kB / 293.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.04588, allocations: 15.98 kB / 293.6 MB, free: 11.97 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.912e-05/0.04597, allocations: 185.8 kB / 293.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04597, allocations: 0 / 293.8 MB, free: 11.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003573/0.04633, allocations: 183.8 kB / 294 MB, free: 11.61 MB / 282.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.0004046/0.04674, allocations: 286.7 kB / 294.3 MB, free: 11.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004762/0.04721, allocations: 408.4 kB / 294.7 MB, free: 10.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.04721, allocations: 0 / 294.7 MB, free: 10.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.04747, allocations: 167.6 kB / 294.8 MB, free: 10.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.04793, allocations: 144.2 kB / 295 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.049, allocations: 0.6706 MB / 295.6 MB, free: 9.883 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.791e-05/0.04906, allocations: 105 kB / 295.7 MB, free: 9.762 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.04918, allocations: 50.94 kB / 295.8 MB, free: 9.707 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.04922, allocations: 24.5 kB / 295.8 MB, free: 9.684 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.04922, allocations: 0 / 295.8 MB, free: 9.684 MB / 282.7 MB Notification: Performance of Templates: time 0.0106/0.05982, allocations: 9.319 MB / 305.1 MB, free: 408 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.3671811441890895]