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.001071/0.001071, allocations: 110.2 kB / 17.06 MB, free: 6.023 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.001012/0.001012, allocations: 191 kB / 17.99 MB, free: 5.109 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.291/1.291, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009399/0.0009399, allocations: 47.92 kB / 351.3 MB, free: 3.301 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2352, allocations: 49.44 MB / 400.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03072/0.266, allocations: 26.44 MB / 427.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.2687, allocations: 2.235 MB / 429.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.727e-05/0.2689, allocations: 3.938 kB / 429.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.2692, allocations: 67.64 kB / 429.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.2697, allocations: 155.1 kB / 429.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01648/0.2862, allocations: 6.527 MB / 436.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005399/0.2868, allocations: 306.9 kB / 436.4 MB, free: 5.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.511e-05/0.2868, allocations: 9.125 kB / 436.4 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.2871, allocations: 143.5 kB / 436.6 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002449/0.2874, allocations: 119.6 kB / 436.7 MB, free: 4.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.2874, allocations: 8 kB / 436.7 MB, free: 4.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01843/0.3059, allocations: 9.505 MB / 446.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001493/0.3061, allocations: 67.67 kB / 446.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.3063, allocations: 99.59 kB / 446.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.317, allocations: 4.69 MB / 451.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.317, allocations: 4 kB / 451.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.317, allocations: 0 / 451.1 MB, free: 6.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.317, allocations: 0 / 451.1 MB, free: 6.434 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.003223/0.3202, allocations: 1.119 MB / 452.2 MB, free: 5.262 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.3203, allocations: 8.031 kB / 452.2 MB, free: 5.254 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.3205, allocations: 32.42 kB / 452.2 MB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.3207, allocations: 218.8 kB / 452.4 MB, free: 4.969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3207, allocations: 8.328 kB / 452.5 MB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.3208, allocations: 19.98 kB / 452.5 MB, free: 4.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006922/0.3215, allocations: 293.3 kB / 452.8 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3215, allocations: 0 / 452.8 MB, free: 4.645 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.3216, allocations: 4 kB / 452.8 MB, free: 4.641 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.3216, allocations: 12 kB / 452.8 MB, free: 4.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007642/0.3224, allocations: 307.7 kB / 453.1 MB, free: 4.328 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.001469/0.3238, allocations: 0.8284 MB / 453.9 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.3245, allocations: 241.3 kB / 454.1 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.3248, allocations: 145.9 kB / 454.3 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01493/0.3398, allocations: 12.85 MB / 467.1 MB, free: 3.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.3399, allocations: 34.56 kB / 467.2 MB, free: 3.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.853e-06/0.3399, allocations: 0 / 467.2 MB, free: 3.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.00272/0.3426, allocations: 0.6912 MB / 467.9 MB, free: 2.918 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.3427, allocations: 85.11 kB / 467.9 MB, free: 2.816 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.3428, allocations: 125.7 kB / 468.1 MB, free: 2.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.3428, allocations: 37.7 kB / 468.1 MB, free: 2.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.3429, allocations: 108.8 kB / 468.2 MB, free: 2.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.887e-05/0.343, allocations: 126.1 kB / 468.3 MB, free: 2.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.3431, allocations: 61.69 kB / 468.4 MB, free: 2.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3432, allocations: 330.8 kB / 468.7 MB, free: 2.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.3436, allocations: 139.9 kB / 468.8 MB, free: 1.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004745/0.3441, allocations: 215.5 kB / 469.1 MB, free: 1.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008749/0.345, allocations: 361.6 kB / 469.4 MB, free: 1.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.345, allocations: 0 / 469.4 MB, free: 1.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001104/0.3461, allocations: 417 kB / 469.8 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3461, allocations: 8 kB / 469.8 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3461, allocations: 3.938 kB / 469.8 MB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.3461, allocations: 4.219 kB / 469.8 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.3466, allocations: 91.88 kB / 469.9 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.3466, allocations: 7.938 kB / 469.9 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.3469, allocations: 27.89 kB / 470 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.347, allocations: 19.98 kB / 470 MB, free: 0.6836 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.0001247/0.3471, allocations: 141.7 kB / 470.1 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.3472, allocations: 15.91 kB / 470.1 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004786/0.3477, allocations: 198.2 kB / 470.3 MB, free: 332 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.3477, allocations: 7.938 kB / 470.3 MB, free: 324 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3477, allocations: 0 / 470.3 MB, free: 324 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.3478, allocations: 4 kB / 470.3 MB, free: 320 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.3494, allocations: 0.7621 MB / 471.1 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.3494, allocations: 4 kB / 471.1 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004068/0.3498, allocations: 79.88 kB / 471.2 MB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.3498, allocations: 4 kB / 471.2 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/0.3498, allocations: 11.98 kB / 471.2 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3498, allocations: 4.156 kB / 471.2 MB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.3499, allocations: 8 kB / 471.2 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.3513, allocations: 0.7036 MB / 471.9 MB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.3515, allocations: 120.9 kB / 472 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.938e-05/0.3515, allocations: 12 kB / 472 MB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.3518, allocations: 19.98 kB / 472.1 MB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.3519, allocations: 27.91 kB / 472.1 MB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.3519, allocations: 15.98 kB / 472.1 MB, free: 14.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.627e-05/0.352, allocations: 95.27 kB / 472.2 MB, free: 14.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.245e-06/0.352, allocations: 0 / 472.2 MB, free: 14.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00233/0.3544, allocations: 0.9525 MB / 473.2 MB, free: 13.38 MB / 398.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.003423/0.3578, allocations: 1.243 MB / 474.4 MB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009267/0.3587, allocations: 350.2 kB / 474.7 MB, free: 11.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.3587, allocations: 4.438 kB / 474.7 MB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004384/0.3592, allocations: 182.7 kB / 474.9 MB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006627/0.3599, allocations: 98.8 kB / 475 MB, free: 11.51 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.3611, allocations: 0.6011 MB / 475.6 MB, free: 10.87 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.3614, allocations: 0.7371 MB / 476.4 MB, free: 10.1 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003165/0.3618, allocations: 85.88 kB / 476.4 MB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.3619, allocations: 39.42 kB / 476.5 MB, free: 9.977 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3619, allocations: 0 / 476.5 MB, free: 9.977 MB / 398.1 MB Notification: Performance of Templates: time 0.03722/0.3991, allocations: 29.46 MB / 0.4941 GB, free: 12.54 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/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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches