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.001506/0.001506, allocations: 106 kB / 18.45 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001819/0.001819, allocations: 205.9 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 55.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2816, allocations: 50.54 MB / 409.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03116/0.3128, allocations: 26.64 MB / 436.6 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002877/0.3157, allocations: 2.243 MB / 438.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.3158, allocations: 0 / 438.8 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003508/0.3162, allocations: 71.58 kB / 438.9 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003954/0.3166, allocations: 159 kB / 439 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01554/0.3322, allocations: 6.521 MB / 445.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.3327, allocations: 334.7 kB / 445.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.781e-05/0.3327, allocations: 13.56 kB / 445.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002825/0.333, allocations: 143.5 kB / 446 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.3333, allocations: 119.6 kB / 446.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.358e-05/0.3333, allocations: 12 kB / 446.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01709/0.3504, allocations: 9.538 MB / 455.7 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.3506, allocations: 75.78 kB / 455.8 MB, free: 3.781 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.3508, allocations: 103.6 kB / 455.9 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.361, allocations: 4.733 MB / 460.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3611, allocations: 0 / 460.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3611, allocations: 0 / 460.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.637e-06/0.3611, allocations: 0 / 460.6 MB, free: 14.93 MB / 382.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.003304/0.3644, allocations: 1.139 MB / 461.7 MB, free: 13.74 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3645, allocations: 12.03 kB / 461.8 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.3646, allocations: 24.12 kB / 461.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.3649, allocations: 222.6 kB / 462 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3649, allocations: 8.328 kB / 462 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.568e-05/0.365, allocations: 24 kB / 462 MB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007194/0.3657, allocations: 285.4 kB / 462.3 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.3657, allocations: 0 / 462.3 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.3658, allocations: 12 kB / 462.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.3658, allocations: 7.938 kB / 462.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008022/0.3666, allocations: 315.7 kB / 462.6 MB, free: 12.8 MB / 382.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.001396/0.368, allocations: 0.8204 MB / 463.5 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007028/0.3687, allocations: 253.1 kB / 463.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.369, allocations: 133.6 kB / 463.8 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01565/0.3847, allocations: 12.86 MB / 476.7 MB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.3848, allocations: 38.56 kB / 476.7 MB, free: 12.08 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.013e-06/0.3848, allocations: 4 kB / 476.7 MB, free: 12.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00292/0.3877, allocations: 0.7024 MB / 477.4 MB, free: 11.38 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/0.3878, allocations: 85.05 kB / 477.5 MB, free: 11.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.3879, allocations: 144 kB / 477.7 MB, free: 11.12 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.388, allocations: 29.7 kB / 477.7 MB, free: 11.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.3881, allocations: 116.8 kB / 477.8 MB, free: 10.97 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.3882, allocations: 126.2 kB / 477.9 MB, free: 10.85 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.3883, allocations: 73.64 kB / 478 MB, free: 10.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.3884, allocations: 334.8 kB / 478.3 MB, free: 10.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003924/0.3888, allocations: 131.9 kB / 478.5 MB, free: 10.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004939/0.3893, allocations: 215.6 kB / 478.7 MB, free: 10.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009223/0.3903, allocations: 355.5 kB / 479 MB, free: 9.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3903, allocations: 0 / 479 MB, free: 9.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001169/0.3914, allocations: 424.6 kB / 479.4 MB, free: 9.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.3915, allocations: 11.94 kB / 479.4 MB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3915, allocations: 0 / 479.4 MB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3915, allocations: 7.938 kB / 479.4 MB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004803/0.392, allocations: 99.8 kB / 479.5 MB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.392, allocations: 4.219 kB / 479.5 MB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.3923, allocations: 27.83 kB / 479.6 MB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-05/0.3924, allocations: 23.98 kB / 479.6 MB, free: 9.102 MB / 398.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.0001524/0.3925, allocations: 141.7 kB / 479.7 MB, free: 8.953 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.3927, allocations: 19.81 kB / 479.8 MB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004636/0.3932, allocations: 186.6 kB / 479.9 MB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/0.3932, allocations: 7.984 kB / 479.9 MB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3932, allocations: 0 / 479.9 MB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3932, allocations: 0 / 479.9 MB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.3949, allocations: 0.7936 MB / 480.7 MB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3949, allocations: 3.938 kB / 480.7 MB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.3954, allocations: 79.88 kB / 480.8 MB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.3954, allocations: 4 kB / 480.8 MB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.026e-05/0.3954, allocations: 11.98 kB / 480.8 MB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.3954, allocations: 4 kB / 480.8 MB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.3954, allocations: 4 kB / 480.8 MB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.397, allocations: 0.7103 MB / 481.6 MB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.3971, allocations: 128.8 kB / 481.7 MB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.137e-05/0.3972, allocations: 12 kB / 481.7 MB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.3976, allocations: 24.03 kB / 481.7 MB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.3976, allocations: 31.91 kB / 481.7 MB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.3977, allocations: 8 kB / 481.8 MB, free: 6.809 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.767e-05/0.3977, allocations: 114 kB / 481.9 MB, free: 6.699 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3978, allocations: 0 / 481.9 MB, free: 6.699 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002713/0.4005, allocations: 0.9564 MB / 482.8 MB, free: 5.742 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.004522/0.405, allocations: 1.254 MB / 484.1 MB, free: 4.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.4061, allocations: 351.5 kB / 484.4 MB, free: 4.137 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.4061, allocations: 0 / 484.4 MB, free: 4.137 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004974/0.4066, allocations: 184.5 kB / 484.6 MB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007666/0.4074, allocations: 99.84 kB / 484.7 MB, free: 3.859 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.4089, allocations: 0.6384 MB / 485.3 MB, free: 3.168 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.4092, allocations: 0.7452 MB / 486.1 MB, free: 2.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.4094, allocations: 47.41 kB / 486.1 MB, free: 2.348 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4094, allocations: 0 / 486.1 MB, free: 2.348 MB / 398.1 MB Notification: Performance of Templates: time 0.0291/0.4385, allocations: 20.16 MB / 0.4944 GB, free: 14.17 MB / 430.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 -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