Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001513/0.001513, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001969/0.001969, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 0.9343/0.9343, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2359/0.2359, allocations: 34.25 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 3.938 kB / 378 MB, free: 2.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.87e-05/3.084e-05, allocations: 2.312 kB / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.287/0.2871, allocations: 146.9 MB / 0.5126 GB, free: 17.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.2884, allocations: 1.471 MB / 0.514 GB, free: 16.42 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.2885, allocations: 0 / 0.514 GB, free: 16.42 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004178/0.2889, allocations: 38.7 kB / 0.5141 GB, free: 16.4 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002538/0.2915, allocations: 1.108 MB / 0.5152 GB, free: 15.92 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.658e-06/0.2915, allocations: 0 / 0.5152 GB, free: 15.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.2916, allocations: 64.97 kB / 0.5152 GB, free: 15.89 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.678e-05/0.2916, allocations: 3.578 kB / 0.5152 GB, free: 15.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.709e-05/0.2917, allocations: 39.86 kB / 0.5153 GB, free: 15.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.53e-05/0.2917, allocations: 28.94 kB / 0.5153 GB, free: 15.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.2918, allocations: 0 / 0.5153 GB, free: 15.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.2938, allocations: 1.622 MB / 0.5169 GB, free: 15.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.244e-05/0.2939, allocations: 16.48 kB / 0.5169 GB, free: 15.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.2939, allocations: 14.47 kB / 0.5169 GB, free: 15.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.2951, allocations: 1.033 MB / 0.5179 GB, free: 15.11 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.2951, allocations: 6.656 kB / 0.5179 GB, free: 15.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2951, allocations: 4 kB / 0.5179 GB, free: 15.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2951, allocations: 0 / 0.5179 GB, free: 15.1 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006241/0.2958, allocations: 0.5271 MB / 0.5184 GB, free: 14.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2958, allocations: 8.781 kB / 0.5184 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.2958, allocations: 8.812 kB / 0.5185 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.72e-05/0.2959, allocations: 114.6 kB / 0.5186 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.2959, allocations: 3.984 kB / 0.5186 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.2959, allocations: 13.78 kB / 0.5186 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.296, allocations: 55.67 kB / 0.5186 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.296, allocations: 0 / 0.5186 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.296, allocations: 2.875 kB / 0.5186 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.2961, allocations: 12.25 kB / 0.5186 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.337e-05/0.2961, allocations: 29.53 kB / 0.5187 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.2965, allocations: 305.4 kB / 0.519 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.727e-05/0.2965, allocations: 46.75 kB / 0.519 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.2965, allocations: 17.03 kB / 0.519 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.767e-05/0.2966, allocations: 29.58 kB / 0.5191 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.2966, allocations: 35.92 kB / 0.5191 GB, free: 14.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.2966, allocations: 0 / 0.5191 GB, free: 14.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001491/0.2968, allocations: 63.22 kB / 0.5192 GB, free: 13.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/0.2968, allocations: 53.14 kB / 0.5192 GB, free: 13.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.926e-05/0.2969, allocations: 176.8 kB / 0.5194 GB, free: 13.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.489e-06/0.2969, allocations: 25.7 kB / 0.5194 GB, free: 13.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.135e-05/0.2969, allocations: 143.9 kB / 0.5195 GB, free: 13.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.967e-06/0.2969, allocations: 15.41 kB / 0.5195 GB, free: 13.56 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.2969, allocations: 27.67 kB / 0.5196 GB, free: 13.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.134e-05/0.297, allocations: 0.4895 MB / 0.5201 GB, free: 13.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.516e-05/0.297, allocations: 5.469 kB / 0.5201 GB, free: 13.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.676e-05/0.297, allocations: 46.39 kB / 0.5201 GB, free: 12.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.579e-05/0.2971, allocations: 70.3 kB / 0.5202 GB, free: 12.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.2971, allocations: 0 / 0.5202 GB, free: 12.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.187e-05/0.2971, allocations: 84.58 kB / 0.5202 GB, free: 12.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2972, allocations: 5.656 kB / 0.5203 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2972, allocations: 0 / 0.5203 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2972, allocations: 3.062 kB / 0.5203 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.2972, allocations: 11.22 kB / 0.5203 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2972, allocations: 6.906 kB / 0.5203 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.2973, allocations: 7.922 kB / 0.5203 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.2973, allocations: 9.531 kB / 0.5203 GB, free: 12.86 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 (8): * Single equations (assignments): 7 * Array equations: 1 * 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 4.302e-05/0.2973, allocations: 159.2 kB / 0.5204 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.2973, allocations: 10.92 kB / 0.5205 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.2974, allocations: 72.95 kB / 0.5205 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2975, allocations: 0 / 0.5205 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2975, allocations: 0 / 0.5205 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2975, allocations: 6.5 kB / 0.5205 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.944e-05/0.2975, allocations: 123.7 kB / 0.5206 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2975, allocations: 0 / 0.5206 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-05/0.2976, allocations: 8.406 kB / 0.5207 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.2976, allocations: 0 / 0.5207 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.2976, allocations: 3.781 kB / 0.5207 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.2976, allocations: 0 / 0.5207 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2976, allocations: 0 / 0.5207 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.864e-05/0.2976, allocations: 211.1 kB / 0.5209 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.513e-06/0.2976, allocations: 8.734 kB / 0.5209 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.2977, allocations: 3.469 kB / 0.5209 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.447e-05/0.2977, allocations: 4 kB / 0.5209 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.463e-05/0.2977, allocations: 6.859 kB / 0.5209 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.2977, allocations: 2.844 kB / 0.5209 GB, free: 12.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.551e-05/0.2977, allocations: 128.4 kB / 0.521 GB, free: 12.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2977, allocations: 0 / 0.521 GB, free: 12.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003143/0.298, allocations: 153.3 kB / 0.5212 GB, free: 12.12 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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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.0004493/0.2985, allocations: 350.2 kB / 0.5215 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.908e-05/0.2986, allocations: 48.97 kB / 0.5215 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2986, allocations: 0 / 0.5215 GB, free: 11.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/0.2986, allocations: 21.53 kB / 0.5216 GB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.2988, allocations: 12.14 kB / 0.5216 GB, free: 11.92 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/0.2994, allocations: 178.3 kB / 0.5217 GB, free: 11.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.814e-05/0.2994, allocations: 60.25 kB / 0.5218 GB, free: 11.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.088e-05/0.2995, allocations: 22.83 kB / 0.5218 GB, free: 11.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.772e-05/0.2995, allocations: 20.91 kB / 0.5218 GB, free: 11.69 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2995, allocations: 0 / 0.5218 GB, free: 11.69 MB / 410.7 MB Notification: Performance of Templates: time 0.005288/0.3048, allocations: 4.432 MB / 0.5262 GB, free: 11.16 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4863602318800986]