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.001129/0.001129, allocations: 108.5 kB / 17.74 MB, free: 5.34 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.001142/0.001142, allocations: 186.9 kB / 18.67 MB, free: 4.414 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.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 39.94 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2623, allocations: 49.45 MB / 401.4 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03204/0.2944, allocations: 26.43 MB / 427.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003402/0.2978, allocations: 2.231 MB / 430.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.298, allocations: 4 kB / 430.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004349/0.2985, allocations: 67.64 kB / 430.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005218/0.2991, allocations: 147.1 kB / 430.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01802/0.3171, allocations: 6.514 MB / 436.8 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004923/0.3176, allocations: 306.9 kB / 437.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.693e-05/0.3177, allocations: 13.11 kB / 437.1 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.318, allocations: 139.5 kB / 437.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.3182, allocations: 119.6 kB / 437.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.32e-05/0.3183, allocations: 16 kB / 437.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01735/0.3357, allocations: 9.495 MB / 446.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.3358, allocations: 63.8 kB / 446.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.336, allocations: 95.64 kB / 447 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01173/0.3478, allocations: 4.698 MB / 451.7 MB, free: 6.535 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.3478, allocations: 4 kB / 451.7 MB, free: 6.531 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3478, allocations: 0 / 451.7 MB, free: 6.531 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.3479, allocations: 0 / 451.7 MB, free: 6.531 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.003749/0.3516, allocations: 1.122 MB / 452.9 MB, free: 5.359 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.3517, allocations: 8.031 kB / 452.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.3519, allocations: 24.5 kB / 452.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.3522, allocations: 218.8 kB / 453.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.3522, allocations: 16.33 kB / 453.1 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/0.3523, allocations: 16 kB / 453.1 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007417/0.353, allocations: 285.4 kB / 453.4 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.353, allocations: 0 / 453.4 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.084e-05/0.3531, allocations: 4 kB / 453.4 MB, free: 4.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.393e-05/0.3531, allocations: 15.92 kB / 453.4 MB, free: 4.734 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007698/0.3539, allocations: 311.7 kB / 453.7 MB, free: 4.43 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.001472/0.3554, allocations: 0.8284 MB / 454.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007726/0.3561, allocations: 248.6 kB / 454.8 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.3565, allocations: 142 kB / 454.9 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01585/0.3723, allocations: 12.85 MB / 467.8 MB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/0.3724, allocations: 42.48 kB / 467.8 MB, free: 3.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 3.095e-06/0.3724, allocations: 0 / 467.8 MB, free: 3.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002951/0.3754, allocations: 0.6815 MB / 468.5 MB, free: 3.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.3755, allocations: 85.09 kB / 468.6 MB, free: 2.922 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.3756, allocations: 125.8 kB / 468.7 MB, free: 2.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.159e-05/0.3757, allocations: 37.7 kB / 468.8 MB, free: 2.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.3758, allocations: 108.8 kB / 468.9 MB, free: 2.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.3759, allocations: 126.1 kB / 469 MB, free: 2.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.376, allocations: 69.62 kB / 469.1 MB, free: 2.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.3761, allocations: 330.8 kB / 469.4 MB, free: 2.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.3765, allocations: 139.9 kB / 469.5 MB, free: 1.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004921/0.377, allocations: 207.5 kB / 469.7 MB, free: 1.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009448/0.378, allocations: 369.5 kB / 470.1 MB, free: 1.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.378, allocations: 0 / 470.1 MB, free: 1.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001175/0.3792, allocations: 413.1 kB / 470.5 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.3792, allocations: 4 kB / 470.5 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.3792, allocations: 4 kB / 470.5 MB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3792, allocations: 4 kB / 470.5 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.3797, allocations: 99.97 kB / 470.6 MB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.3798, allocations: 7.938 kB / 470.6 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.3801, allocations: 31.88 kB / 470.6 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.3801, allocations: 16 kB / 470.6 MB, free: 0.7812 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.0001593/0.3803, allocations: 145.7 kB / 470.8 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.3805, allocations: 15.91 kB / 470.8 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004834/0.3809, allocations: 190.2 kB / 471 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.381, allocations: 7.938 kB / 471 MB, free: 428 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.381, allocations: 0 / 471 MB, free: 428 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.381, allocations: 3.984 kB / 471 MB, free: 424 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.3827, allocations: 0.7558 MB / 471.8 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.3827, allocations: 4 kB / 471.8 MB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004197/0.3832, allocations: 75.89 kB / 471.8 MB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.3832, allocations: 4 kB / 471.8 MB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/0.3832, allocations: 11.98 kB / 471.8 MB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.3832, allocations: 7.938 kB / 471.9 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3832, allocations: 3.938 kB / 471.9 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.3848, allocations: 0.7077 MB / 472.6 MB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.385, allocations: 124.8 kB / 472.7 MB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.385, allocations: 8 kB / 472.7 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.3854, allocations: 28.03 kB / 472.7 MB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.3855, allocations: 23.91 kB / 472.7 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.3855, allocations: 16 kB / 472.8 MB, free: 14.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.657e-05/0.3856, allocations: 99.25 kB / 472.9 MB, free: 14.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3856, allocations: 0 / 472.9 MB, free: 14.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002746/0.3883, allocations: 0.9486 MB / 473.8 MB, free: 13.48 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.00462/0.393, allocations: 1.243 MB / 475.1 MB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.3942, allocations: 353.8 kB / 475.4 MB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.3942, allocations: 0 / 475.4 MB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005172/0.3947, allocations: 187.5 kB / 475.6 MB, free: 11.71 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007979/0.3955, allocations: 95.77 kB / 475.7 MB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.397, allocations: 0.6262 MB / 476.3 MB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3974, allocations: 0.7371 MB / 477 MB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.3976, allocations: 51.39 kB / 477.1 MB, free: 10.12 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3976, allocations: 0 / 477.1 MB, free: 10.12 MB / 398.1 MB Notification: Performance of Templates: time 0.0294/0.427, allocations: 19.71 MB / 496.8 MB, free: 6.383 MB / 414.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