Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 110.2 kB / 17.74 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 185.4 kB / 18.67 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009618/0.0009618, allocations: 47.94 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.206, allocations: 49.44 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03111/0.2371, allocations: 26.45 MB / 427.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.2398, allocations: 2.224 MB / 430.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.2399, allocations: 3.938 kB / 430.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003016/0.2402, allocations: 63.64 kB / 430.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.2406, allocations: 155.1 kB / 430.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01356/0.2541, allocations: 6.526 MB / 436.8 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003792/0.2545, allocations: 310.9 kB / 437.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.2546, allocations: 13.12 kB / 437.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001972/0.2548, allocations: 139.5 kB / 437.3 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.255, allocations: 115.6 kB / 437.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.255, allocations: 12 kB / 437.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01406/0.2691, allocations: 9.504 MB / 446.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.798e-05/0.2692, allocations: 59.86 kB / 447 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001289/0.2694, allocations: 107.6 kB / 447.1 MB, free: 11.1 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006925/0.2763, allocations: 4.687 MB / 451.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2763, allocations: 0 / 451.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2763, allocations: 0 / 451.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.2763, allocations: 4 kB / 451.8 MB, free: 6.402 MB / 366.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.00291/0.2793, allocations: 1.119 MB / 452.9 MB, free: 5.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.2793, allocations: 12.03 kB / 452.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.2795, allocations: 28.44 kB / 452.9 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.2797, allocations: 222.8 kB / 453.1 MB, free: 4.934 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2797, allocations: 8.328 kB / 453.1 MB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.2798, allocations: 19.94 kB / 453.2 MB, free: 4.906 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007126/0.2805, allocations: 285.4 kB / 453.4 MB, free: 4.617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.2805, allocations: 4 kB / 453.4 MB, free: 4.613 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.2806, allocations: 4 kB / 453.5 MB, free: 4.609 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.2806, allocations: 11.98 kB / 453.5 MB, free: 4.598 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008025/0.2814, allocations: 303.7 kB / 453.8 MB, free: 4.301 MB / 366.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.001408/0.2828, allocations: 0.8323 MB / 454.6 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/0.2836, allocations: 253.3 kB / 454.8 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.2839, allocations: 133.9 kB / 455 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0154/0.2993, allocations: 12.86 MB / 467.8 MB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.2994, allocations: 34.56 kB / 467.9 MB, free: 3.574 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.823e-06/0.2994, allocations: 0 / 467.9 MB, free: 3.574 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002797/0.3022, allocations: 0.6912 MB / 468.6 MB, free: 2.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.3022, allocations: 81.11 kB / 468.6 MB, free: 2.781 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.3023, allocations: 129.7 kB / 468.8 MB, free: 2.645 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.75e-05/0.3024, allocations: 37.7 kB / 468.8 MB, free: 2.602 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.3024, allocations: 104.8 kB / 468.9 MB, free: 2.496 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.823e-05/0.3025, allocations: 126.1 kB / 469 MB, free: 2.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.3026, allocations: 65.69 kB / 469.1 MB, free: 2.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3028, allocations: 338.8 kB / 469.4 MB, free: 1.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.3032, allocations: 131.9 kB / 469.5 MB, free: 1.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.3037, allocations: 219.5 kB / 469.8 MB, free: 1.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009537/0.3046, allocations: 361.2 kB / 470.1 MB, free: 1.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3046, allocations: 0 / 470.1 MB, free: 1.215 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001217/0.3059, allocations: 415.7 kB / 470.5 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3059, allocations: 4.219 kB / 470.5 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3059, allocations: 8 kB / 470.5 MB, free: 0.793 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3059, allocations: 4 kB / 470.5 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.3064, allocations: 87.88 kB / 470.6 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.3064, allocations: 15.86 kB / 470.6 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.3068, allocations: 23.89 kB / 470.7 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.3068, allocations: 19.98 kB / 470.7 MB, free: 0.6445 MB / 382.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.0001394/0.3069, allocations: 149.7 kB / 470.8 MB, free: 500 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.3071, allocations: 15.91 kB / 470.8 MB, free: 484 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004652/0.3076, allocations: 186.2 kB / 471 MB, free: 296 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.3076, allocations: 7.984 kB / 471 MB, free: 288 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3076, allocations: 3.938 kB / 471 MB, free: 284 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.3077, allocations: 124.9 kB / 471.2 MB, free: 140 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.755e-05/0.3078, allocations: 4 kB / 471.2 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.3082, allocations: 15.98 kB / 471.2 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.84e-05/0.3082, allocations: 23.97 kB / 471.2 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001371/0.3096, allocations: 0.5389 MB / 471.7 MB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001613/0.3112, allocations: 0.7762 MB / 472.5 MB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004516/0.3117, allocations: 163.3 kB / 472.7 MB, free: 14.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.156e-05/0.3118, allocations: 99.27 kB / 472.8 MB, free: 14.5 MB / 398.1 MB Notification: Performance of Backend: time 3.81e-07/0.3118, allocations: 0 / 472.8 MB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006555/0.3183, allocations: 1.947 MB / 474.7 MB, free: 12.55 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009514/0.3193, allocations: 0.9219 MB / 475.6 MB, free: 11.58 MB / 398.1 MB Notification: Performance of Templates: time 0.04931/0.3686, allocations: 39.99 MB / 0.5035 GB, free: 3.559 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches