Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009308/0.0009308, allocations: 99.47 kB / 16.3 MB, free: 5.551 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.0009381/0.0009381, allocations: 183 kB / 17.2 MB, free: 5.484 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.266/1.266, allocations: 223.2 MB / 241.1 MB, free: 14.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002669/0.0002669, allocations: 11.94 kB / 300.7 MB, free: 6.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.086/0.08628, allocations: 50.41 MB / 351.1 MB, free: 3.801 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1786/0.2649, allocations: 21.9 MB / 373 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.2672, allocations: 1.886 MB / 374.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.278e-05/0.2673, allocations: 0.6875 kB / 374.9 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002593/0.2675, allocations: 45.78 kB / 375 MB, free: 8.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.2679, allocations: 117.6 kB / 375.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0126/0.2805, allocations: 4.757 MB / 379.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000372/0.2808, allocations: 181.2 kB / 380 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.2809, allocations: 11.7 kB / 380 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.2812, allocations: 127.6 kB / 380.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001642/0.2813, allocations: 81.33 kB / 380.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.2814, allocations: 7.625 kB / 380.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01522/0.2966, allocations: 8.335 MB / 388.6 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.2967, allocations: 55.59 kB / 388.6 MB, free: 7.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.734e-05/0.2969, allocations: 55.3 kB / 388.7 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00493/0.3018, allocations: 2.951 MB / 391.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.3018, allocations: 1.125 kB / 391.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3018, allocations: 0 / 391.6 MB, free: 6.457 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.87e-06/0.3018, allocations: 4 kB / 391.6 MB, free: 6.453 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002563/0.3044, allocations: 1.071 MB / 392.7 MB, free: 5.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.3044, allocations: 9.625 kB / 392.7 MB, free: 5.676 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.3046, allocations: 20.19 kB / 392.7 MB, free: 5.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.3048, allocations: 210.2 kB / 392.9 MB, free: 5.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.3048, allocations: 17.95 kB / 393 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.3048, allocations: 15.88 kB / 393 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006111/0.3054, allocations: 291.7 kB / 393.3 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3055, allocations: 1.375 kB / 393.3 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.3055, allocations: 5.25 kB / 393.3 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.3055, allocations: 5.5 kB / 393.3 MB, free: 5.332 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007024/0.3062, allocations: 308 kB / 393.6 MB, free: 5.27 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.3074, allocations: 0.8275 MB / 394.4 MB, free: 4.656 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006287/0.3081, allocations: 252.1 kB / 394.6 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01381/0.3219, allocations: 12.91 MB / 407.6 MB, free: 6.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.322, allocations: 41.36 kB / 407.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of pre-optimization done (n=29): time 1.994e-06/0.322, allocations: 3.938 kB / 407.6 MB, free: 6.793 MB / 318.1 MB Notification: Performance of matching and sorting (n=36): time 0.002636/0.3246, allocations: 0.6873 MB / 408.3 MB, free: 6.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.3247, allocations: 81.23 kB / 408.4 MB, free: 6.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3248, allocations: 129.9 kB / 408.5 MB, free: 6.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.334e-05/0.3248, allocations: 29.58 kB / 408.5 MB, free: 6.371 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.356e-05/0.3249, allocations: 112.4 kB / 408.6 MB, free: 6.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.136e-05/0.325, allocations: 129.4 kB / 408.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.325, allocations: 7.312 kB / 408.8 MB, free: 6.176 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.3251, allocations: 325.8 kB / 409.1 MB, free: 5.859 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.3255, allocations: 133.2 kB / 409.2 MB, free: 5.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004469/0.3259, allocations: 217.6 kB / 409.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000437/0.3264, allocations: 157.7 kB / 409.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3264, allocations: 0 / 409.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001082/0.3275, allocations: 407 kB / 410 MB, free: 5.273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.3275, allocations: 8 kB / 410 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3275, allocations: 0 / 410 MB, free: 5.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3275, allocations: 4 kB / 410 MB, free: 5.262 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004575/0.328, allocations: 89 kB / 410.1 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.328, allocations: 7.984 kB / 410.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.3283, allocations: 35.58 kB / 410.1 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.3284, allocations: 19.98 kB / 410.1 MB, free: 5.129 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.3285, allocations: 143.4 kB / 410.3 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.3287, allocations: 19.81 kB / 410.3 MB, free: 4.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004562/0.3291, allocations: 194.1 kB / 410.5 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3292, allocations: 4 kB / 410.5 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.3292, allocations: 0 / 410.5 MB, free: 4.832 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3292, allocations: 3.938 kB / 410.5 MB, free: 4.828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.3308, allocations: 0.7749 MB / 411.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3308, allocations: 2.5 kB / 411.3 MB, free: 4.133 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.3312, allocations: 77.7 kB / 411.4 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.3312, allocations: 4 kB / 411.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.3313, allocations: 14.75 kB / 411.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.3313, allocations: 6.906 kB / 411.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3313, allocations: 0 / 411.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.3328, allocations: 0.7751 MB / 412.2 MB, free: 3.348 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.3329, allocations: 120.9 kB / 412.3 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.409e-05/0.333, allocations: 9.938 kB / 412.3 MB, free: 3.215 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.3333, allocations: 23.19 kB / 412.3 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.3334, allocations: 26.22 kB / 412.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.3334, allocations: 23.3 kB / 412.4 MB, free: 3.156 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.664e-05/0.3335, allocations: 97.77 kB / 412.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3335, allocations: 0 / 412.4 MB, free: 3.066 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002611/0.3361, allocations: 0.926 MB / 413.4 MB, free: 2.195 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003181/0.3393, allocations: 1.174 MB / 414.5 MB, free: 1.121 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000925/0.3402, allocations: 345.5 kB / 414.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3402, allocations: 0 / 414.9 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004467/0.3407, allocations: 180 kB / 415.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.3413, allocations: 100.5 kB / 415.2 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.3425, allocations: 0.7043 MB / 415.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.3428, allocations: 0.7418 MB / 416.6 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004109/0.3432, allocations: 85.88 kB / 416.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.3434, allocations: 35.41 kB / 416.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3434, allocations: 4 kB / 416.7 MB, free: 14.91 MB / 334.1 MB Notification: Performance of Templates: time 0.03774/0.3811, allocations: 29.51 MB / 446.2 MB, free: 1.465 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches