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.001115/0.001115, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00123/0.00123, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.5 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 61.09 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09538, allocations: 50.54 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1961/0.2916, allocations: 26.64 MB / 385.5 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002549/0.2942, allocations: 2.237 MB / 387.8 MB, free: 5.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.344e-05/0.2943, allocations: 5.469 kB / 387.8 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.2947, allocations: 68.58 kB / 387.9 MB, free: 5.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004276/0.2952, allocations: 163.2 kB / 388 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01674/0.3119, allocations: 6.519 MB / 394.5 MB, free: 2.094 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004911/0.3124, allocations: 334.5 kB / 394.9 MB, free: 1.918 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.3125, allocations: 14.34 kB / 394.9 MB, free: 1.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.3127, allocations: 144.1 kB / 395 MB, free: 1.836 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001996/0.3129, allocations: 123.5 kB / 395.1 MB, free: 1.77 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.061e-05/0.3129, allocations: 11.59 kB / 395.1 MB, free: 1.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01689/0.3298, allocations: 9.533 MB / 404.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.33, allocations: 69.27 kB / 404.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.3302, allocations: 102.7 kB / 404.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.3406, allocations: 4.733 MB / 409.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3407, allocations: 0 / 409.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3407, allocations: 0 / 409.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3407, allocations: 0 / 409.6 MB, free: 8.242 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.002796/0.3435, allocations: 1.143 MB / 410.7 MB, free: 7.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.3435, allocations: 8.031 kB / 410.7 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.3437, allocations: 28.75 kB / 410.8 MB, free: 7.012 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.344, allocations: 226.7 kB / 411 MB, free: 6.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.344, allocations: 12.33 kB / 411 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.344, allocations: 16 kB / 411 MB, free: 6.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.3447, allocations: 289.4 kB / 411.3 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3447, allocations: 0 / 411.3 MB, free: 6.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.3448, allocations: 4 kB / 411.3 MB, free: 6.426 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.3448, allocations: 12 kB / 411.3 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007445/0.3455, allocations: 311.7 kB / 411.6 MB, free: 6.109 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.001373/0.3469, allocations: 0.8441 MB / 412.5 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006873/0.3476, allocations: 245.2 kB / 412.7 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.3479, allocations: 141.6 kB / 412.8 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01507/0.363, allocations: 12.86 MB / 425.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/0.3631, allocations: 38.55 kB / 425.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.154e-06/0.3631, allocations: 0 / 425.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002754/0.3659, allocations: 0.6921 MB / 426.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.3659, allocations: 85.11 kB / 426.5 MB, free: 4.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.3661, allocations: 148.2 kB / 426.6 MB, free: 4.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.358e-05/0.3661, allocations: 33.7 kB / 426.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.3662, allocations: 112.8 kB / 426.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.552e-05/0.3663, allocations: 126.2 kB / 426.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.3664, allocations: 69.64 kB / 427 MB, free: 4.066 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3665, allocations: 338.8 kB / 427.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.3669, allocations: 135.9 kB / 427.4 MB, free: 3.594 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004642/0.3673, allocations: 207.6 kB / 427.6 MB, free: 3.363 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008577/0.3682, allocations: 363.5 kB / 428 MB, free: 2.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3682, allocations: 0 / 428 MB, free: 2.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0011/0.3693, allocations: 416.1 kB / 428.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3694, allocations: 7.938 kB / 428.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3694, allocations: 5.375 kB / 428.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.3694, allocations: 4.219 kB / 428.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.3699, allocations: 95.81 kB / 428.5 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3699, allocations: 7.938 kB / 428.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.3702, allocations: 31.81 kB / 428.6 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.3702, allocations: 19.98 kB / 428.6 MB, free: 2.402 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.0001393/0.3704, allocations: 138.9 kB / 428.7 MB, free: 2.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.3705, allocations: 19.81 kB / 428.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000494/0.371, allocations: 193.3 kB / 428.9 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.371, allocations: 7.938 kB / 428.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.371, allocations: 7.938 kB / 428.9 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3711, allocations: 7.984 kB / 428.9 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.3727, allocations: 0.7701 MB / 429.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.3727, allocations: 0.5 kB / 429.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004111/0.3732, allocations: 83.88 kB / 429.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3732, allocations: 4 kB / 429.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.052e-05/0.3732, allocations: 9.125 kB / 429.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3732, allocations: 4.156 kB / 429.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3732, allocations: 7.984 kB / 429.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001434/0.3747, allocations: 0.716 MB / 430.5 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.3748, allocations: 125 kB / 430.7 MB, free: 188 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.479e-05/0.3749, allocations: 8 kB / 430.7 MB, free: 180 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.3752, allocations: 19.98 kB / 430.7 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.3753, allocations: 27.91 kB / 430.7 MB, free: 132 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.3753, allocations: 20.86 kB / 430.7 MB, free: 112 kB / 334.1 MB Notification: Performance of sorting global known variables: time 7.807e-05/0.3754, allocations: 110.3 kB / 430.8 MB, free: 4 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3754, allocations: 0 / 430.8 MB, free: 4 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.002575/0.378, allocations: 0.9604 MB / 431.8 MB, free: 15.04 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.004039/0.3821, allocations: 1.255 MB / 433.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.3832, allocations: 343.6 kB / 433.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.3832, allocations: 8.438 kB / 433.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004546/0.3836, allocations: 175.7 kB / 433.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007178/0.3844, allocations: 104.1 kB / 433.7 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.3858, allocations: 0.6158 MB / 434.3 MB, free: 12.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.3861, allocations: 0.7452 MB / 435 MB, free: 11.74 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003282/0.3864, allocations: 86.17 kB / 435.1 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.3866, allocations: 39.41 kB / 435.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3866, allocations: 0 / 435.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Templates: time 0.03817/0.4247, allocations: 29.86 MB / 465 MB, free: 13.77 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 -s cvode -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/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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches