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.001558/0.001559, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001141/0.001141, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 247.4 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.77 kB / 307.6 MB, free: 0.6719 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1039, allocations: 50.53 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1839/0.2878, allocations: 26.63 MB / 384.8 MB, free: 7.613 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002518/0.2904, allocations: 2.234 MB / 387 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.2905, allocations: 2.375 kB / 387 MB, free: 6.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003778/0.2909, allocations: 71.02 kB / 387.1 MB, free: 6.012 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003961/0.2913, allocations: 167.1 kB / 387.2 MB, free: 5.914 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01977/0.3111, allocations: 6.515 MB / 393.8 MB, free: 2.543 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006078/0.3117, allocations: 341.4 kB / 394.1 MB, free: 2.363 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.327e-05/0.3118, allocations: 9.125 kB / 394.1 MB, free: 2.359 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003728/0.3122, allocations: 139.5 kB / 394.2 MB, free: 2.293 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.3125, allocations: 126.4 kB / 394.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.75e-05/0.3126, allocations: 12.66 kB / 394.4 MB, free: 2.223 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0204/0.333, allocations: 9.361 MB / 403.7 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.3332, allocations: 75.52 kB / 403.8 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.3334, allocations: 101.1 kB / 403.9 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.347, allocations: 4.731 MB / 408.6 MB, free: 9.074 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3471, allocations: 0 / 408.6 MB, free: 9.074 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3471, allocations: 0 / 408.6 MB, free: 9.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.3471, allocations: 0 / 408.6 MB, free: 9.074 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.003779/0.3509, allocations: 1.147 MB / 409.8 MB, free: 7.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.351, allocations: 12.03 kB / 409.8 MB, free: 7.867 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.3511, allocations: 28.67 kB / 409.8 MB, free: 7.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.3514, allocations: 226.7 kB / 410.1 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.3515, allocations: 12.33 kB / 410.1 MB, free: 7.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.318e-05/0.3515, allocations: 12 kB / 410.1 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007542/0.3523, allocations: 285.4 kB / 410.4 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.3523, allocations: 0 / 410.4 MB, free: 7.266 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.216e-05/0.3524, allocations: 12 kB / 410.4 MB, free: 7.254 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.3524, allocations: 4 kB / 410.4 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008213/0.3532, allocations: 311.7 kB / 410.7 MB, free: 6.945 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.001601/0.3548, allocations: 0.8442 MB / 411.5 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007727/0.3556, allocations: 250 kB / 411.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/0.3559, allocations: 137.4 kB / 411.9 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01652/0.3725, allocations: 12.86 MB / 424.8 MB, free: 6.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/0.3726, allocations: 38.44 kB / 424.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 4.008e-06/0.3726, allocations: 0 / 424.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.00306/0.3756, allocations: 0.7056 MB / 425.5 MB, free: 5.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.3757, allocations: 81.11 kB / 425.6 MB, free: 5.398 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.3759, allocations: 151.9 kB / 425.7 MB, free: 5.242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/0.3759, allocations: 37.64 kB / 425.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.376, allocations: 112.8 kB / 425.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.3761, allocations: 118.2 kB / 426 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.3763, allocations: 73.62 kB / 426.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.3764, allocations: 334.8 kB / 426.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.3768, allocations: 131.9 kB / 426.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005139/0.3773, allocations: 211.6 kB / 426.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009679/0.3783, allocations: 359.5 kB / 427.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.3783, allocations: 4 kB / 427.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001241/0.3796, allocations: 412.6 kB / 427.5 MB, free: 3.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.3796, allocations: 12.2 kB / 427.5 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3796, allocations: 4 kB / 427.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.3797, allocations: 4 kB / 427.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005268/0.3802, allocations: 91.88 kB / 427.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.3802, allocations: 11.88 kB / 427.6 MB, free: 3.281 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.3805, allocations: 27.83 kB / 427.6 MB, free: 3.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.304e-05/0.3806, allocations: 19.98 kB / 427.6 MB, free: 3.234 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.0001673/0.3808, allocations: 146.9 kB / 427.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.3809, allocations: 19.81 kB / 427.8 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005175/0.3815, allocations: 182.7 kB / 428 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.3815, allocations: 4 kB / 428 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/0.3815, allocations: 8.562 kB / 428 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.3815, allocations: 3.938 kB / 428 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.3834, allocations: 0.7753 MB / 428.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.3834, allocations: 0 / 428.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.3838, allocations: 84.91 kB / 428.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.3838, allocations: 7.984 kB / 428.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.3839, allocations: 15.98 kB / 428.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.3839, allocations: 3.938 kB / 428.9 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.3839, allocations: 4 kB / 428.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.3856, allocations: 0.7219 MB / 429.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.3857, allocations: 116.9 kB / 429.7 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.446e-05/0.3858, allocations: 8.875 kB / 429.7 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003812/0.3862, allocations: 23.97 kB / 429.8 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.3862, allocations: 27.91 kB / 429.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/0.3863, allocations: 24.05 kB / 429.8 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.343e-05/0.3864, allocations: 106.2 kB / 429.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3864, allocations: 0 / 429.9 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003375/0.3898, allocations: 0.9565 MB / 430.9 MB, free: 15.87 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.00533/0.3951, allocations: 1.259 MB / 432.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001181/0.3963, allocations: 368 kB / 432.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.3963, allocations: 4 kB / 432.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005129/0.3969, allocations: 175.7 kB / 432.7 MB, free: 14.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007889/0.3977, allocations: 106.8 kB / 432.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.3992, allocations: 0.6548 MB / 433.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.3995, allocations: 0.7451 MB / 434.2 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/0.3997, allocations: 47.41 kB / 434.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3998, allocations: 0 / 434.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of Templates: time 0.03228/0.432, allocations: 20.17 MB / 454.4 MB, free: 8.262 MB / 366.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