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.001019/0.001019, allocations: 75.75 kB / 21.97 MB, free: 2.605 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.001172/0.001172, allocations: 166.9 kB / 25.33 MB, free: 8.703 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.877/0.877, allocations: 158.6 MB / 187.2 MB, free: 2.922 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 2.174e-06/2.174e-06, allocations: 3.984 kB / 251.1 MB, free: 7.496 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.258e-05, allocations: 2.312 kB / 251.1 MB, free: 7.492 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.01763/0.01765, allocations: 12.92 MB / 264 MB, free: 10.51 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.02001, allocations: 2.2 MB / 266.2 MB, free: 8.305 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.0202, allocations: 7.938 kB / 266.2 MB, free: 8.297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.02059, allocations: 143 kB / 266.3 MB, free: 8.156 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006037/0.02119, allocations: 0.5125 MB / 266.8 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.02357, allocations: 1.497 MB / 268.3 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000988/0.02456, allocations: 1.346 MB / 269.7 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.02474, allocations: 111.1 kB / 269.8 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005776/0.02532, allocations: 0.6432 MB / 270.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003663/0.02569, allocations: 378.8 kB / 270.8 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.723e-05/0.02574, allocations: 44 kB / 270.8 MB, free: 3.613 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008276/0.02657, allocations: 0.6866 MB / 271.5 MB, free: 2.926 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.02668, allocations: 155.5 kB / 271.7 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.02684, allocations: 211.6 kB / 271.9 MB, free: 2.566 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008102/0.02765, allocations: 0.8688 MB / 272.8 MB, free: 1.695 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.02765, allocations: 0 / 272.8 MB, free: 1.695 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.02766, allocations: 4 kB / 272.8 MB, free: 1.691 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.02766, allocations: 0 / 272.8 MB, free: 1.691 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.0009796/0.02864, allocations: 0.7877 MB / 273.5 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.02868, allocations: 11.98 kB / 273.6 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003963/0.02907, allocations: 175.8 kB / 273.7 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.02936, allocations: 279.8 kB / 274 MB, free: 392 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.02938, allocations: 33.38 kB / 274 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.957e-05/0.02943, allocations: 40.38 kB / 274.1 MB, free: 320 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.0299, allocations: 0.6157 MB / 274.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.02992, allocations: 192 / 274.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/0.02995, allocations: 24.12 kB / 274.7 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.02996, allocations: 12 kB / 274.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.03021, allocations: 201.6 kB / 274.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006552/0.03676, allocations: 5.143 MB / 280.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.03706, allocations: 214.9 kB / 280.3 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.03718, allocations: 95.5 kB / 280.4 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004561/0.04174, allocations: 2.706 MB / 283.1 MB, free: 7.078 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.04177, allocations: 41.39 kB / 283.1 MB, free: 7.027 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.392e-06/0.04177, allocations: 0 / 283.1 MB, free: 7.027 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.005458/0.04723, allocations: 2.001 MB / 285.1 MB, free: 4.977 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.04726, allocations: 55.41 kB / 285.2 MB, free: 4.91 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.04744, allocations: 316.2 kB / 285.5 MB, free: 4.586 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.04747, allocations: 37.7 kB / 285.5 MB, free: 4.543 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.04757, allocations: 279.1 kB / 285.8 MB, free: 4.266 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.006e-05/0.04765, allocations: 166.5 kB / 286 MB, free: 4.102 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.04775, allocations: 107.9 kB / 286.1 MB, free: 3.988 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.04788, allocations: 0.5195 MB / 286.6 MB, free: 3.457 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.04801, allocations: 89.25 kB / 286.7 MB, free: 3.371 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001968/0.04821, allocations: 254 kB / 286.9 MB, free: 3.055 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005827/0.04879, allocations: 390.5 kB / 287.3 MB, free: 2.605 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.04879, allocations: 4 kB / 287.3 MB, free: 2.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005709/0.04936, allocations: 496 kB / 287.8 MB, free: 2.098 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.04938, allocations: 8.469 kB / 287.8 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.04938, allocations: 4 kB / 287.8 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003625/0.05301, allocations: 1.849 MB / 289.6 MB, free: 240 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.05321, allocations: 103.9 kB / 289.7 MB, free: 136 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001282/0.05449, allocations: 3.383 MB / 293.1 MB, free: 12.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.0546, allocations: 16 kB / 293.1 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.265e-05/0.05462, allocations: 24 kB / 293.2 MB, free: 12.52 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.0001044/0.05472, allocations: 188.6 kB / 293.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.719e-05/0.05478, allocations: 47.77 kB / 293.4 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005868/0.05537, allocations: 0.5921 MB / 294 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/0.05538, allocations: 7.984 kB / 294 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.05538, allocations: 0 / 294 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007484/0.05613, allocations: 0.6953 MB / 294.7 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009625/0.05709, allocations: 1.062 MB / 295.8 MB, free: 9.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.05709, allocations: 0 / 295.8 MB, free: 9.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.05725, allocations: 83.92 kB / 295.8 MB, free: 9.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/0.05868, allocations: 0.5648 MB / 296.4 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.332e-05/0.0587, allocations: 8 kB / 296.4 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005333/0.05923, allocations: 1.643 MB / 298.1 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.05923, allocations: 0 / 298.1 MB, free: 7.395 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007014/0.05994, allocations: 0.8069 MB / 298.9 MB, free: 6.559 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.05997, allocations: 43.64 kB / 298.9 MB, free: 6.516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.06, allocations: 8 kB / 298.9 MB, free: 6.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.0601, allocations: 11.94 kB / 298.9 MB, free: 6.496 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.488e-05/0.06014, allocations: 31.94 kB / 299 MB, free: 6.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.06016, allocations: 19.98 kB / 299 MB, free: 6.445 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.06027, allocations: 209.2 kB / 299.2 MB, free: 6.238 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06027, allocations: 0 / 299.2 MB, free: 6.238 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003881/0.06066, allocations: 231.7 kB / 299.4 MB, free: 6.012 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.0003899/0.06105, allocations: 282.9 kB / 299.7 MB, free: 5.727 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006077/0.06166, allocations: 0.5822 MB / 300.3 MB, free: 5.133 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.06166, allocations: 0 / 300.3 MB, free: 5.133 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004225/0.06208, allocations: 300.9 kB / 300.6 MB, free: 4.832 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.06267, allocations: 224.6 kB / 300.8 MB, free: 4.609 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.06442, allocations: 1.004 MB / 301.8 MB, free: 3.574 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.536e-05/0.06448, allocations: 122.8 kB / 301.9 MB, free: 3.438 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.06463, allocations: 67.36 kB / 302 MB, free: 3.371 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.06468, allocations: 40.48 kB / 302 MB, free: 3.332 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.06468, allocations: 0 / 302 MB, free: 3.332 MB / 282.7 MB Notification: Performance of Templates: time 0.01308/0.07776, allocations: 11.99 MB / 314 MB, free: 7.359 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.8173421625979245]