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.00103/0.00103, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001117/0.001117, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.3 MB, free: 10.88 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 59.94 kB / 306.3 MB, free: 1.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0815/0.08261, allocations: 50.53 MB / 356.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1782/0.2609, allocations: 28.44 MB / 385.2 MB, free: 7.043 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002507/0.2634, allocations: 2.363 MB / 387.6 MB, free: 5.414 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.2635, allocations: 1.344 kB / 387.6 MB, free: 5.414 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.2639, allocations: 57.12 kB / 387.6 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.2642, allocations: 155.5 kB / 387.8 MB, free: 5.305 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01407/0.2783, allocations: 5.397 MB / 393.2 MB, free: 2.602 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005059/0.2788, allocations: 498.5 kB / 393.7 MB, free: 2.344 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.637e-05/0.2789, allocations: 13.44 kB / 393.7 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002088/0.2791, allocations: 128.9 kB / 393.8 MB, free: 2.277 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001967/0.2793, allocations: 137.5 kB / 394 MB, free: 2.203 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.2793, allocations: 7.906 kB / 394 MB, free: 2.203 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01537/0.2947, allocations: 9.594 MB / 403.6 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.2949, allocations: 67.03 kB / 403.6 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.2951, allocations: 101.7 kB / 403.7 MB, free: 13.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009743/0.3048, allocations: 4.807 MB / 408.5 MB, free: 8.406 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.3049, allocations: 0 / 408.5 MB, free: 8.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3049, allocations: 0 / 408.5 MB, free: 8.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3049, allocations: 4 kB / 408.5 MB, free: 8.402 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.002742/0.3076, allocations: 1.143 MB / 409.7 MB, free: 7.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3077, allocations: 8.031 kB / 409.7 MB, free: 7.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.3078, allocations: 28.67 kB / 409.7 MB, free: 7.176 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.3081, allocations: 218.7 kB / 409.9 MB, free: 6.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3081, allocations: 16.33 kB / 409.9 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.3081, allocations: 16 kB / 410 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008071/0.309, allocations: 289.4 kB / 410.2 MB, free: 6.598 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.309, allocations: 11.62 kB / 410.2 MB, free: 6.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.309, allocations: 4 kB / 410.3 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.3091, allocations: 11.94 kB / 410.3 MB, free: 6.574 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008249/0.3099, allocations: 303.8 kB / 410.6 MB, free: 6.277 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.001426/0.3113, allocations: 0.8404 MB / 411.4 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007132/0.3121, allocations: 253.1 kB / 411.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003205/0.3124, allocations: 141.4 kB / 411.8 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01564/0.328, allocations: 12.84 MB / 424.6 MB, free: 5.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.3281, allocations: 34.98 kB / 424.7 MB, free: 5.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.215e-06/0.3281, allocations: 4 kB / 424.7 MB, free: 5.547 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002865/0.331, allocations: 0.7054 MB / 425.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.331, allocations: 81.11 kB / 425.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.3312, allocations: 148 kB / 425.6 MB, free: 4.586 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.3312, allocations: 33.64 kB / 425.6 MB, free: 4.547 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.3313, allocations: 120.7 kB / 425.7 MB, free: 4.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.412e-05/0.3314, allocations: 122.2 kB / 425.9 MB, free: 4.305 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.3315, allocations: 73.62 kB / 425.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3316, allocations: 338.8 kB / 426.3 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003704/0.332, allocations: 131.9 kB / 426.4 MB, free: 3.758 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/0.3325, allocations: 207.6 kB / 426.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008856/0.3334, allocations: 355.5 kB / 426.9 MB, free: 3.152 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3334, allocations: 4 kB / 426.9 MB, free: 3.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001122/0.3345, allocations: 420.4 kB / 427.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.3345, allocations: 8.031 kB / 427.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3345, allocations: 7.984 kB / 427.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3346, allocations: 7.938 kB / 427.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004919/0.3351, allocations: 87.88 kB / 427.5 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.3351, allocations: 11.92 kB / 427.5 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.3354, allocations: 27.83 kB / 427.5 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.25e-05/0.3355, allocations: 23.98 kB / 427.5 MB, free: 2.562 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.3356, allocations: 142.9 kB / 427.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.3357, allocations: 19.81 kB / 427.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004774/0.3362, allocations: 194.6 kB / 427.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.3362, allocations: 4 kB / 427.9 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3363, allocations: 3.938 kB / 427.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.3363, allocations: 0 / 427.9 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.338, allocations: 0.7675 MB / 428.7 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.338, allocations: 8.156 kB / 428.7 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.3384, allocations: 79.88 kB / 428.7 MB, free: 1.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3384, allocations: 7.938 kB / 428.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.275e-05/0.3385, allocations: 15.92 kB / 428.8 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.3385, allocations: 7.812 kB / 428.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3385, allocations: 0 / 428.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.34, allocations: 0.7208 MB / 429.5 MB, free: 492 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.3401, allocations: 128.8 kB / 429.6 MB, free: 344 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.896e-05/0.3402, allocations: 8 kB / 429.6 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003698/0.3406, allocations: 19.97 kB / 429.6 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.038e-05/0.3406, allocations: 31.97 kB / 429.7 MB, free: 284 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.3407, allocations: 19.98 kB / 429.7 MB, free: 264 kB / 334.1 MB Notification: Performance of sorting global known variables: time 7.238e-05/0.3407, allocations: 107.3 kB / 429.8 MB, free: 156 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3408, allocations: 0 / 429.8 MB, free: 156 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.002377/0.3431, allocations: 0.9526 MB / 430.8 MB, free: 15.2 MB / 350.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 (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.003625/0.3468, allocations: 1.256 MB / 432 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009587/0.3477, allocations: 343.6 kB / 432.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3478, allocations: 0 / 432.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004623/0.3482, allocations: 180.4 kB / 432.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007296/0.349, allocations: 115.7 kB / 432.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.3503, allocations: 0.6955 MB / 433.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.3506, allocations: 0.7416 MB / 434.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004194/0.351, allocations: 86.22 kB / 434.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.3512, allocations: 43.41 kB / 434.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3512, allocations: 0 / 434.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of Templates: time 0.0375/0.3887, allocations: 29.67 MB / 463.9 MB, free: 14.03 MB / 382.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