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.0007312/0.0007314, allocations: 89.86 kB / 16.65 MB, free: 6.535 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.0007914/0.0007914, allocations: 175.7 kB / 17.56 MB, free: 6.184 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.357/1.357, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000252/0.0002521, allocations: 9 kB / 301.4 MB, free: 5.898 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08418/0.08445, allocations: 50.41 MB / 351.8 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2004/0.2849, allocations: 27.48 MB / 379.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.2874, allocations: 2.302 MB / 381.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.2875, allocations: 5.188 kB / 381.6 MB, free: 9.391 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.2879, allocations: 57.78 kB / 381.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.2883, allocations: 144.1 kB / 381.8 MB, free: 9.383 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01615/0.3044, allocations: 5.381 MB / 387.2 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005677/0.305, allocations: 470.1 kB / 387.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.315e-05/0.3051, allocations: 7.812 kB / 387.7 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002043/0.3053, allocations: 122.5 kB / 387.8 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.3055, allocations: 125 kB / 387.9 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.3055, allocations: 6.312 kB / 387.9 MB, free: 8.621 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01632/0.3219, allocations: 9.592 MB / 397.5 MB, free: 4.324 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.322, allocations: 60.14 kB / 397.6 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.3222, allocations: 112.9 kB / 397.7 MB, free: 4.215 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008634/0.3308, allocations: 4.757 MB / 402.4 MB, free: 1.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3309, allocations: 0 / 402.4 MB, free: 1.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3309, allocations: 0 / 402.4 MB, free: 1.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3309, allocations: 3.938 kB / 402.4 MB, free: 1.605 MB / 302.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.002559/0.3334, allocations: 1.082 MB / 403.5 MB, free: 484 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3335, allocations: 11.97 kB / 403.5 MB, free: 472 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.3336, allocations: 20.94 kB / 403.5 MB, free: 452 kB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.3338, allocations: 218.7 kB / 403.8 MB, free: 196 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.3338, allocations: 17.95 kB / 403.8 MB, free: 180 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.3339, allocations: 15.91 kB / 403.8 MB, free: 164 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006535/0.3345, allocations: 285.6 kB / 404.1 MB, free: 15.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3346, allocations: 4 kB / 404.1 MB, free: 15.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.3346, allocations: 11.98 kB / 404.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.042e-05/0.3346, allocations: 8 kB / 404.1 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007784/0.3354, allocations: 311.6 kB / 404.4 MB, free: 15.54 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.001368/0.3368, allocations: 0.8193 MB / 405.2 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007046/0.3375, allocations: 257 kB / 405.5 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003089/0.3378, allocations: 129.6 kB / 405.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01586/0.3537, allocations: 12.91 MB / 418.5 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.3538, allocations: 42.5 kB / 418.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.294e-06/0.3538, allocations: 0 / 418.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002959/0.3567, allocations: 0.6864 MB / 419.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.3568, allocations: 85.05 kB / 419.3 MB, free: 14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.936e-05/0.3569, allocations: 121.8 kB / 419.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.357, allocations: 29.7 kB / 419.5 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.357, allocations: 108.8 kB / 419.6 MB, free: 13.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.737e-05/0.3571, allocations: 133.3 kB / 419.7 MB, free: 13.6 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-05/0.3572, allocations: 37.7 kB / 419.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3573, allocations: 326.8 kB / 420.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003893/0.3577, allocations: 135.9 kB / 420.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000493/0.3582, allocations: 215.5 kB / 420.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009542/0.3592, allocations: 359.4 kB / 420.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.3592, allocations: 3.984 kB / 420.8 MB, free: 12.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001212/0.3604, allocations: 413.1 kB / 421.2 MB, free: 12.06 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.3604, allocations: 10.81 kB / 421.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.3604, allocations: 224 / 421.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.3605, allocations: 8 kB / 421.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.361, allocations: 91.88 kB / 421.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.361, allocations: 11.53 kB / 421.3 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.3613, allocations: 28.41 kB / 421.3 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.3614, allocations: 16 kB / 421.3 MB, free: 11.91 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.0001563/0.3615, allocations: 149.7 kB / 421.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.3617, allocations: 19.81 kB / 421.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004834/0.3622, allocations: 190.3 kB / 421.7 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.3622, allocations: 4 kB / 421.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.3622, allocations: 4.812 kB / 421.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3622, allocations: 0 / 421.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/0.3639, allocations: 0.7551 MB / 422.4 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3639, allocations: 4 kB / 422.4 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004428/0.3644, allocations: 84.03 kB / 422.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.3644, allocations: 4 kB / 422.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.3644, allocations: 15.98 kB / 422.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3644, allocations: 4 kB / 422.5 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.3644, allocations: 3.938 kB / 422.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001501/0.3659, allocations: 0.7067 MB / 423.3 MB, free: 9.855 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.3661, allocations: 124.8 kB / 423.4 MB, free: 9.715 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.3661, allocations: 8 kB / 423.4 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.3665, allocations: 19.97 kB / 423.4 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.3665, allocations: 39.84 kB / 423.4 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.318e-05/0.3666, allocations: 16 kB / 423.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.254e-05/0.3666, allocations: 99.25 kB / 423.6 MB, free: 9.535 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3666, allocations: 0 / 423.6 MB, free: 9.535 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002794/0.3694, allocations: 0.937 MB / 424.5 MB, free: 8.598 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 (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.004492/0.3739, allocations: 1.245 MB / 425.7 MB, free: 7.445 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.3751, allocations: 353.5 kB / 426.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.3751, allocations: 0 / 426.1 MB, free: 7.102 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.3756, allocations: 171.8 kB / 426.3 MB, free: 6.934 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008016/0.3764, allocations: 100.2 kB / 426.4 MB, free: 6.836 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.3778, allocations: 0.7312 MB / 427.1 MB, free: 6.062 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.3781, allocations: 0.734 MB / 427.8 MB, free: 5.305 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004311/0.3785, allocations: 89.81 kB / 427.9 MB, free: 5.215 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.3787, allocations: 39.42 kB / 427.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3787, allocations: 0 / 427.9 MB, free: 5.176 MB / 334.1 MB Notification: Performance of Templates: time 0.03943/0.4181, allocations: 29.23 MB / 457.2 MB, free: 7.988 MB / 366.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