Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00198/0.00198, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002497/0.002497, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 63.89 kB / 379 MB, free: 2.281 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.258, allocations: 53.4 MB / 432.4 MB, free: 6.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0411/0.2991, allocations: 33.99 MB / 466.4 MB, free: 4.387 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006257/0.3054, allocations: 4.171 MB / 470.6 MB, free: 212 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004134/0.3058, allocations: 7.938 kB / 470.6 MB, free: 204 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00095/0.3067, allocations: 274.2 kB / 470.8 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.3078, allocations: 493.3 kB / 471.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004819/0.3126, allocations: 1.638 MB / 473 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001835/0.3145, allocations: 1.284 MB / 474.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.3147, allocations: 118.9 kB / 474.4 MB, free: 12.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007725/0.3155, allocations: 494.4 kB / 474.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005961/0.3161, allocations: 410.3 kB / 475.2 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.624e-05/0.3162, allocations: 48 kB / 475.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.3178, allocations: 0.7258 MB / 476 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.318, allocations: 139.5 kB / 476.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.3183, allocations: 235.2 kB / 476.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.3198, allocations: 1.063 MB / 477.4 MB, free: 9.305 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3199, allocations: 3.938 kB / 477.4 MB, free: 9.301 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.3199, allocations: 4 kB / 477.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.3199, allocations: 3.984 kB / 477.5 MB, free: 9.293 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.001258/0.3211, allocations: 0.7075 MB / 478.2 MB, free: 8.551 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3212, allocations: 11.98 kB / 478.2 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006241/0.3218, allocations: 80.62 kB / 478.3 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005882/0.3224, allocations: 277.8 kB / 478.5 MB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.3224, allocations: 29.38 kB / 478.6 MB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.5e-05/0.3225, allocations: 44.36 kB / 478.6 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009041/0.3234, allocations: 0.6691 MB / 479.3 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.3234, allocations: 0 / 479.3 MB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.3234, allocations: 24 kB / 479.3 MB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.3235, allocations: 8 kB / 479.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005095/0.324, allocations: 299.7 kB / 479.6 MB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01282/0.3368, allocations: 4.573 MB / 484.2 MB, free: 2.355 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.3373, allocations: 261.8 kB / 484.4 MB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002372/0.3375, allocations: 135.7 kB / 484.6 MB, free: 1.961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009945/0.3475, allocations: 2.692 MB / 487.2 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/0.3475, allocations: 38.55 kB / 487.3 MB, free: 15.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.384e-06/0.3475, allocations: 4 kB / 487.3 MB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01183/0.3594, allocations: 2.307 MB / 489.6 MB, free: 12.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.3594, allocations: 59.34 kB / 489.6 MB, free: 12.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.3598, allocations: 277.7 kB / 489.9 MB, free: 12.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.704e-05/0.3598, allocations: 37.7 kB / 490 MB, free: 12.47 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.36, allocations: 228.4 kB / 490.2 MB, free: 12.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.3601, allocations: 170.5 kB / 490.3 MB, free: 12.08 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.3603, allocations: 94.34 kB / 490.4 MB, free: 11.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3605, allocations: 346.8 kB / 490.8 MB, free: 11.63 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/0.3607, allocations: 149.2 kB / 490.9 MB, free: 11.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.3611, allocations: 287.8 kB / 491.2 MB, free: 11.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007124/0.3618, allocations: 468.3 kB / 491.7 MB, free: 10.65 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3618, allocations: 0 / 491.7 MB, free: 10.65 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001128/0.3629, allocations: 0.5919 MB / 492.3 MB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.363, allocations: 11.94 kB / 492.3 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.363, allocations: 7.938 kB / 492.3 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00773/0.3707, allocations: 1.852 MB / 494.1 MB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.3712, allocations: 111.8 kB / 494.2 MB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.3735, allocations: 2.435 MB / 496.7 MB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.3738, allocations: 16 kB / 496.7 MB, free: 5.473 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.3739, allocations: 20 kB / 496.7 MB, free: 5.453 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.000258/0.3741, allocations: 173.7 kB / 496.9 MB, free: 5.273 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.731e-05/0.3742, allocations: 43.7 kB / 496.9 MB, free: 5.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.3755, allocations: 0.8685 MB / 497.8 MB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.3755, allocations: 12.06 kB / 497.8 MB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-06/0.3755, allocations: 0 / 497.8 MB, free: 4.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001117/0.3767, allocations: 0.9784 MB / 498.8 MB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.3787, allocations: 1.359 MB / 0.4884 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/0.3787, allocations: 0 / 0.4884 GB, free: 1.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.379, allocations: 79.89 kB / 0.4885 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003267/0.3823, allocations: 0.6141 MB / 0.4891 GB, free: 1.18 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.3824, allocations: 19.98 kB / 0.4891 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.3835, allocations: 1.292 MB / 0.4904 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3835, allocations: 0 / 0.4904 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.3852, allocations: 1.258 MB / 0.4916 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.3853, allocations: 35.8 kB / 0.4916 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.3854, allocations: 15.98 kB / 0.4916 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.3856, allocations: 8 kB / 0.4917 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.85e-05/0.3856, allocations: 35.98 kB / 0.4917 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.3857, allocations: 15.98 kB / 0.4917 GB, free: 14.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002211/0.3859, allocations: 193.1 kB / 0.4919 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3859, allocations: 4 kB / 0.4919 GB, free: 14.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000774/0.3867, allocations: 231.7 kB / 0.4921 GB, free: 14 MB / 414.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.3873, allocations: 278.3 kB / 0.4924 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.3886, allocations: 0.6834 MB / 0.493 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3886, allocations: 0 / 0.493 GB, free: 13.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009394/0.3895, allocations: 432.2 kB / 0.4935 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.3906, allocations: 196.7 kB / 0.4936 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.3927, allocations: 1.267 MB / 0.4949 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.393, allocations: 245.2 kB / 0.4951 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.3931, allocations: 35.44 kB / 0.4952 GB, free: 10.81 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3931, allocations: 0 / 0.4952 GB, free: 10.81 MB / 414.1 MB Notification: Performance of Templates: time 0.018/0.4111, allocations: 12.95 MB / 0.5078 GB, free: 13.86 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.692581396084279]