Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00103/0.00103, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2622, allocations: 50.55 MB / 409.3 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02613/0.2884, allocations: 27.1 MB / 436.4 MB, free: 6.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004563/0.2929, allocations: 4.163 MB / 440.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003017/0.2933, allocations: 7.938 kB / 440.5 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006849/0.294, allocations: 206.7 kB / 440.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007758/0.2948, allocations: 334.1 kB / 441.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003888/0.2987, allocations: 1.475 MB / 442.5 MB, free: 68 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.2998, allocations: 0.8873 MB / 443.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.3, allocations: 104.6 kB / 443.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006018/0.306, allocations: 4.049 MB / 447.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004763/0.3065, allocations: 274.9 kB / 447.8 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.782e-05/0.3066, allocations: 35.94 kB / 447.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.308, allocations: 0.722 MB / 448.6 MB, free: 9.992 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.3082, allocations: 95.7 kB / 448.7 MB, free: 9.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002405/0.3084, allocations: 199.2 kB / 448.9 MB, free: 9.703 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.3098, allocations: 0.8417 MB / 449.7 MB, free: 8.859 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3098, allocations: 0 / 449.7 MB, free: 8.859 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3098, allocations: 0 / 449.7 MB, free: 8.859 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.3098, allocations: 0 / 449.7 MB, free: 8.859 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001012/0.3108, allocations: 0.6549 MB / 450.4 MB, free: 8.156 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.3109, allocations: 8.031 kB / 450.4 MB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004566/0.3113, allocations: 56.53 kB / 450.4 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.3118, allocations: 295.7 kB / 450.7 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.3118, allocations: 20.92 kB / 450.8 MB, free: 7.746 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.3118, allocations: 32.38 kB / 450.8 MB, free: 7.715 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000487/0.3123, allocations: 342.6 kB / 451.1 MB, free: 7.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.3124, allocations: 3.938 kB / 451.1 MB, free: 7.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.3124, allocations: 16 kB / 451.1 MB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3124, allocations: 8 kB / 451.2 MB, free: 7.312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.3127, allocations: 210 kB / 451.4 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.3259, allocations: 5.9 MB / 457.3 MB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.3263, allocations: 190 kB / 457.4 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.3264, allocations: 88.78 kB / 457.5 MB, free: 436 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01066/0.3371, allocations: 3.889 MB / 461.4 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3371, allocations: 38.56 kB / 461.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.625e-06/0.3371, allocations: 0 / 461.5 MB, free: 12.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006214/0.3434, allocations: 1.418 MB / 462.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.3434, allocations: 55.41 kB / 462.9 MB, free: 10.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.3437, allocations: 262.5 kB / 463.2 MB, free: 10.37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.3437, allocations: 29.7 kB / 463.2 MB, free: 10.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3438, allocations: 184.1 kB / 463.4 MB, free: 10.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.481e-05/0.3439, allocations: 98.64 kB / 463.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.344, allocations: 61.61 kB / 463.5 MB, free: 9.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3441, allocations: 342.8 kB / 463.9 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3443, allocations: 91.97 kB / 464 MB, free: 9.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/0.3445, allocations: 182.9 kB / 464.2 MB, free: 9.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.3448, allocations: 306.9 kB / 464.5 MB, free: 8.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3449, allocations: 4 kB / 464.5 MB, free: 8.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006394/0.3455, allocations: 398.9 kB / 464.8 MB, free: 8.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.3455, allocations: 8 kB / 464.9 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.3456, allocations: 4 kB / 464.9 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004214/0.3498, allocations: 0.932 MB / 465.8 MB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002531/0.35, allocations: 71.84 kB / 465.9 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.3515, allocations: 1.978 MB / 467.8 MB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.3517, allocations: 12.16 kB / 467.8 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.3517, allocations: 16 kB / 467.9 MB, free: 5.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.3519, allocations: 153.7 kB / 468 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.3519, allocations: 31.66 kB / 468 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006666/0.3526, allocations: 486.2 kB / 468.5 MB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.3526, allocations: 11.98 kB / 468.5 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3526, allocations: 0 / 468.5 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006102/0.3532, allocations: 0.7168 MB / 469.2 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.3544, allocations: 0.9418 MB / 470.2 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3544, allocations: 0 / 470.2 MB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.3546, allocations: 47.91 kB / 470.2 MB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.3564, allocations: 316.4 kB / 470.5 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.3564, allocations: 11.98 kB / 470.6 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004658/0.3569, allocations: 0.6382 MB / 471.2 MB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3569, allocations: 0 / 471.2 MB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008926/0.3578, allocations: 0.7253 MB / 471.9 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.3579, allocations: 104.8 kB / 472 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.3579, allocations: 8 kB / 472 MB, free: 0.9844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.3581, allocations: 8 kB / 472 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.3582, allocations: 15.98 kB / 472.1 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.3582, allocations: 11.98 kB / 472.1 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001675/0.3584, allocations: 194 kB / 472.3 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3584, allocations: 0 / 472.3 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000674/0.3591, allocations: 187.9 kB / 472.4 MB, free: 0.5781 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005169/0.3596, allocations: 271 kB / 472.7 MB, free: 312 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007511/0.3604, allocations: 467.3 kB / 473.2 MB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3604, allocations: 0 / 473.2 MB, free: 15.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004851/0.3609, allocations: 227.8 kB / 473.4 MB, free: 15.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009002/0.3618, allocations: 180 kB / 473.6 MB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.3629, allocations: 0.7846 MB / 474.3 MB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.3632, allocations: 0.776 MB / 475.1 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.3634, allocations: 50.95 kB / 475.2 MB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.3635, allocations: 31.42 kB / 475.2 MB, free: 13.74 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3635, allocations: 0 / 475.2 MB, free: 13.74 MB / 398.1 MB Notification: Performance of Templates: time 0.01492/0.3784, allocations: 10.01 MB / 485.2 MB, free: 3.773 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches