Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 169.1 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2673/0.2673, allocations: 32.8 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 323.2 MB, free: 9.738 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.104e-05/1.218e-05, allocations: 5.578 kB / 323.2 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2802/0.2802, allocations: 146.2 MB / 469.4 MB, free: 12.74 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.2814, allocations: 1.356 MB / 470.8 MB, free: 12.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.209e-05/0.2814, allocations: 0 / 470.8 MB, free: 12.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000283/0.2817, allocations: 37.52 kB / 470.8 MB, free: 12.63 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.2837, allocations: 1.066 MB / 471.9 MB, free: 12.52 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.907e-06/0.2837, allocations: 7.219 kB / 471.9 MB, free: 12.51 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.2839, allocations: 49.89 kB / 471.9 MB, free: 12.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.2839, allocations: 9.562 kB / 471.9 MB, free: 12.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.2839, allocations: 21.03 kB / 472 MB, free: 12.51 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/0.284, allocations: 24.45 kB / 472 MB, free: 12.51 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.284, allocations: 0 / 472 MB, free: 12.51 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002082/0.2861, allocations: 1.579 MB / 473.6 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.2861, allocations: 13.05 kB / 473.6 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.2862, allocations: 17.73 kB / 473.6 MB, free: 12.45 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001243/0.2874, allocations: 1.028 MB / 474.6 MB, free: 12.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2874, allocations: 0 / 474.6 MB, free: 12.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2874, allocations: 0 / 474.6 MB, free: 12.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.586e-06/0.2874, allocations: 1.203 kB / 474.6 MB, free: 12.37 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005035/0.2879, allocations: 399.3 kB / 475 MB, free: 12.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.288, allocations: 10.94 kB / 475 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.288, allocations: 9.859 kB / 475 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.374e-05/0.288, allocations: 107.3 kB / 475.1 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.288, allocations: 0 / 475.1 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.288, allocations: 6.812 kB / 475.1 MB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.544e-05/0.2881, allocations: 58.12 kB / 475.2 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2881, allocations: 5.609 kB / 475.2 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.2881, allocations: 3.562 kB / 475.2 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.2882, allocations: 8.219 kB / 475.2 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.047e-05/0.2882, allocations: 13.7 kB / 475.2 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.2884, allocations: 207.9 kB / 475.4 MB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.204e-05/0.2885, allocations: 26.61 kB / 475.5 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.2885, allocations: 14.42 kB / 475.5 MB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001593/0.2886, allocations: 50.56 kB / 475.5 MB, free: 11.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.2887, allocations: 32.97 kB / 475.5 MB, free: 11.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2887, allocations: 4 kB / 475.6 MB, free: 11.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 9.795e-05/0.2888, allocations: 49.11 kB / 475.6 MB, free: 11.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/0.2888, allocations: 53.5 kB / 475.7 MB, free: 11.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.922e-05/0.2888, allocations: 103.7 kB / 475.8 MB, free: 11.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.2e-06/0.2888, allocations: 25.7 kB / 475.8 MB, free: 11.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.334e-05/0.2888, allocations: 97.03 kB / 475.9 MB, free: 11.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.674e-06/0.2889, allocations: 16.2 kB / 475.9 MB, free: 11.29 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.2889, allocations: 22.22 kB / 475.9 MB, free: 11.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.628e-05/0.2889, allocations: 321.2 kB / 476.2 MB, free: 10.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-06/0.2889, allocations: 5.062 kB / 476.2 MB, free: 10.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.833e-05/0.2889, allocations: 30.59 kB / 476.3 MB, free: 10.93 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.199e-05/0.289, allocations: 46.39 kB / 476.3 MB, free: 10.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.289, allocations: 3.062 kB / 476.3 MB, free: 10.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.033e-05/0.289, allocations: 60.75 kB / 476.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.289, allocations: 5.375 kB / 476.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.289, allocations: 2.625 kB / 476.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.289, allocations: 2.859 kB / 476.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.081e-05/0.2891, allocations: 11.38 kB / 476.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.2891, allocations: 5.094 kB / 476.4 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/0.2891, allocations: 14.25 kB / 476.4 MB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.2891, allocations: 14.58 kB / 476.4 MB, free: 10.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (7): * Single equations (assignments): 7 * 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 3.385e-05/0.2892, allocations: 111 kB / 476.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.2892, allocations: 2.938 kB / 476.5 MB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.684e-05/0.2893, allocations: 57.95 kB / 476.6 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2893, allocations: 7.062 kB / 476.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.2893, allocations: 0 / 476.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2893, allocations: 0 / 476.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.674e-05/0.2893, allocations: 72.39 kB / 476.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2893, allocations: 1.203 kB / 476.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.467e-05/0.2893, allocations: 10.61 kB / 476.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2893, allocations: 2.562 kB / 476.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-06/0.2893, allocations: 0 / 476.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2893, allocations: 0 / 476.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2893, allocations: 0 / 476.7 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.164e-05/0.2894, allocations: 148.1 kB / 476.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-06/0.2894, allocations: 9.047 kB / 476.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.274e-06/0.2894, allocations: 0 / 476.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.323e-05/0.2894, allocations: 0 / 476.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.2894, allocations: 5.453 kB / 476.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-06/0.2894, allocations: 1.203 kB / 476.8 MB, free: 10.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.678e-06/0.2894, allocations: 11.08 kB / 476.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2894, allocations: 0 / 476.9 MB, free: 10.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002916/0.2897, allocations: 144.4 kB / 477 MB, free: 10.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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.0004251/0.2902, allocations: 325.9 kB / 477.3 MB, free: 10.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.011e-05/0.2902, allocations: 31.89 kB / 477.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2902, allocations: 0 / 477.3 MB, free: 10.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.454e-06/0.2902, allocations: 12.11 kB / 477.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.2904, allocations: 12.27 kB / 477.4 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.2907, allocations: 159.2 kB / 477.5 MB, free: 10.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.693e-05/0.2908, allocations: 59.14 kB / 477.6 MB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.017e-05/0.2908, allocations: 11.08 kB / 477.6 MB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.861e-05/0.2909, allocations: 61.48 kB / 477.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.2909, allocations: 0 / 477.7 MB, free: 10.02 MB / 410.7 MB Notification: Performance of Templates: time 0.008382/0.2992, allocations: 4.097 MB / 481.7 MB, free: 9.547 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4267743518576026]