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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 100.5 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.7 MB / 246.4 MB, free: 11.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 8 kB / 307.1 MB, free: 1.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1051, allocations: 51.53 MB / 358.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.169/0.2742, allocations: 24.71 MB / 383.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.2762, allocations: 2.079 MB / 385.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.64e-05/0.2763, allocations: 5.312 kB / 385.4 MB, free: 7.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.2766, allocations: 43.12 kB / 385.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.2769, allocations: 156.6 kB / 385.6 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01314/0.29, allocations: 4.845 MB / 390.5 MB, free: 5.352 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004461/0.2905, allocations: 410.9 kB / 390.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.2906, allocations: 16.77 kB / 390.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.2907, allocations: 129.2 kB / 391 MB, free: 5.055 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.2909, allocations: 126.5 kB / 391.1 MB, free: 4.992 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.291, allocations: 7.719 kB / 391.1 MB, free: 4.992 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01338/0.3043, allocations: 8.343 MB / 399.5 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.799e-05/0.3045, allocations: 64.38 kB / 399.5 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.249e-05/0.3046, allocations: 57.7 kB / 399.6 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003881/0.3084, allocations: 3.047 MB / 402.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.3085, allocations: 0 / 402.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3085, allocations: 0 / 402.6 MB, free: 15.11 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.3085, allocations: 3.625 kB / 402.6 MB, free: 15.11 MB / 318.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.002322/0.3108, allocations: 1.093 MB / 403.7 MB, free: 14.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.3109, allocations: 9.719 kB / 403.7 MB, free: 14.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.311, allocations: 22.88 kB / 403.8 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.3112, allocations: 224.8 kB / 404 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3112, allocations: 11.52 kB / 404 MB, free: 14.03 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.3113, allocations: 14.72 kB / 404 MB, free: 14.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006518/0.3119, allocations: 287.2 kB / 404.3 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.312, allocations: 0 / 404.3 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.082e-05/0.312, allocations: 11.98 kB / 404.3 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.312, allocations: 4 kB / 404.3 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007449/0.3128, allocations: 319.6 kB / 404.6 MB, free: 13.51 MB / 318.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.001321/0.3141, allocations: 0.8406 MB / 405.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006608/0.3148, allocations: 249.2 kB / 405.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002909/0.3151, allocations: 133.6 kB / 405.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01413/0.3292, allocations: 12.91 MB / 418.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.3293, allocations: 38.56 kB / 418.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 1.913e-06/0.3293, allocations: 4 kB / 418.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002584/0.3319, allocations: 0.693 MB / 419.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.3319, allocations: 85.11 kB / 419.6 MB, free: 11.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3321, allocations: 153.5 kB / 419.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.3321, allocations: 29.7 kB / 419.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.3322, allocations: 112.9 kB / 419.9 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.994e-05/0.3323, allocations: 134 kB / 420 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.3323, allocations: 8 kB / 420 MB, free: 11.47 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.799e-05/0.3324, allocations: 334.8 kB / 420.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.3328, allocations: 127.9 kB / 420.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004489/0.3332, allocations: 215.6 kB / 420.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004334/0.3337, allocations: 151.9 kB / 420.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3337, allocations: 3.938 kB / 420.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001066/0.3347, allocations: 417.2 kB / 421.2 MB, free: 10.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3348, allocations: 8 kB / 421.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3348, allocations: 0 / 421.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3348, allocations: 4 kB / 421.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004573/0.3353, allocations: 96.09 kB / 421.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.3353, allocations: 11.94 kB / 421.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.3356, allocations: 24.77 kB / 421.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.3356, allocations: 19.98 kB / 421.4 MB, free: 10.05 MB / 334.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.000132/0.3358, allocations: 146.8 kB / 421.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.3359, allocations: 23.81 kB / 421.5 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004656/0.3364, allocations: 185.2 kB / 421.7 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.3364, allocations: 7.984 kB / 421.7 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3364, allocations: 4 kB / 421.7 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3364, allocations: 11.94 kB / 421.7 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.338, allocations: 0.7703 MB / 422.5 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.338, allocations: 0.875 kB / 422.5 MB, free: 8.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/0.3384, allocations: 79.88 kB / 422.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.3384, allocations: 8.156 kB / 422.6 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.3385, allocations: 8 kB / 422.6 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3385, allocations: 7.984 kB / 422.6 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.3385, allocations: 11.94 kB / 422.6 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.3399, allocations: 0.7186 MB / 423.3 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.34, allocations: 120.9 kB / 423.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.3401, allocations: 8 kB / 423.5 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/0.3404, allocations: 19.97 kB / 423.5 MB, free: 7.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.3405, allocations: 27.91 kB / 423.5 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.3405, allocations: 16 kB / 423.5 MB, free: 7.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.001e-05/0.3406, allocations: 117.5 kB / 423.7 MB, free: 7.637 MB / 334.1 MB Notification: Performance of sort global known variables: time 5.32e-06/0.3406, allocations: 0 / 423.7 MB, free: 7.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002272/0.3429, allocations: 0.9525 MB / 424.6 MB, free: 6.684 MB / 334.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.003173/0.3461, allocations: 1.168 MB / 425.8 MB, free: 5.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008988/0.347, allocations: 353.8 kB / 426.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.347, allocations: 0 / 426.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004387/0.3474, allocations: 180.4 kB / 426.3 MB, free: 4.992 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007134/0.3482, allocations: 103.8 kB / 426.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.3495, allocations: 0.7648 MB / 427.2 MB, free: 4.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.3499, allocations: 0.7377 MB / 427.9 MB, free: 3.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004137/0.3503, allocations: 86.22 kB / 428 MB, free: 3.238 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.3504, allocations: 43.36 kB / 428 MB, free: 3.195 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3504, allocations: 0 / 428 MB, free: 3.195 MB / 334.1 MB Notification: Performance of Templates: time 0.03743/0.3879, allocations: 29.92 MB / 457.9 MB, free: 5.285 MB / 366.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches