Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007706/0.0007706, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002924/0.002924, allocations: 156 kB / 24.7 MB, free: 9.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8412/0.8412, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 325.7 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.648e-05, allocations: 7.203 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2775/0.2775, allocations: 133.3 MB / 459.1 MB, free: 5.902 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.2787, allocations: 1.442 MB / 460.5 MB, free: 5.879 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.986e-05/0.2788, allocations: 1.406 kB / 460.5 MB, free: 5.879 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.2791, allocations: 63.16 kB / 460.6 MB, free: 5.879 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003269/0.2794, allocations: 172.7 kB / 460.7 MB, free: 5.879 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.2813, allocations: 1.063 MB / 461.8 MB, free: 5.844 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.2816, allocations: 367.8 kB / 462.1 MB, free: 5.84 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.2817, allocations: 9.562 kB / 462.2 MB, free: 5.836 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002309/0.2819, allocations: 211.8 kB / 462.4 MB, free: 5.836 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001687/0.2821, allocations: 117.6 kB / 462.5 MB, free: 5.836 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.2821, allocations: 13.72 kB / 462.5 MB, free: 5.836 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.2838, allocations: 1.375 MB / 463.9 MB, free: 5.816 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.2839, allocations: 78.42 kB / 463.9 MB, free: 5.816 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.949e-05/0.284, allocations: 78.58 kB / 464 MB, free: 5.816 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001251/0.2852, allocations: 1.135 MB / 465.2 MB, free: 5.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.2852, allocations: 1.625 kB / 465.2 MB, free: 5.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2852, allocations: 0 / 465.2 MB, free: 5.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.2853, allocations: 0 / 465.2 MB, free: 5.75 MB / 410.7 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.001068/0.2863, allocations: 0.6269 MB / 465.8 MB, free: 5.348 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2864, allocations: 15.14 kB / 465.8 MB, free: 5.344 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.2865, allocations: 26.19 kB / 465.8 MB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001737/0.2866, allocations: 167.2 kB / 466 MB, free: 5.195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.2866, allocations: 15.98 kB / 466 MB, free: 5.191 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.2867, allocations: 19.27 kB / 466 MB, free: 5.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003796/0.2871, allocations: 373.4 kB / 466.4 MB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.2871, allocations: 0 / 466.4 MB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.2871, allocations: 4.906 kB / 466.4 MB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.2871, allocations: 10.03 kB / 466.4 MB, free: 5.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003573/0.2875, allocations: 264.3 kB / 466.7 MB, free: 5.004 MB / 410.7 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.0008185/0.2883, allocations: 0.6175 MB / 467.3 MB, free: 4.664 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.2886, allocations: 206.9 kB / 467.5 MB, free: 4.617 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.2888, allocations: 128.9 kB / 467.6 MB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.2889, allocations: 60.77 kB / 467.7 MB, free: 4.594 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.289, allocations: 33.28 kB / 467.7 MB, free: 4.555 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.054e-06/0.289, allocations: 0 / 467.7 MB, free: 4.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001259/0.2902, allocations: 0.6908 MB / 468.4 MB, free: 4.465 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.2903, allocations: 82.08 kB / 468.5 MB, free: 4.371 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.65e-05/0.2903, allocations: 145 kB / 468.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.2903, allocations: 33.58 kB / 468.6 MB, free: 4.234 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.2904, allocations: 117.2 kB / 468.8 MB, free: 4.137 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.2904, allocations: 133.5 kB / 468.9 MB, free: 4.047 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-05/0.2905, allocations: 70.38 kB / 469 MB, free: 4.027 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.123e-05/0.2905, allocations: 326.9 kB / 469.3 MB, free: 3.715 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.2907, allocations: 130.7 kB / 469.4 MB, free: 3.715 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.2909, allocations: 210 kB / 469.6 MB, free: 3.641 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004033/0.2913, allocations: 366.8 kB / 470 MB, free: 3.562 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2913, allocations: 0 / 470 MB, free: 3.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000493/0.2918, allocations: 411.1 kB / 470.4 MB, free: 3.512 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2918, allocations: 8.719 kB / 470.4 MB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2918, allocations: 0 / 470.4 MB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2919, allocations: 2.875 kB / 470.4 MB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.2921, allocations: 89.66 kB / 470.5 MB, free: 3.512 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2921, allocations: 13.59 kB / 470.5 MB, free: 3.508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.2922, allocations: 25.73 kB / 470.5 MB, free: 3.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.2922, allocations: 14.25 kB / 470.5 MB, free: 3.504 MB / 410.7 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 8e-05/0.2923, allocations: 148.1 kB / 470.7 MB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.2924, allocations: 19.72 kB / 470.7 MB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.2926, allocations: 182.3 kB / 470.9 MB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2926, allocations: 5.062 kB / 470.9 MB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2926, allocations: 0 / 470.9 MB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.2926, allocations: 2.578 kB / 470.9 MB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008382/0.2934, allocations: 0.6677 MB / 471.5 MB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2934, allocations: 3.812 kB / 471.5 MB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.2936, allocations: 80.55 kB / 471.6 MB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.2936, allocations: 6.781 kB / 471.6 MB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.2937, allocations: 11.8 kB / 471.6 MB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.2937, allocations: 7.672 kB / 471.6 MB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2937, allocations: 3.938 kB / 471.6 MB, free: 3.027 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007393/0.2944, allocations: 0.7182 MB / 472.4 MB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.336e-05/0.2945, allocations: 48.89 kB / 472.4 MB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.2945, allocations: 8.875 kB / 472.4 MB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.2947, allocations: 22.52 kB / 472.4 MB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.2947, allocations: 27.16 kB / 472.5 MB, free: 2.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.2947, allocations: 17.3 kB / 472.5 MB, free: 2.734 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.862e-05/0.2948, allocations: 109.6 kB / 472.6 MB, free: 2.656 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2948, allocations: 0 / 472.6 MB, free: 2.656 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004553/0.2952, allocations: 159.9 kB / 472.7 MB, free: 2.637 MB / 410.7 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 (38): * Single equations (assignments): 38 * 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.0003388/0.2955, allocations: 247.6 kB / 473 MB, free: 2.52 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004789/0.296, allocations: 327 kB / 473.3 MB, free: 2.516 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.296, allocations: 448 / 473.3 MB, free: 2.516 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002008/0.2962, allocations: 172 kB / 473.5 MB, free: 2.512 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.2967, allocations: 104.9 kB / 473.6 MB, free: 2.492 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008079/0.2975, allocations: 0.5871 MB / 474.2 MB, free: 2.168 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.635e-05/0.2975, allocations: 140.9 kB / 474.3 MB, free: 2.086 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.2976, allocations: 39.95 kB / 474.3 MB, free: 2.078 MB / 410.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2976, allocations: 3.094 kB / 474.3 MB, free: 2.078 MB / 410.7 MB Notification: Performance of Templates: time 0.00496/0.3026, allocations: 4.909 MB / 479.3 MB, free: 1.613 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.675126379355788]