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.0009404/0.0009402, allocations: 200.1 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.219/1.219, allocations: 226.5 MB / 244.7 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000733/0.000733, allocations: 98.98 kB / 296.8 MB, free: 6.684 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002147/0.0002148, allocations: 4 kB / 356.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1976, allocations: 51.29 MB / 408 MB, free: 27.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.01969/0.2173, allocations: 24.6 MB / 432.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.2193, allocations: 2.062 MB / 434.7 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.2194, allocations: 4 kB / 434.7 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.2196, allocations: 51.78 kB / 434.8 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.2199, allocations: 143.2 kB / 434.9 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01202/0.232, allocations: 5.11 MB / 440 MB, free: 11.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004096/0.2324, allocations: 386.7 kB / 440.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.2324, allocations: 13.11 kB / 440.4 MB, free: 11.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002007/0.2326, allocations: 123.6 kB / 440.5 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.2328, allocations: 127.5 kB / 440.6 MB, free: 11.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.2329, allocations: 12 kB / 440.7 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01416/0.247, allocations: 9.28 MB / 449.9 MB, free: 1.738 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.2472, allocations: 67.83 kB / 450 MB, free: 1.672 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.2474, allocations: 109.4 kB / 450.1 MB, free: 1.559 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005479/0.2528, allocations: 3.177 MB / 453.3 MB, free: 14.38 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2529, allocations: 4 kB / 453.3 MB, free: 14.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2529, allocations: 0 / 453.3 MB, free: 14.37 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.2529, allocations: 0 / 453.3 MB, free: 14.37 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.00313/0.256, allocations: 1.08 MB / 454.4 MB, free: 13.24 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2561, allocations: 8.031 kB / 454.4 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.2562, allocations: 24.5 kB / 454.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.2565, allocations: 218.8 kB / 454.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2565, allocations: 12.33 kB / 454.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.495e-05/0.2565, allocations: 15.98 kB / 454.6 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006429/0.2572, allocations: 281.5 kB / 454.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2572, allocations: 3.938 kB / 454.9 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.2572, allocations: 4 kB / 454.9 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.044e-05/0.2573, allocations: 19.94 kB / 454.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007047/0.258, allocations: 307.7 kB / 455.2 MB, free: 12.31 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.001325/0.2593, allocations: 0.8245 MB / 456.1 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/0.26, allocations: 253.1 kB / 456.3 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.2603, allocations: 136 kB / 456.4 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0142/0.2745, allocations: 12.92 MB / 469.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.2745, allocations: 38.5 kB / 469.4 MB, free: 11.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.194e-06/0.2745, allocations: 0 / 469.4 MB, free: 11.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.00263/0.2772, allocations: 0.6906 MB / 470.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.2772, allocations: 81.11 kB / 470.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2773, allocations: 126.4 kB / 470.3 MB, free: 10.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.2774, allocations: 37.7 kB / 470.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/0.2775, allocations: 108.8 kB / 470.4 MB, free: 10.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.694e-05/0.2776, allocations: 122.1 kB / 470.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.2776, allocations: 8 kB / 470.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.2777, allocations: 334.8 kB / 470.9 MB, free: 9.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.278, allocations: 131.9 kB / 471 MB, free: 9.852 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.2785, allocations: 211.5 kB / 471.2 MB, free: 9.617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008354/0.2794, allocations: 355.4 kB / 471.6 MB, free: 9.246 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2794, allocations: 0 / 471.6 MB, free: 9.246 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00106/0.2804, allocations: 415.7 kB / 472 MB, free: 8.836 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2805, allocations: 11.88 kB / 472 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2805, allocations: 4 kB / 472 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2805, allocations: 8.219 kB / 472 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.281, allocations: 87.88 kB / 472.1 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.281, allocations: 11.92 kB / 472.1 MB, free: 8.715 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.2813, allocations: 19.98 kB / 472.1 MB, free: 8.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.2813, allocations: 19.98 kB / 472.1 MB, free: 8.676 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.0001376/0.2815, allocations: 149.7 kB / 472.3 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.2816, allocations: 19.81 kB / 472.3 MB, free: 8.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/0.2821, allocations: 187.1 kB / 472.5 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.872e-06/0.2821, allocations: 7.938 kB / 472.5 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2821, allocations: 0 / 472.5 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.2821, allocations: 3.984 kB / 472.5 MB, free: 8.305 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.2837, allocations: 0.7625 MB / 473.3 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2837, allocations: 0 / 473.3 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/0.2841, allocations: 91.97 kB / 473.4 MB, free: 7.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.2842, allocations: 4 kB / 473.4 MB, free: 7.379 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/0.2842, allocations: 8 kB / 473.4 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.788e-06/0.2842, allocations: 4 kB / 473.4 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2842, allocations: 0 / 473.4 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.2856, allocations: 0.7095 MB / 474.1 MB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.2858, allocations: 128.8 kB / 474.2 MB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.2858, allocations: 8 kB / 474.2 MB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.2862, allocations: 19.98 kB / 474.2 MB, free: 6.453 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.2862, allocations: 31.97 kB / 474.3 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.2863, allocations: 19.98 kB / 474.3 MB, free: 6.402 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.042e-05/0.2863, allocations: 95.64 kB / 474.4 MB, free: 6.309 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2863, allocations: 3.938 kB / 474.4 MB, free: 6.305 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002535/0.2889, allocations: 0.9448 MB / 475.3 MB, free: 5.359 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.004462/0.2934, allocations: 1.25 MB / 476.6 MB, free: 4.102 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.2944, allocations: 352 kB / 476.9 MB, free: 3.758 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2944, allocations: 0 / 476.9 MB, free: 3.758 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004598/0.2949, allocations: 175.7 kB / 477.1 MB, free: 3.586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007139/0.2956, allocations: 96.48 kB / 477.2 MB, free: 3.492 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.2969, allocations: 0.7506 MB / 477.9 MB, free: 2.691 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.2972, allocations: 0.7335 MB / 478.7 MB, free: 1.934 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/0.2974, allocations: 47.41 kB / 478.7 MB, free: 1.887 MB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.2974, allocations: 4 kB / 478.7 MB, free: 1.883 MB / 346.7 MB Notification: Performance of Templates: time 0.02791/0.3253, allocations: 19.88 MB / 498.6 MB, free: 13.99 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