Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001644/0.001644, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, allocations: 101.5 kB / 296.7 MB, free: 6.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009843/0.0009845, allocations: 51.92 kB / 356.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2127, allocations: 50.45 MB / 407 MB, free: 27.83 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02454/0.2373, allocations: 28.29 MB / 435.3 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.2399, allocations: 2.341 MB / 437.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.417e-05/0.24, allocations: 0 / 437.7 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.2404, allocations: 63.7 kB / 437.7 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.2407, allocations: 143.3 kB / 437.9 MB, free: 12.92 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01305/0.2538, allocations: 5.397 MB / 443.3 MB, free: 7.527 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005056/0.2543, allocations: 474.6 kB / 443.7 MB, free: 7.062 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.2543, allocations: 13.11 kB / 443.8 MB, free: 7.047 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.2546, allocations: 119.5 kB / 443.9 MB, free: 6.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.2548, allocations: 127.6 kB / 444 MB, free: 6.805 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.055e-05/0.2548, allocations: 8 kB / 444 MB, free: 6.797 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01485/0.2697, allocations: 9.6 MB / 453.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2698, allocations: 67.8 kB / 453.7 MB, free: 13.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.27, allocations: 87.64 kB / 453.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008479/0.2785, allocations: 4.791 MB / 458.5 MB, free: 8.227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2785, allocations: 3.938 kB / 458.6 MB, free: 8.223 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2785, allocations: 0 / 458.6 MB, free: 8.223 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.2785, allocations: 0 / 458.6 MB, free: 8.223 MB / 330.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.002783/0.2813, allocations: 1.116 MB / 459.7 MB, free: 7.059 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2814, allocations: 12.03 kB / 459.7 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.2815, allocations: 24.5 kB / 459.7 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.2818, allocations: 218.7 kB / 459.9 MB, free: 6.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.2818, allocations: 8.328 kB / 459.9 MB, free: 6.762 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.2818, allocations: 24 kB / 459.9 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006555/0.2825, allocations: 285.4 kB / 460.2 MB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.2825, allocations: 3.984 kB / 460.2 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.83e-05/0.2825, allocations: 11.94 kB / 460.2 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.2826, allocations: 4 kB / 460.2 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008125/0.2834, allocations: 321.2 kB / 460.6 MB, free: 6.117 MB / 330.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.001359/0.2848, allocations: 0.8205 MB / 461.4 MB, free: 5.219 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006884/0.2855, allocations: 261.1 kB / 461.6 MB, free: 4.945 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.2858, allocations: 138.5 kB / 461.8 MB, free: 4.805 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01467/0.3004, allocations: 12.83 MB / 474.6 MB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.3005, allocations: 42.56 kB / 474.6 MB, free: 5.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.485e-06/0.3005, allocations: 0 / 474.6 MB, free: 5.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002806/0.3033, allocations: 0.6933 MB / 475.3 MB, free: 4.715 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3034, allocations: 81.11 kB / 475.4 MB, free: 4.617 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3035, allocations: 134.1 kB / 475.5 MB, free: 4.477 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.717e-05/0.3035, allocations: 29.7 kB / 475.6 MB, free: 4.441 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.3036, allocations: 108.8 kB / 475.7 MB, free: 4.328 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.158e-05/0.3037, allocations: 126.2 kB / 475.8 MB, free: 4.203 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.3038, allocations: 69.67 kB / 475.9 MB, free: 4.129 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.3039, allocations: 330.8 kB / 476.2 MB, free: 3.797 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000393/0.3043, allocations: 139.9 kB / 476.3 MB, free: 3.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004704/0.3048, allocations: 211.5 kB / 476.5 MB, free: 3.426 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008956/0.3057, allocations: 359.4 kB / 476.9 MB, free: 3.051 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3057, allocations: 3.938 kB / 476.9 MB, free: 3.047 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001132/0.3069, allocations: 419.7 kB / 477.3 MB, free: 2.633 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3069, allocations: 10.81 kB / 477.3 MB, free: 2.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3069, allocations: 3.938 kB / 477.3 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3069, allocations: 4 kB / 477.3 MB, free: 2.617 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004862/0.3074, allocations: 100.1 kB / 477.4 MB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.3075, allocations: 11.92 kB / 477.4 MB, free: 2.508 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.3078, allocations: 27.83 kB / 477.5 MB, free: 2.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.3078, allocations: 19.98 kB / 477.5 MB, free: 2.461 MB / 346.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.308, allocations: 141.8 kB / 477.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.3081, allocations: 19.81 kB / 477.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004621/0.3086, allocations: 186.3 kB / 477.8 MB, free: 2.109 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.3086, allocations: 7.938 kB / 477.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3086, allocations: 4 kB / 477.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3086, allocations: 0 / 477.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.3103, allocations: 0.7597 MB / 478.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3103, allocations: 4 kB / 478.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/0.3107, allocations: 87.81 kB / 478.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.426e-05/0.3108, allocations: 4.156 kB / 478.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/0.3108, allocations: 15.98 kB / 478.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.3108, allocations: 4 kB / 478.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3108, allocations: 0 / 478.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/0.3137, allocations: 1.739 MB / 480.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.3138, allocations: 120.9 kB / 480.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.3138, allocations: 16.06 kB / 480.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.3142, allocations: 23.89 kB / 480.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.3143, allocations: 31.84 kB / 480.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.3143, allocations: 23.92 kB / 480.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.278e-05/0.3144, allocations: 99.31 kB / 480.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3144, allocations: 0 / 480.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002744/0.3171, allocations: 0.9838 MB / 481.7 MB, free: 13.95 MB / 362.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003652/0.3208, allocations: 1.25 MB / 483 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009998/0.3218, allocations: 338.8 kB / 483.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3218, allocations: 0 / 483.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.3223, allocations: 191 kB / 483.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007208/0.323, allocations: 100.3 kB / 483.6 MB, free: 12.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.3246, allocations: 0.9058 MB / 484.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.3248, allocations: 0.7374 MB / 485.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004264/0.3253, allocations: 89.88 kB / 485.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001491/0.3254, allocations: 39.42 kB / 485.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3254, allocations: 0 / 485.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of Templates: time 0.1976/0.5231, allocations: 29.57 MB / 0.5029 GB, free: 95.39 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches