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.001128/0.001128, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001305/0.001305, allocations: 168.1 kB / 24.82 MB, free: 9.273 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.076/1.076, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.3292/0.3292, allocations: 34.27 MB / 296.1 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 179] 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 3.076e-06/3.076e-06, allocations: 0 / 378.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.236e-05/4.544e-05, allocations: 2.312 kB / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4151/0.4152, allocations: 144.1 MB / 0.5104 GB, free: 18.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.4169, allocations: 1.45 MB / 0.5118 GB, free: 17.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.259e-05/0.4169, allocations: 0 / 0.5118 GB, free: 17.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.4173, allocations: 41.39 kB / 0.5118 GB, free: 17.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003105/0.4204, allocations: 1.103 MB / 0.5129 GB, free: 17.19 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.793e-06/0.4204, allocations: 0 / 0.5129 GB, free: 17.19 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.4206, allocations: 69.78 kB / 0.513 GB, free: 17.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.4206, allocations: 2.188 kB / 0.513 GB, free: 17.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.236e-05/0.4207, allocations: 35.84 kB / 0.513 GB, free: 17.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.298e-05/0.4208, allocations: 33.41 kB / 0.513 GB, free: 17.14 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.4208, allocations: 1.188 kB / 0.513 GB, free: 17.14 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.424, allocations: 1.621 MB / 0.5146 GB, free: 16.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.4241, allocations: 17.23 kB / 0.5146 GB, free: 16.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.4241, allocations: 15.86 kB / 0.5147 GB, free: 16.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.4259, allocations: 1.034 MB / 0.5157 GB, free: 16.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4259, allocations: 0 / 0.5157 GB, free: 16.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4259, allocations: 0 / 0.5157 GB, free: 16.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.4259, allocations: 3.938 kB / 0.5157 GB, free: 16.38 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.000768/0.4266, allocations: 0.5356 MB / 0.5162 GB, free: 15.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.4267, allocations: 14.22 kB / 0.5162 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.4267, allocations: 6.062 kB / 0.5162 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.814e-05/0.4268, allocations: 116 kB / 0.5163 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.4268, allocations: 2.625 kB / 0.5163 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.4268, allocations: 10.81 kB / 0.5163 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.482e-05/0.4269, allocations: 47.83 kB / 0.5164 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.4269, allocations: 0 / 0.5164 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.4269, allocations: 6.375 kB / 0.5164 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.4269, allocations: 7.312 kB / 0.5164 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.368e-05/0.427, allocations: 24.89 kB / 0.5164 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.4273, allocations: 286.5 kB / 0.5167 GB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.566e-05/0.4273, allocations: 39.84 kB / 0.5167 GB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.4273, allocations: 10.75 kB / 0.5167 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.4274, allocations: 35.05 kB / 0.5168 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.4275, allocations: 39.89 kB / 0.5168 GB, free: 15.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.4275, allocations: 0 / 0.5168 GB, free: 15.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001239/0.4276, allocations: 59.05 kB / 0.5169 GB, free: 15.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.4276, allocations: 51.41 kB / 0.5169 GB, free: 15.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.459e-05/0.4277, allocations: 172.8 kB / 0.5171 GB, free: 15.06 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-06/0.4277, allocations: 33.64 kB / 0.5171 GB, free: 15.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.4277, allocations: 148 kB / 0.5173 GB, free: 14.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.656e-06/0.4277, allocations: 10.47 kB / 0.5173 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.4277, allocations: 30.42 kB / 0.5173 GB, free: 14.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.4278, allocations: 0.4902 MB / 0.5178 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.4278, allocations: 5.359 kB / 0.5178 GB, free: 14.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.529e-05/0.4279, allocations: 48.67 kB / 0.5178 GB, free: 14.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.592e-05/0.4279, allocations: 51.86 kB / 0.5179 GB, free: 14.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4279, allocations: 4 kB / 0.5179 GB, free: 14.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.451e-05/0.428, allocations: 79.28 kB / 0.518 GB, free: 14.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.428, allocations: 5.812 kB / 0.518 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.428, allocations: 0 / 0.518 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.428, allocations: 4.359 kB / 0.518 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.4281, allocations: 14.23 kB / 0.518 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.4281, allocations: 0 / 0.518 GB, free: 14.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.4281, allocations: 14.91 kB / 0.518 GB, free: 14.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.976e-06/0.4281, allocations: 2.781 kB / 0.518 GB, free: 14.17 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.991e-05/0.4281, allocations: 167.2 kB / 0.5182 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.601e-05/0.4282, allocations: 6.922 kB / 0.5182 GB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.4283, allocations: 73.08 kB / 0.5182 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.4283, allocations: 3.984 kB / 0.5182 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.4283, allocations: 0 / 0.5182 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.4283, allocations: 2.484 kB / 0.5182 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.4284, allocations: 102 kB / 0.5183 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.4284, allocations: 4 kB / 0.5183 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.4284, allocations: 7.688 kB / 0.5183 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.4284, allocations: 3.188 kB / 0.5183 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.4284, allocations: 9.219 kB / 0.5184 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.4284, allocations: 3.938 kB / 0.5184 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4284, allocations: 0 / 0.5184 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.837e-05/0.4285, allocations: 205 kB / 0.5186 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.4285, allocations: 6.891 kB / 0.5186 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-06/0.4285, allocations: 0 / 0.5186 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.364e-05/0.4286, allocations: 0 / 0.5186 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.4286, allocations: 5.422 kB / 0.5186 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.4286, allocations: 10.78 kB / 0.5186 GB, free: 13.61 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.343e-05/0.4286, allocations: 128.4 kB / 0.5187 GB, free: 13.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.4286, allocations: 0 / 0.5187 GB, free: 13.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004854/0.4291, allocations: 152.2 kB / 0.5188 GB, free: 13.45 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.0005608/0.4296, allocations: 347.6 kB / 0.5192 GB, free: 13.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.97e-05/0.4297, allocations: 48.44 kB / 0.5192 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.4297, allocations: 0 / 0.5192 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.727e-05/0.4298, allocations: 26.42 kB / 0.5192 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.43, allocations: 15.78 kB / 0.5193 GB, free: 13.24 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000583/0.4306, allocations: 174 kB / 0.5194 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.876e-05/0.4306, allocations: 58.45 kB / 0.5195 GB, free: 13.04 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.827e-05/0.4306, allocations: 18.48 kB / 0.5195 GB, free: 13.03 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.807e-05/0.4307, allocations: 84.75 kB / 0.5196 GB, free: 12.97 MB / 410.7 MB Notification: Performance of SimCode: time 8.11e-07/0.4307, allocations: 0 / 0.5196 GB, free: 12.97 MB / 410.7 MB Notification: Performance of Templates: time 0.006548/0.4372, allocations: 4.476 MB / 0.524 GB, free: 12.44 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.7975057079456747]