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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 107.8 kB / 17.16 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241.8 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 44.48 kB / 300.6 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09461/0.09566, allocations: 49.44 MB / 350.1 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.188/0.2837, allocations: 37.69 MB / 387.7 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00491/0.2887, allocations: 4.618 MB / 392.4 MB, free: 3.539 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004276/0.2892, allocations: 8.75 kB / 392.4 MB, free: 3.535 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008196/0.29, allocations: 248 kB / 392.6 MB, free: 3.402 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009514/0.291, allocations: 475.8 kB / 393.1 MB, free: 3.129 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004284/0.2953, allocations: 1.395 MB / 394.5 MB, free: 2.383 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002278/0.2976, allocations: 1.952 MB / 396.4 MB, free: 1.727 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.2979, allocations: 131.9 kB / 396.6 MB, free: 1.668 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008023/0.2987, allocations: 403.7 kB / 396.9 MB, free: 1.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005959/0.2993, allocations: 426.9 kB / 397.4 MB, free: 1.352 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.634e-05/0.2994, allocations: 25.38 kB / 397.4 MB, free: 1.352 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.3011, allocations: 0.7285 MB / 398.1 MB, free: 1.152 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.3013, allocations: 114.8 kB / 398.2 MB, free: 1.098 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.3016, allocations: 260.3 kB / 398.5 MB, free: 0.9766 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008715/0.3025, allocations: 0.7686 MB / 399.2 MB, free: 500 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3025, allocations: 0 / 399.2 MB, free: 500 kB / 302.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.3025, allocations: 7.875 kB / 399.3 MB, free: 492 kB / 302.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.3025, allocations: 0 / 399.3 MB, free: 492 kB / 302.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.001152/0.3037, allocations: 0.7695 MB / 400 MB, free: 15.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3037, allocations: 14.11 kB / 400 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005899/0.3043, allocations: 77.53 kB / 400.1 MB, free: 15.8 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.3048, allocations: 332.3 kB / 400.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.3048, allocations: 28.91 kB / 400.5 MB, free: 15.47 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.175e-05/0.3049, allocations: 38.41 kB / 400.5 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007022/0.3056, allocations: 475.3 kB / 401 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.3056, allocations: 2.5 kB / 401 MB, free: 15.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.543e-05/0.3057, allocations: 20.81 kB / 401 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.3057, allocations: 13.47 kB / 401 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000448/0.3062, allocations: 310.4 kB / 401.3 MB, free: 14.95 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01405/0.3202, allocations: 6.719 MB / 408 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.3207, allocations: 280.4 kB / 408.3 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/0.3209, allocations: 155.8 kB / 408.5 MB, free: 9.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01064/0.3316, allocations: 3.887 MB / 412.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/0.3317, allocations: 41.89 kB / 412.4 MB, free: 6.379 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.445e-06/0.3317, allocations: 0 / 412.4 MB, free: 6.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01251/0.3442, allocations: 2.458 MB / 414.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.3443, allocations: 63.34 kB / 414.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004003/0.3447, allocations: 303.2 kB / 415.2 MB, free: 3.504 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.542e-05/0.3448, allocations: 37.7 kB / 415.2 MB, free: 3.461 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.345, allocations: 224 kB / 415.5 MB, free: 3.238 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.3451, allocations: 157.7 kB / 415.6 MB, free: 3.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.3453, allocations: 94.16 kB / 415.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3455, allocations: 350.8 kB / 416 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.3457, allocations: 153.1 kB / 416.2 MB, free: 2.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.3461, allocations: 283.6 kB / 416.5 MB, free: 2.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006974/0.3468, allocations: 472.3 kB / 416.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3468, allocations: 0 / 416.9 MB, free: 1.645 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001185/0.348, allocations: 0.5839 MB / 417.5 MB, free: 1.043 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/0.3481, allocations: 11.94 kB / 417.5 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.3481, allocations: 7.938 kB / 417.5 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00801/0.3561, allocations: 1.85 MB / 419.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.3566, allocations: 107.8 kB / 419.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.3587, allocations: 2.471 MB / 422 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.3592, allocations: 32.05 kB / 422 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.3592, allocations: 23.98 kB / 422 MB, free: 12.37 MB / 334.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.0002352/0.3594, allocations: 169.7 kB / 422.2 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.566e-05/0.3595, allocations: 47.47 kB / 422.2 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.3607, allocations: 0.859 MB / 423.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.3608, allocations: 11.98 kB / 423.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.3608, allocations: 0 / 423.1 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009797/0.3618, allocations: 0.9574 MB / 424.1 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.3637, allocations: 1.492 MB / 425.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3637, allocations: 0 / 425.5 MB, free: 8.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/0.364, allocations: 75.89 kB / 425.6 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003471/0.3675, allocations: 0.6255 MB / 426.2 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-05/0.3676, allocations: 11.98 kB / 426.3 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.3686, allocations: 1.288 MB / 427.5 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3686, allocations: 0 / 427.5 MB, free: 6.613 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.3703, allocations: 1.219 MB / 428.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.3705, allocations: 120.6 kB / 428.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.038e-05/0.3706, allocations: 15.94 kB / 428.9 MB, free: 5.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003416/0.3709, allocations: 23.97 kB / 428.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.539e-05/0.371, allocations: 27.95 kB / 428.9 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.169e-05/0.371, allocations: 23.98 kB / 429 MB, free: 5.145 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002631/0.3713, allocations: 213.9 kB / 429.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3713, allocations: 0 / 429.2 MB, free: 4.93 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009391/0.3722, allocations: 227.9 kB / 429.4 MB, free: 4.707 MB / 334.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.0006719/0.3729, allocations: 282.8 kB / 429.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.3742, allocations: 0.6875 MB / 430.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3742, allocations: 0 / 430.4 MB, free: 3.719 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009296/0.3752, allocations: 440.1 kB / 430.8 MB, free: 3.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.3764, allocations: 230 kB / 431 MB, free: 3.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.3785, allocations: 1.457 MB / 432.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.3789, allocations: 0.8366 MB / 433.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.379, allocations: 43.44 kB / 433.4 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of SimCode: time 7.91e-07/0.379, allocations: 4 kB / 433.4 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of Templates: time 0.01709/0.3961, allocations: 12.92 MB / 446.3 MB, free: 3.762 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (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) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches