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.0009806/0.0009806, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.000971/0.000971, allocations: 161.2 kB / 25.6 MB, free: 8.895 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.8718/0.8718, allocations: 158.6 MB / 187.5 MB, free: 2.816 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.302e-06/1.302e-06, allocations: 0 / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.533e-05, allocations: 2.312 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.009866/0.009881, allocations: 12.78 MB / 264.3 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.01198, allocations: 2.169 MB / 266.4 MB, free: 8.219 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.01217, allocations: 11.94 kB / 266.4 MB, free: 8.207 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.01255, allocations: 147 kB / 266.6 MB, free: 8.062 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005908/0.01314, allocations: 0.5163 MB / 267.1 MB, free: 7.543 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.0157, allocations: 1.486 MB / 268.6 MB, free: 6.051 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001177/0.01687, allocations: 1.346 MB / 269.9 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001937/0.01707, allocations: 111.1 kB / 270 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000616/0.01768, allocations: 0.651 MB / 270.7 MB, free: 3.934 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003977/0.01808, allocations: 370.8 kB / 271.1 MB, free: 3.57 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.01815, allocations: 48 kB / 271.1 MB, free: 3.523 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.01916, allocations: 0.6983 MB / 271.8 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.01927, allocations: 147.5 kB / 272 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.01942, allocations: 211.5 kB / 272.2 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008061/0.02022, allocations: 0.8689 MB / 273 MB, free: 1.602 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.02023, allocations: 0 / 273 MB, free: 1.602 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.02023, allocations: 0 / 273 MB, free: 1.602 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.02023, allocations: 0 / 273 MB, free: 1.602 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.0007746/0.02101, allocations: 0.7993 MB / 273.8 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.02106, allocations: 15.98 kB / 273.8 MB, free: 0.75 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004029/0.02146, allocations: 167.8 kB / 274 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.02177, allocations: 283.8 kB / 274.3 MB, free: 288 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.02179, allocations: 29.38 kB / 274.3 MB, free: 260 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.649e-05/0.02184, allocations: 40.38 kB / 274.4 MB, free: 220 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.02227, allocations: 0.5883 MB / 274.9 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.02228, allocations: 4.188 kB / 274.9 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.021e-05/0.02231, allocations: 24.11 kB / 275 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.02232, allocations: 8 kB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.02249, allocations: 158.7 kB / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006074/0.02857, allocations: 4.952 MB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.02879, allocations: 183 kB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/0.02887, allocations: 95.47 kB / 280.4 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004104/0.03298, allocations: 2.546 MB / 282.9 MB, free: 7.441 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.03301, allocations: 41.39 kB / 282.9 MB, free: 7.391 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.422e-06/0.03301, allocations: 0 / 282.9 MB, free: 7.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.005306/0.03831, allocations: 1.926 MB / 284.9 MB, free: 5.418 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.463e-05/0.03834, allocations: 55.41 kB / 284.9 MB, free: 5.352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.03851, allocations: 308 kB / 285.2 MB, free: 5.035 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.03854, allocations: 37.7 kB / 285.3 MB, free: 4.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.03864, allocations: 283.1 kB / 285.5 MB, free: 4.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.687e-05/0.03872, allocations: 170.5 kB / 285.7 MB, free: 4.543 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.167e-05/0.03881, allocations: 107.9 kB / 285.8 MB, free: 4.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.03893, allocations: 0.5117 MB / 286.3 MB, free: 3.906 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.551e-05/0.03901, allocations: 69.25 kB / 286.4 MB, free: 3.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.03915, allocations: 245.9 kB / 286.6 MB, free: 3.531 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.03943, allocations: 350.5 kB / 287 MB, free: 3.121 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.03943, allocations: 0 / 287 MB, free: 3.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0005024/0.03994, allocations: 471.9 kB / 287.4 MB, free: 2.641 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.03995, allocations: 8 kB / 287.4 MB, free: 2.633 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.03996, allocations: 4.469 kB / 287.4 MB, free: 2.629 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003686/0.04365, allocations: 1.872 MB / 289.3 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.04386, allocations: 107.8 kB / 289.4 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007745/0.0516, allocations: 8.272 MB / 297.7 MB, free: 7.918 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.05174, allocations: 16 kB / 297.7 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.05176, allocations: 16 kB / 297.7 MB, free: 7.887 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): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.05189, allocations: 196.4 kB / 297.9 MB, free: 7.684 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.05195, allocations: 51.77 kB / 298 MB, free: 7.633 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008441/0.05279, allocations: 0.5686 MB / 298.5 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.0528, allocations: 11.98 kB / 298.5 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.0528, allocations: 4 kB / 298.5 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000485/0.05329, allocations: 0.672 MB / 299.2 MB, free: 6.285 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009344/0.05422, allocations: 0.9958 MB / 300.2 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.05423, allocations: 4 kB / 300.2 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001597/0.05439, allocations: 75.89 kB / 300.3 MB, free: 5.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001551/0.05594, allocations: 0.6819 MB / 301 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.05596, allocations: 16 kB / 301 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.05778, allocations: 3.683 MB / 304.7 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.05778, allocations: 7.875 kB / 304.7 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009337/0.05871, allocations: 0.7639 MB / 305.4 MB, free: 15.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.05875, allocations: 39.69 kB / 305.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.05878, allocations: 8.047 kB / 305.5 MB, free: 15.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.05889, allocations: 15.98 kB / 305.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.05893, allocations: 35.97 kB / 305.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.05895, allocations: 19.98 kB / 305.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.061e-05/0.05904, allocations: 201.1 kB / 305.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05904, allocations: 0 / 305.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005552/0.05959, allocations: 243.7 kB / 306 MB, free: 15.18 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): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004536/0.06005, allocations: 298.6 kB / 306.3 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000689/0.06073, allocations: 0.9243 MB / 307.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.06074, allocations: 0 / 307.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004756/0.06121, allocations: 0.5953 MB / 307.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.06181, allocations: 215.9 kB / 308 MB, free: 13.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.06315, allocations: 1.023 MB / 309 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.159e-05/0.06324, allocations: 130.8 kB / 309.2 MB, free: 11.86 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00015/0.06339, allocations: 55.36 kB / 309.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.06368, allocations: 238 kB / 309.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of SimCode: time 9.21e-07/0.06368, allocations: 0 / 309.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of Templates: time 0.01558/0.07926, allocations: 14.88 MB / 324.3 MB, free: 12.7 MB / 314.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.3940407037734985]