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.001459/0.001459, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001823/0.001823, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 60.03 kB / 306.9 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08345/0.08467, allocations: 50.54 MB / 357.5 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1713/0.256, allocations: 26.64 MB / 384.1 MB, free: 7.551 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002232/0.2582, allocations: 2.235 MB / 386.3 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.2584, allocations: 0 / 386.3 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003159/0.2587, allocations: 72.94 kB / 386.4 MB, free: 5.949 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.2591, allocations: 161.3 kB / 386.6 MB, free: 5.855 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01746/0.2765, allocations: 6.512 MB / 393.1 MB, free: 2.488 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.277, allocations: 345.5 kB / 393.4 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.547e-05/0.2771, allocations: 9.281 kB / 393.4 MB, free: 2.301 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.2773, allocations: 139.4 kB / 393.6 MB, free: 2.234 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.2776, allocations: 122.8 kB / 393.7 MB, free: 2.168 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.2776, allocations: 15.05 kB / 393.7 MB, free: 2.164 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01667/0.2943, allocations: 9.358 MB / 403.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001504/0.2945, allocations: 73.33 kB / 403.1 MB, free: 13.22 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.2947, allocations: 115 kB / 403.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01034/0.3051, allocations: 4.727 MB / 408 MB, free: 9.008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3051, allocations: 4 kB / 408 MB, free: 9.004 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3051, allocations: 0 / 408 MB, free: 9.004 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.3051, allocations: 0 / 408 MB, free: 9.004 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.003205/0.3083, allocations: 1.143 MB / 409.1 MB, free: 7.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.3084, allocations: 8.031 kB / 409.1 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.3085, allocations: 24.73 kB / 409.1 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.3088, allocations: 222.7 kB / 409.4 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.3088, allocations: 12.33 kB / 409.4 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.059e-05/0.3089, allocations: 12 kB / 409.4 MB, free: 7.5 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007208/0.3096, allocations: 297.3 kB / 409.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3096, allocations: 4 kB / 409.7 MB, free: 7.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.3097, allocations: 6.906 kB / 409.7 MB, free: 7.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.3097, allocations: 8 kB / 409.7 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000791/0.3105, allocations: 304.2 kB / 410 MB, free: 6.887 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.001439/0.3119, allocations: 0.8481 MB / 410.8 MB, free: 5.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000726/0.3127, allocations: 254 kB / 411.1 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/0.313, allocations: 136.3 kB / 411.2 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0158/0.3288, allocations: 12.85 MB / 424.1 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.3289, allocations: 30.56 kB / 424.1 MB, free: 6.152 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 4.158e-06/0.3289, allocations: 0 / 424.1 MB, free: 6.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002913/0.3318, allocations: 0.705 MB / 424.8 MB, free: 5.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.3319, allocations: 81.11 kB / 424.9 MB, free: 5.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.332, allocations: 148 kB / 425 MB, free: 5.191 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.3321, allocations: 29.7 kB / 425.1 MB, free: 5.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.3322, allocations: 116.8 kB / 425.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.3323, allocations: 126.2 kB / 425.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.3324, allocations: 73.64 kB / 425.4 MB, free: 4.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3325, allocations: 334.8 kB / 425.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.3329, allocations: 135.9 kB / 425.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005213/0.3335, allocations: 215.5 kB / 426 MB, free: 4.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009724/0.3345, allocations: 367.1 kB / 426.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3345, allocations: 0 / 426.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001205/0.3357, allocations: 418.2 kB / 426.8 MB, free: 3.332 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.3357, allocations: 4 kB / 426.8 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.3357, allocations: 4 kB / 426.8 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3357, allocations: 4 kB / 426.8 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.3362, allocations: 91.86 kB / 426.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3362, allocations: 11.88 kB / 426.9 MB, free: 3.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.3366, allocations: 32.05 kB / 427 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.072e-05/0.3366, allocations: 19.98 kB / 427 MB, free: 3.168 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.0001441/0.3368, allocations: 142.8 kB / 427.1 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.3369, allocations: 19.81 kB / 427.1 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005185/0.3374, allocations: 193.3 kB / 427.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3375, allocations: 4 kB / 427.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.3375, allocations: 3.938 kB / 427.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.3375, allocations: 0 / 427.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.3393, allocations: 0.782 MB / 428.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3393, allocations: 0 / 428.1 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004452/0.3398, allocations: 83.88 kB / 428.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3398, allocations: 3.75 kB / 428.2 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/0.3398, allocations: 15.98 kB / 428.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.3398, allocations: 0 / 428.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3398, allocations: 4 kB / 428.2 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.3414, allocations: 0.7219 MB / 428.9 MB, free: 1.086 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.3416, allocations: 116.9 kB / 429 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.3416, allocations: 8 kB / 429.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003689/0.342, allocations: 23.97 kB / 429.1 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.3421, allocations: 35.91 kB / 429.1 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.3421, allocations: 16 kB / 429.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.185e-05/0.3422, allocations: 110.3 kB / 429.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3422, allocations: 0 / 429.2 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002522/0.3447, allocations: 0.9565 MB / 430.2 MB, free: 15.81 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.004368/0.3491, allocations: 1.255 MB / 431.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.3502, allocations: 359.6 kB / 431.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3502, allocations: 4 kB / 431.8 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000506/0.3507, allocations: 184.4 kB / 432 MB, free: 14.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007631/0.3515, allocations: 109.6 kB / 432.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.3529, allocations: 0.6205 MB / 432.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.3533, allocations: 0.749 MB / 433.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004203/0.3537, allocations: 86.17 kB / 433.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.3538, allocations: 39.41 kB / 433.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3539, allocations: 0 / 433.6 MB, free: 12.35 MB / 350.1 MB Notification: Performance of Templates: time 0.04222/0.3961, allocations: 29.92 MB / 463.5 MB, free: 14.44 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 -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/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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches