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.001453/0.001453, allocations: 114.2 kB / 17.69 MB, free: 5.309 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.00151/0.00151, allocations: 191 kB / 18.63 MB, free: 4.375 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.292/1.292, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000968/0.0009682, allocations: 51.58 kB / 302.1 MB, free: 5.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07965/0.08063, allocations: 49.44 MB / 351.5 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1767/0.2574, allocations: 37.43 MB / 388.9 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004456/0.2619, allocations: 4.576 MB / 393.5 MB, free: 3.438 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.2622, allocations: 10.09 kB / 393.5 MB, free: 3.434 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007256/0.2629, allocations: 287.5 kB / 393.8 MB, free: 3.266 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007331/0.2637, allocations: 486.5 kB / 394.3 MB, free: 2.969 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003676/0.2674, allocations: 1.643 MB / 395.9 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001428/0.2688, allocations: 1.27 MB / 397.2 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002754/0.2691, allocations: 175.1 kB / 397.3 MB, free: 1.461 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005453/0.2696, allocations: 467.2 kB / 397.8 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004353/0.2701, allocations: 411.7 kB / 398.2 MB, free: 1.098 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.164e-05/0.2702, allocations: 44.84 kB / 398.2 MB, free: 1.098 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001588/0.2717, allocations: 0.7588 MB / 399 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.2719, allocations: 130.2 kB / 399.1 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002757/0.2722, allocations: 288.9 kB / 399.4 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.2733, allocations: 1.043 MB / 400.5 MB, free: 15.99 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.2733, allocations: 3.984 kB / 400.5 MB, free: 15.99 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2733, allocations: 0 / 400.5 MB, free: 15.99 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.2733, allocations: 0 / 400.5 MB, free: 15.99 MB / 318.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.001101/0.2744, allocations: 0.7717 MB / 401.2 MB, free: 15.35 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.2745, allocations: 6.938 kB / 401.2 MB, free: 15.35 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005936/0.2751, allocations: 87 kB / 401.3 MB, free: 15.31 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/0.2757, allocations: 343.6 kB / 401.7 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.2757, allocations: 30.06 kB / 401.7 MB, free: 14.97 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.133e-05/0.2758, allocations: 37.25 kB / 401.7 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006843/0.2765, allocations: 471.5 kB / 402.2 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.2765, allocations: 13.66 kB / 402.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.073e-05/0.2765, allocations: 17.38 kB / 402.2 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.2766, allocations: 13.03 kB / 402.2 MB, free: 14.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.277, allocations: 298.3 kB / 402.5 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01338/0.2904, allocations: 6.742 MB / 409.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.2909, allocations: 267.2 kB / 409.5 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.2911, allocations: 153.7 kB / 409.7 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01039/0.3015, allocations: 3.89 MB / 413.6 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.3016, allocations: 38.5 kB / 413.6 MB, free: 5.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.104e-06/0.3016, allocations: 0 / 413.6 MB, free: 5.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01194/0.3135, allocations: 2.46 MB / 416.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.3136, allocations: 59.34 kB / 416.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.3139, allocations: 307.2 kB / 416.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.4e-05/0.314, allocations: 29.7 kB / 416.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.3141, allocations: 228 kB / 416.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.3142, allocations: 161.7 kB / 416.8 MB, free: 2.371 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.3144, allocations: 102.2 kB / 416.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3145, allocations: 346.8 kB / 417.3 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002422/0.3148, allocations: 157.1 kB / 417.4 MB, free: 1.762 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.3151, allocations: 263.7 kB / 417.7 MB, free: 1.457 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006141/0.3157, allocations: 476.2 kB / 418.1 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3157, allocations: 8 kB / 418.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001032/0.3168, allocations: 0.5921 MB / 418.7 MB, free: 332 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3168, allocations: 11.94 kB / 418.8 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.3168, allocations: 4 kB / 418.8 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007731/0.3246, allocations: 1.845 MB / 420.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.325, allocations: 107.9 kB / 420.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.3269, allocations: 2.561 MB / 423.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.3272, allocations: 12 kB / 423.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.3272, allocations: 20 kB / 423.3 MB, free: 11.58 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.0002269/0.3275, allocations: 185.6 kB / 423.5 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.373e-05/0.3276, allocations: 35.62 kB / 423.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/0.3287, allocations: 0.8552 MB / 424.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.3287, allocations: 20.02 kB / 424.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.3287, allocations: 0 / 424.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009928/0.3297, allocations: 0.9573 MB / 425.4 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.3317, allocations: 1.486 MB / 426.8 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3317, allocations: 4.031 kB / 426.8 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003074/0.332, allocations: 75.91 kB / 426.9 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003323/0.3353, allocations: 0.6139 MB / 427.5 MB, free: 7.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.686e-05/0.3354, allocations: 15.98 kB / 427.5 MB, free: 7.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009216/0.3363, allocations: 1.284 MB / 428.8 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3363, allocations: 0 / 428.8 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.3378, allocations: 1.225 MB / 430.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.338, allocations: 116.5 kB / 430.2 MB, free: 4.445 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.338, allocations: 16 kB / 430.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.3383, allocations: 12 kB / 430.2 MB, free: 4.418 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.3383, allocations: 27.94 kB / 430.2 MB, free: 4.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.3384, allocations: 23.98 kB / 430.2 MB, free: 4.367 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.3386, allocations: 213.9 kB / 430.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.543e-06/0.3386, allocations: 0 / 430.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007655/0.3394, allocations: 231.9 kB / 430.7 MB, free: 3.93 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.0005575/0.3399, allocations: 279.1 kB / 431 MB, free: 3.645 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.3411, allocations: 0.6907 MB / 431.6 MB, free: 2.941 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3411, allocations: 4 kB / 431.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008826/0.342, allocations: 432.2 kB / 432.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.3431, allocations: 236.8 kB / 432.3 MB, free: 2.285 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.3449, allocations: 1.234 MB / 433.5 MB, free: 1.031 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.3454, allocations: 0.8363 MB / 434.4 MB, free: 176 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002619/0.3456, allocations: 76.33 kB / 434.4 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.664e-05/0.3457, allocations: 35.44 kB / 434.5 MB, free: 60 kB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3457, allocations: 0 / 434.5 MB, free: 60 kB / 334.1 MB Notification: Performance of Templates: time 0.0191/0.3648, allocations: 12.67 MB / 447.2 MB, free: 3.484 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 -s cvode -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