Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009396/0.0009398, allocations: 175.2 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.421/1.421, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009287/0.0009288, allocations: 89.48 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.000327, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2097, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02304/0.2328, allocations: 24.68 MB / 399.8 MB, free: 23.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.2347, allocations: 2.082 MB / 401.8 MB, free: 21.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.288e-05/0.2348, allocations: 4 kB / 401.8 MB, free: 21.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.2351, allocations: 43.78 kB / 401.9 MB, free: 21.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.2354, allocations: 147.2 kB / 402 MB, free: 21.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01193/0.2473, allocations: 4.82 MB / 406.9 MB, free: 16.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003722/0.2477, allocations: 394.4 kB / 407.2 MB, free: 16.5 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.121e-05/0.2478, allocations: 12.91 kB / 407.2 MB, free: 16.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.248, allocations: 123.6 kB / 407.4 MB, free: 16.37 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.2482, allocations: 123.6 kB / 407.5 MB, free: 16.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.2482, allocations: 8 kB / 407.5 MB, free: 16.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01364/0.2618, allocations: 9.174 MB / 416.7 MB, free: 7.051 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.262, allocations: 67.83 kB / 416.7 MB, free: 6.984 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.2621, allocations: 105.4 kB / 416.8 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005575/0.2677, allocations: 3.15 MB / 420 MB, free: 3.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.2678, allocations: 0 / 420 MB, free: 3.719 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2678, allocations: 4 kB / 420 MB, free: 3.715 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.2678, allocations: 4 kB / 420 MB, free: 3.711 MB / 298.7 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.00299/0.2708, allocations: 1.061 MB / 421.1 MB, free: 2.598 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.2708, allocations: 12.03 kB / 421.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.271, allocations: 24.5 kB / 421.1 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.2712, allocations: 214.8 kB / 421.3 MB, free: 2.312 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.2712, allocations: 12.33 kB / 421.3 MB, free: 2.301 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.2712, allocations: 15.91 kB / 421.3 MB, free: 2.285 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/0.2718, allocations: 301.3 kB / 421.6 MB, free: 1.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.2719, allocations: 0 / 421.6 MB, free: 1.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.2719, allocations: 4 kB / 421.6 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/0.2719, allocations: 8 kB / 421.6 MB, free: 1.969 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000653/0.2726, allocations: 315.5 kB / 421.9 MB, free: 1.664 MB / 298.7 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.00122/0.2738, allocations: 0.8223 MB / 422.8 MB, free: 0.7656 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006314/0.2745, allocations: 253.1 kB / 423 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.2747, allocations: 129.6 kB / 423.1 MB, free: 376 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01503/0.2898, allocations: 12.92 MB / 436.1 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.2899, allocations: 42.56 kB / 436.1 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.807e-06/0.2899, allocations: 3.984 kB / 436.1 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002715/0.2926, allocations: 0.6926 MB / 436.8 MB, free: 192 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.2926, allocations: 81.11 kB / 436.9 MB, free: 92 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.2928, allocations: 125.8 kB / 437 MB, free: 15.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.2928, allocations: 37.69 kB / 437 MB, free: 15.91 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.2929, allocations: 104.8 kB / 437.1 MB, free: 15.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.293, allocations: 126.1 kB / 437.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.592e-05/0.293, allocations: 12 kB / 437.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2932, allocations: 330.8 kB / 437.6 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.2935, allocations: 135.8 kB / 437.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/0.294, allocations: 211.5 kB / 437.9 MB, free: 14.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008996/0.2949, allocations: 371 kB / 438.3 MB, free: 14.58 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.2949, allocations: 0 / 438.3 MB, free: 14.58 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001088/0.296, allocations: 409.2 kB / 438.7 MB, free: 14.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.296, allocations: 8 kB / 438.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.296, allocations: 0 / 438.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.296, allocations: 4 kB / 438.7 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.2965, allocations: 91.88 kB / 438.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.2965, allocations: 7.938 kB / 438.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.2969, allocations: 36 kB / 438.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.2969, allocations: 12 kB / 438.9 MB, free: 14.02 MB / 330.7 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.0001562/0.2971, allocations: 146.4 kB / 439 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.2972, allocations: 19.81 kB / 439 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004866/0.2977, allocations: 186.3 kB / 439.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.2977, allocations: 7.938 kB / 439.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.2977, allocations: 0 / 439.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2977, allocations: 0 / 439.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00169/0.2994, allocations: 0.7674 MB / 440 MB, free: 12.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.2995, allocations: 3.984 kB / 440 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.2999, allocations: 79.89 kB / 440.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.2999, allocations: 0 / 440.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.2999, allocations: 15.98 kB / 440.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.2999, allocations: 4 kB / 440.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3, allocations: 0 / 440.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.3014, allocations: 0.704 MB / 440.8 MB, free: 11.97 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.3016, allocations: 124.8 kB / 440.9 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.3017, allocations: 8 kB / 440.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.302, allocations: 28.03 kB / 440.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.3021, allocations: 27.91 kB / 441 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.139e-05/0.3021, allocations: 12 kB / 441 MB, free: 11.76 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.427e-05/0.3022, allocations: 103.2 kB / 441.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3022, allocations: 0 / 441.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002653/0.3049, allocations: 0.9253 MB / 442 MB, free: 10.73 MB / 330.7 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.004713/0.3096, allocations: 1.267 MB / 443.3 MB, free: 9.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.3107, allocations: 347.3 kB / 443.6 MB, free: 9.121 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3107, allocations: 0 / 443.6 MB, free: 9.121 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.3112, allocations: 184.5 kB / 443.8 MB, free: 8.941 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007593/0.3119, allocations: 96.61 kB / 443.9 MB, free: 8.848 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.3134, allocations: 0.7494 MB / 444.6 MB, free: 8.051 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.3138, allocations: 0.7374 MB / 445.4 MB, free: 7.285 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.314, allocations: 55.33 kB / 445.4 MB, free: 7.23 MB / 330.7 MB Notification: Performance of SimCode: time 3.71e-07/0.314, allocations: 0 / 445.4 MB, free: 7.23 MB / 330.7 MB Notification: Performance of Templates: time 0.03119/0.3452, allocations: 20.93 MB / 466.4 MB, free: 2.27 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches