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.001552/0.001552, allocations: 116.1 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001974/0.001974, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001102, allocations: 59.91 kB / 358.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2133, allocations: 50.54 MB / 409.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02965/0.243, allocations: 26.64 MB / 435.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002625/0.2457, allocations: 2.251 MB / 438.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.2457, allocations: 4 kB / 438.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.2461, allocations: 59.64 kB / 438.2 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.2464, allocations: 175 kB / 438.4 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01394/0.2604, allocations: 6.53 MB / 444.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.2608, allocations: 338.7 kB / 445.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.2609, allocations: 21.53 kB / 445.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002039/0.2611, allocations: 139.5 kB / 445.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.2613, allocations: 119.6 kB / 445.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.877e-05/0.2614, allocations: 12 kB / 445.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01463/0.276, allocations: 9.542 MB / 455 MB, free: 3.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.2761, allocations: 63.8 kB / 455.1 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.2763, allocations: 103.6 kB / 455.2 MB, free: 3.543 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00805/0.2843, allocations: 4.726 MB / 459.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2844, allocations: 4 kB / 459.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2844, allocations: 0 / 459.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.2844, allocations: 0 / 459.9 MB, free: 14.8 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.002847/0.2872, allocations: 1.146 MB / 461.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2873, allocations: 8.031 kB / 461.1 MB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.2875, allocations: 28.12 kB / 461.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.2877, allocations: 218.7 kB / 461.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.2877, allocations: 12.33 kB / 461.3 MB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.229e-05/0.2878, allocations: 16 kB / 461.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006786/0.2885, allocations: 293.3 kB / 461.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.2885, allocations: 0 / 461.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.2885, allocations: 12 kB / 461.7 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.2885, allocations: 7.938 kB / 461.7 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007699/0.2893, allocations: 307.8 kB / 462 MB, free: 12.67 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.00135/0.2907, allocations: 0.836 MB / 462.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006954/0.2914, allocations: 249.1 kB / 463 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002957/0.2917, allocations: 137.6 kB / 463.2 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01509/0.3068, allocations: 12.84 MB / 476 MB, free: 11.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.3069, allocations: 38.56 kB / 476.1 MB, free: 11.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.595e-06/0.3069, allocations: 0 / 476.1 MB, free: 11.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002877/0.3098, allocations: 0.7096 MB / 476.8 MB, free: 11.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.3098, allocations: 85.11 kB / 476.9 MB, free: 11.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.31, allocations: 144 kB / 477 MB, free: 10.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.31, allocations: 29.7 kB / 477 MB, free: 10.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.3101, allocations: 112.8 kB / 477.1 MB, free: 10.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.367e-05/0.3102, allocations: 126.2 kB / 477.3 MB, free: 10.71 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/0.3103, allocations: 77.64 kB / 477.3 MB, free: 10.63 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3104, allocations: 338.7 kB / 477.7 MB, free: 10.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.3108, allocations: 127.9 kB / 477.8 MB, free: 10.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.3113, allocations: 219.5 kB / 478 MB, free: 9.922 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008728/0.3122, allocations: 358.6 kB / 478.4 MB, free: 9.547 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3122, allocations: 4 kB / 478.4 MB, free: 9.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001126/0.3133, allocations: 424.5 kB / 478.8 MB, free: 9.125 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3133, allocations: 10.81 kB / 478.8 MB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3134, allocations: 0 / 478.8 MB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.3134, allocations: 7.938 kB / 478.8 MB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.3139, allocations: 91.88 kB / 478.9 MB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.3139, allocations: 7.984 kB / 478.9 MB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002808/0.3142, allocations: 27.83 kB / 478.9 MB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.3142, allocations: 24.11 kB / 478.9 MB, free: 8.961 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.0001328/0.3144, allocations: 141.7 kB / 479.1 MB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.3145, allocations: 19.81 kB / 479.1 MB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004491/0.315, allocations: 186.7 kB / 479.3 MB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.315, allocations: 4 kB / 479.3 MB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.315, allocations: 0 / 479.3 MB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.315, allocations: 3.984 kB / 479.3 MB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00165/0.3167, allocations: 0.7868 MB / 480.1 MB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3167, allocations: 0 / 480.1 MB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004321/0.3171, allocations: 84.03 kB / 480.2 MB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.3171, allocations: 4 kB / 480.2 MB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.284e-05/0.3172, allocations: 12 kB / 480.2 MB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3172, allocations: 7.984 kB / 480.2 MB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3172, allocations: 7.938 kB / 480.2 MB, free: 7.629 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.3187, allocations: 0.7141 MB / 480.9 MB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.3188, allocations: 124.7 kB / 481 MB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.009e-05/0.3189, allocations: 12 kB / 481 MB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.3192, allocations: 19.98 kB / 481.1 MB, free: 6.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.3193, allocations: 35.83 kB / 481.1 MB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.3193, allocations: 16.06 kB / 481.1 MB, free: 6.656 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.012e-05/0.3194, allocations: 107.2 kB / 481.2 MB, free: 6.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3194, allocations: 0 / 481.2 MB, free: 6.551 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002395/0.3218, allocations: 0.9525 MB / 482.2 MB, free: 5.598 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.003435/0.3252, allocations: 1.246 MB / 483.4 MB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009808/0.3262, allocations: 352 kB / 483.8 MB, free: 4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3262, allocations: 0 / 483.8 MB, free: 4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004549/0.3267, allocations: 171.8 kB / 483.9 MB, free: 3.832 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.3274, allocations: 111.2 kB / 484 MB, free: 3.727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.3288, allocations: 0.6172 MB / 484.6 MB, free: 3.062 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.3291, allocations: 0.7413 MB / 485.4 MB, free: 2.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003241/0.3294, allocations: 86.17 kB / 485.5 MB, free: 2.211 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.3295, allocations: 39.42 kB / 485.5 MB, free: 2.172 MB / 398.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3296, allocations: 0 / 485.5 MB, free: 2.172 MB / 398.1 MB Notification: Performance of Templates: time 0.03825/0.3678, allocations: 29.91 MB / 0.5033 GB, free: 4.273 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/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