Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 144.2 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8932/0.8932, allocations: 173.4 MB / 201.5 MB, free: 8.273 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 268.5 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.732e-05, allocations: 5.406 kB / 268.5 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.01521/0.01524, allocations: 12.86 MB / 281.4 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003809/0.01905, allocations: 2.223 MB / 283.6 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000291/0.01934, allocations: 7.938 kB / 283.6 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005521/0.01989, allocations: 139.1 kB / 283.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.02092, allocations: 0.5164 MB / 284.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004611/0.02553, allocations: 1.509 MB / 285.7 MB, free: 8.477 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.02716, allocations: 1.342 MB / 287.1 MB, free: 7.129 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002504/0.02741, allocations: 119 kB / 287.2 MB, free: 7.008 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000801/0.02821, allocations: 0.6509 MB / 287.9 MB, free: 6.355 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000488/0.0287, allocations: 342.9 kB / 288.2 MB, free: 6.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.241e-05/0.02877, allocations: 48 kB / 288.2 MB, free: 5.973 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001417/0.03019, allocations: 0.6944 MB / 288.9 MB, free: 5.277 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001505/0.03034, allocations: 147.5 kB / 289.1 MB, free: 5.133 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.03057, allocations: 203.6 kB / 289.3 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.03177, allocations: 0.8689 MB / 290.1 MB, free: 4.062 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.03178, allocations: 0 / 290.1 MB, free: 4.062 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.03178, allocations: 0 / 290.1 MB, free: 4.062 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.797e-06/0.03179, allocations: 0 / 290.1 MB, free: 4.062 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.0009843/0.03277, allocations: 0.671 MB / 290.8 MB, free: 3.363 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.03282, allocations: 8.922 kB / 290.8 MB, free: 3.355 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006132/0.03343, allocations: 168 kB / 291 MB, free: 3.191 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.03382, allocations: 252.9 kB / 291.2 MB, free: 2.918 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.03385, allocations: 33.38 kB / 291.3 MB, free: 2.887 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-05/0.03393, allocations: 40.38 kB / 291.3 MB, free: 2.848 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005133/0.03444, allocations: 0.5563 MB / 291.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.03446, allocations: 192 / 291.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.0345, allocations: 24.12 kB / 291.9 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.03451, allocations: 12 kB / 291.9 MB, free: 2.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.03476, allocations: 142.7 kB / 292 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009025/0.04378, allocations: 4.15 MB / 296.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003344/0.04412, allocations: 180.2 kB / 296.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.04423, allocations: 72.75 kB / 296.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006736/0.05097, allocations: 2.492 MB / 298.9 MB, free: 11.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.05101, allocations: 35.16 kB / 299 MB, free: 11 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.886e-06/0.05101, allocations: 0 / 299 MB, free: 11 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.01034/0.06135, allocations: 2.019 MB / 301 MB, free: 8.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.06139, allocations: 55.41 kB / 301 MB, free: 8.875 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.06164, allocations: 260.8 kB / 301.3 MB, free: 8.613 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.06167, allocations: 33.7 kB / 301.3 MB, free: 8.574 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001246/0.0618, allocations: 216.9 kB / 301.5 MB, free: 8.359 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.06191, allocations: 170.5 kB / 301.7 MB, free: 8.191 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.06204, allocations: 94.27 kB / 301.8 MB, free: 8.094 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.06215, allocations: 354.7 kB / 302.1 MB, free: 7.738 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.06227, allocations: 57.3 kB / 302.2 MB, free: 7.684 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.06246, allocations: 184.7 kB / 302.4 MB, free: 7.457 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.06282, allocations: 295.9 kB / 302.7 MB, free: 7.117 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.06283, allocations: 0 / 302.7 MB, free: 7.117 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006308/0.06346, allocations: 348.9 kB / 303 MB, free: 6.758 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.06348, allocations: 4 kB / 303 MB, free: 6.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.06349, allocations: 4 kB / 303 MB, free: 6.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005991/0.06948, allocations: 1.832 MB / 304.8 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003614/0.06984, allocations: 107.8 kB / 304.9 MB, free: 4.824 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.07145, allocations: 2.264 MB / 307.2 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.07175, allocations: 15.94 kB / 307.2 MB, free: 2.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.07178, allocations: 16 kB / 307.2 MB, free: 2.391 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.0002014/0.07198, allocations: 144.5 kB / 307.4 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.07207, allocations: 39.95 kB / 307.4 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000742/0.07281, allocations: 0.4998 MB / 307.9 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.547e-05/0.07283, allocations: 11.98 kB / 307.9 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.07283, allocations: 0 / 307.9 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00055/0.07338, allocations: 0.5709 MB / 308.5 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.07467, allocations: 0.8095 MB / 309.3 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.07467, allocations: 0 / 309.3 MB, free: 180 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.07493, allocations: 83.89 kB / 309.4 MB, free: 96 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00238/0.07731, allocations: 0.561 MB / 310 MB, free: 15.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.07734, allocations: 11.98 kB / 310 MB, free: 15.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000689/0.07803, allocations: 1.086 MB / 311.1 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.07804, allocations: 3.938 kB / 311.1 MB, free: 14.36 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009095/0.07895, allocations: 0.6534 MB / 311.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.07902, allocations: 31.7 kB / 311.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.954e-05/0.07906, allocations: 19.88 kB / 311.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.07922, allocations: 12 kB / 311.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.07926, allocations: 27.94 kB / 311.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.07928, allocations: 11.98 kB / 311.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.352e-05/0.07936, allocations: 86.75 kB / 311.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.07936, allocations: 0 / 311.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005922/0.07995, allocations: 227.8 kB / 312.1 MB, free: 13.27 MB / 298.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.000497/0.08045, allocations: 287.8 kB / 312.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000581/0.08103, allocations: 461.8 kB / 312.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.257e-06/0.08104, allocations: 4 kB / 312.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004123/0.08145, allocations: 244 kB / 313.1 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005576/0.08201, allocations: 208.7 kB / 313.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.08332, allocations: 0.9415 MB / 314.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.634e-05/0.08339, allocations: 130.8 kB / 314.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001414/0.08354, allocations: 59.38 kB / 314.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/0.08381, allocations: 185.2 kB / 314.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of SimCode: time 9.92e-07/0.08381, allocations: 0 / 314.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of Templates: time 0.01457/0.09838, allocations: 13.47 MB / 328.1 MB, free: 13.38 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.613392968196422]