Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009072/0.0009072, allocations: 193.5 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 226.6 MB / 244.3 MB, free: 8.309 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007147/0.0007146, allocations: 104.2 kB / 296.4 MB, free: 7.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001868/0.0001869, allocations: 12 kB / 356.2 MB, free: 11.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1692, allocations: 51.3 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.01791/0.1872, allocations: 24.57 MB / 432.1 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1889, allocations: 2.07 MB / 434.1 MB, free: 1.117 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.53e-05/0.1889, allocations: 4 kB / 434.1 MB, free: 1.113 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.1891, allocations: 39.73 kB / 434.2 MB, free: 1.074 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.1894, allocations: 143.3 kB / 434.3 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01026/0.1996, allocations: 4.836 MB / 439.2 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000373/0.2, allocations: 394.7 kB / 439.5 MB, free: 11.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.026e-05/0.2001, allocations: 5.125 kB / 439.5 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.2002, allocations: 131.5 kB / 439.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.2004, allocations: 119.6 kB / 439.8 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.2005, allocations: 8 kB / 439.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/0.2126, allocations: 8.341 MB / 448.1 MB, free: 3.109 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.945e-05/0.2127, allocations: 63.84 kB / 448.2 MB, free: 3.047 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.428e-05/0.2128, allocations: 53.64 kB / 448.3 MB, free: 2.988 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004141/0.2169, allocations: 3.025 MB / 451.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.217, allocations: 0 / 451.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.217, allocations: 0 / 451.3 MB, free: 15.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.217, allocations: 0 / 451.3 MB, free: 15.96 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.002802/0.2198, allocations: 1.088 MB / 452.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.2198, allocations: 12.03 kB / 452.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.22, allocations: 19.81 kB / 452.4 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.2202, allocations: 214.8 kB / 452.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.2202, allocations: 8.328 kB / 452.6 MB, free: 14.53 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.2203, allocations: 20 kB / 452.6 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006494/0.2209, allocations: 277.4 kB / 452.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.2209, allocations: 7.906 kB / 452.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.221, allocations: 12 kB / 452.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.221, allocations: 4 kB / 452.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007161/0.2217, allocations: 307.8 kB / 453.2 MB, free: 13.9 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.001313/0.223, allocations: 0.8361 MB / 454.1 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007947/0.2239, allocations: 261.1 kB / 454.3 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.2242, allocations: 126.1 kB / 454.4 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01723/0.2415, allocations: 12.91 MB / 467.4 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.2415, allocations: 38.5 kB / 467.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.094e-06/0.2415, allocations: 0 / 467.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002611/0.2441, allocations: 0.6948 MB / 468.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.2442, allocations: 81.11 kB / 468.2 MB, free: 12.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/0.2443, allocations: 132.4 kB / 468.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.888e-05/0.2444, allocations: 29.7 kB / 468.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.206e-05/0.2444, allocations: 108.8 kB / 468.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.585e-05/0.2445, allocations: 134.1 kB / 468.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.054e-05/0.2445, allocations: 4 kB / 468.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.2446, allocations: 330.8 kB / 468.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.245, allocations: 127.9 kB / 469 MB, free: 11.44 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004456/0.2455, allocations: 219.5 kB / 469.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004244/0.2459, allocations: 147.9 kB / 469.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2459, allocations: 0 / 469.4 MB, free: 11.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001076/0.247, allocations: 417.1 kB / 469.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.247, allocations: 4 kB / 469.8 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.247, allocations: 4 kB / 469.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.247, allocations: 4 kB / 469.8 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004563/0.2475, allocations: 95.75 kB / 469.9 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.2475, allocations: 4 kB / 469.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.2478, allocations: 32.09 kB / 469.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.135e-05/0.2479, allocations: 23.94 kB / 469.9 MB, free: 10.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.248, allocations: 145.7 kB / 470.1 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.2481, allocations: 19.81 kB / 470.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000442/0.2486, allocations: 190.2 kB / 470.3 MB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2486, allocations: 4 kB / 470.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2486, allocations: 0 / 470.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2486, allocations: 7.984 kB / 470.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.2502, allocations: 0.7619 MB / 471.1 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.2502, allocations: 4 kB / 471.1 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.2506, allocations: 79.88 kB / 471.1 MB, free: 9.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.2506, allocations: 4 kB / 471.2 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.2506, allocations: 8 kB / 471.2 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.2507, allocations: 7.938 kB / 471.2 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2507, allocations: 0 / 471.2 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.2521, allocations: 0.7026 MB / 471.9 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.2522, allocations: 124.8 kB / 472 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.2522, allocations: 11.98 kB / 472 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000338/0.2526, allocations: 24.05 kB / 472 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.2526, allocations: 23.97 kB / 472.1 MB, free: 8.234 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.2527, allocations: 19.98 kB / 472.1 MB, free: 8.215 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.589e-05/0.2527, allocations: 95.27 kB / 472.2 MB, free: 8.121 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2528, allocations: 0 / 472.2 MB, free: 8.121 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002232/0.255, allocations: 0.9408 MB / 473.1 MB, free: 7.18 MB / 346.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.003114/0.2581, allocations: 1.177 MB / 474.3 MB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008933/0.259, allocations: 354.3 kB / 474.6 MB, free: 5.652 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.259, allocations: 0 / 474.6 MB, free: 5.652 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004326/0.2595, allocations: 167.8 kB / 474.8 MB, free: 5.488 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006573/0.2601, allocations: 100.2 kB / 474.9 MB, free: 5.391 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.2615, allocations: 0.7603 MB / 475.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.2617, allocations: 0.7373 MB / 476.4 MB, free: 3.824 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.2619, allocations: 43.42 kB / 476.4 MB, free: 3.781 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2619, allocations: 4 kB / 476.4 MB, free: 3.777 MB / 346.7 MB Notification: Performance of Templates: time 0.02604/0.288, allocations: 19.81 MB / 496.2 MB, free: 15.95 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches