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.00179/0.00179, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 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.00215/0.00215, allocations: 189.6 kB / 23.72 MB, free: 4.68 MB / 14.72 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 1.547/1.547, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001575/0.001575, allocations: 47.92 kB / 370.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2382, allocations: 52.18 MB / 423.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04283/0.2811, allocations: 37.9 MB / 461 MB, free: 8.664 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006094/0.2871, allocations: 4.611 MB / 465.6 MB, free: 4.043 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003559/0.2875, allocations: 7.938 kB / 465.6 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00087/0.2884, allocations: 302.1 kB / 465.9 MB, free: 3.738 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009604/0.2893, allocations: 489.3 kB / 466.4 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004581/0.2939, allocations: 1.653 MB / 468.1 MB, free: 1.609 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001722/0.2956, allocations: 1.292 MB / 469.4 MB, free: 320 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002796/0.2959, allocations: 130.9 kB / 469.5 MB, free: 180 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007806/0.2967, allocations: 490.5 kB / 470 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005812/0.2973, allocations: 434.3 kB / 470.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.138e-05/0.2974, allocations: 44 kB / 470.4 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001763/0.2991, allocations: 0.7609 MB / 471.2 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.2993, allocations: 143.5 kB / 471.3 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.2996, allocations: 274.9 kB / 471.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00148/0.3011, allocations: 1.055 MB / 472.7 MB, free: 13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3011, allocations: 0 / 472.7 MB, free: 13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3011, allocations: 0 / 472.7 MB, free: 13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.3011, allocations: 0 / 472.7 MB, free: 13 MB / 382.1 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.00127/0.3024, allocations: 0.7114 MB / 473.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3024, allocations: 12.92 kB / 473.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006145/0.303, allocations: 76.62 kB / 473.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000537/0.3036, allocations: 289.7 kB / 473.7 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.266e-05/0.3036, allocations: 29.38 kB / 473.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.3037, allocations: 44.38 kB / 473.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007802/0.3045, allocations: 471.6 kB / 474.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.3045, allocations: 4 kB / 474.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.631e-05/0.3045, allocations: 19.98 kB / 474.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.3046, allocations: 8 kB / 474.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/0.3051, allocations: 303.7 kB / 474.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01412/0.3192, allocations: 5.487 MB / 480.1 MB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.3197, allocations: 262.5 kB / 480.3 MB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.3199, allocations: 132.8 kB / 480.5 MB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/0.3308, allocations: 2.68 MB / 483.2 MB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.3309, allocations: 38.42 kB / 483.2 MB, free: 2.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.254e-06/0.3309, allocations: 0 / 483.2 MB, free: 2.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01257/0.3434, allocations: 2.323 MB / 485.5 MB, free: 15.69 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.3435, allocations: 55.41 kB / 485.6 MB, free: 15.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003845/0.3439, allocations: 304.5 kB / 485.9 MB, free: 15.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.396e-05/0.3439, allocations: 33.7 kB / 485.9 MB, free: 15.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.3441, allocations: 224.5 kB / 486.1 MB, free: 15.05 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.3442, allocations: 174.6 kB / 486.3 MB, free: 14.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.3444, allocations: 98.3 kB / 486.4 MB, free: 14.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3446, allocations: 346.8 kB / 486.7 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.3448, allocations: 153.2 kB / 486.9 MB, free: 14.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.3452, allocations: 272.7 kB / 487.1 MB, free: 13.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007403/0.346, allocations: 476.3 kB / 487.6 MB, free: 13.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.346, allocations: 3.938 kB / 487.6 MB, free: 13.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001276/0.3473, allocations: 0.5919 MB / 488.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3473, allocations: 11.94 kB / 488.2 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3473, allocations: 0 / 488.2 MB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009156/0.3564, allocations: 1.854 MB / 490.1 MB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.3569, allocations: 111.8 kB / 490.2 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/0.3593, allocations: 2.458 MB / 492.6 MB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.3597, allocations: 12.05 kB / 492.6 MB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.196e-05/0.3597, allocations: 27.98 kB / 492.7 MB, free: 8.215 MB / 398.1 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.0002656/0.36, allocations: 181.8 kB / 492.9 MB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.21e-05/0.3601, allocations: 39.77 kB / 492.9 MB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/0.3617, allocations: 0.8763 MB / 493.8 MB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/0.3617, allocations: 12 kB / 493.8 MB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.3617, allocations: 0 / 493.8 MB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001195/0.3629, allocations: 0.9669 MB / 494.7 MB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.3652, allocations: 1.486 MB / 496.2 MB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.3652, allocations: 3.984 kB / 496.2 MB, free: 4.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/0.3655, allocations: 75.91 kB / 496.3 MB, free: 4.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003761/0.3693, allocations: 0.6256 MB / 496.9 MB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.324e-05/0.3694, allocations: 15.94 kB / 497 MB, free: 3.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.3707, allocations: 1.296 MB / 498.2 MB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3707, allocations: 0 / 498.2 MB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.3725, allocations: 1.246 MB / 499.5 MB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3726, allocations: 51.69 kB / 499.5 MB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.347e-05/0.3727, allocations: 12.06 kB / 499.6 MB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.3729, allocations: 19.88 kB / 499.6 MB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.177e-05/0.373, allocations: 31.94 kB / 499.6 MB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.373, allocations: 19.98 kB / 499.6 MB, free: 1.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003353/0.3734, allocations: 207.1 kB / 499.8 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3734, allocations: 0 / 499.8 MB, free: 0.8164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007985/0.3742, allocations: 231.7 kB / 0.4883 GB, free: 0.5898 MB / 398.1 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.0006198/0.3748, allocations: 282.8 kB / 0.4886 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.3761, allocations: 0.6835 MB / 0.4893 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.3761, allocations: 0 / 0.4893 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.3771, allocations: 421.2 kB / 0.4897 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.3785, allocations: 236.8 kB / 0.4899 GB, free: 14.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.3807, allocations: 1.248 MB / 0.4911 GB, free: 13.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00055/0.3812, allocations: 0.8399 MB / 0.4919 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000305/0.3815, allocations: 68.34 kB / 0.492 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.272e-05/0.3816, allocations: 47.42 kB / 0.4921 GB, free: 12.71 MB / 414.1 MB Notification: Performance of SimCode: time 5.92e-07/0.3816, allocations: 0 / 0.4921 GB, free: 12.71 MB / 414.1 MB Notification: Performance of Templates: time 0.02423/0.4059, allocations: 13.3 MB / 0.505 GB, free: 15.5 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.326340479776263]