Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.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.0009931/0.0009931, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.00113/0.00113, allocations: 169 kB / 24.25 MB, free: 308 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9273/0.9273, allocations: 158.6 MB / 186 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1385/0.1385, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 3.938 kB / 347.7 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.438e-05/3.636e-05, allocations: 2.312 kB / 347.7 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3619/0.3619, allocations: 146.1 MB / 493.9 MB, free: 8.988 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01527/0.3772, allocations: 13.35 MB / 0.4953 GB, free: 2.312 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002063/0.3774, allocations: 0 / 0.4953 GB, free: 2.312 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004162/0.3778, allocations: 77.41 kB / 0.4954 GB, free: 2.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007348/0.3851, allocations: 3.554 MB / 0.4989 GB, free: 15.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.3854, allocations: 161.9 kB / 0.499 GB, free: 15.61 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006988/0.3861, allocations: 0.5463 MB / 0.4995 GB, free: 15.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.319e-05/0.3862, allocations: 16.59 kB / 0.4996 GB, free: 15.29 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003907/0.3866, allocations: 297.4 kB / 0.4998 GB, free: 15.13 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006223/0.3872, allocations: 355.8 kB / 0.5002 GB, free: 14.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.586e-05/0.3873, allocations: 14.41 kB / 0.5002 GB, free: 14.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006999/0.3943, allocations: 4.357 MB / 0.5045 GB, free: 11.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.3945, allocations: 111.6 kB / 0.5046 GB, free: 11.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002963/0.3948, allocations: 123.7 kB / 0.5047 GB, free: 11.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008456/0.4032, allocations: 2.828 MB / 0.5074 GB, free: 8.336 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4032, allocations: 4 kB / 0.5074 GB, free: 8.332 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4032, allocations: 0 / 0.5074 GB, free: 8.332 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.677e-06/0.4032, allocations: 0 / 0.5074 GB, free: 8.332 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002765/0.406, allocations: 1.179 MB / 0.5086 GB, free: 7.113 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.4061, allocations: 12.03 kB / 0.5086 GB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002631/0.4063, allocations: 64.88 kB / 0.5087 GB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.4067, allocations: 199.6 kB / 0.5089 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/0.4068, allocations: 230.3 kB / 0.5091 GB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.4069, allocations: 31.98 kB / 0.5091 GB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/0.4075, allocations: 0.6084 MB / 0.5097 GB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.4076, allocations: 3.938 kB / 0.5097 GB, free: 5.805 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.4076, allocations: 16 kB / 0.5097 GB, free: 5.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.537e-05/0.4077, allocations: 28.64 kB / 0.5098 GB, free: 5.762 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007297/0.4084, allocations: 0.6942 MB / 0.5104 GB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.4103, allocations: 1.918 MB / 0.5123 GB, free: 3.074 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005846/0.4109, allocations: 248.2 kB / 0.5125 GB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.411, allocations: 89.02 kB / 0.5126 GB, free: 2.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001748/0.4128, allocations: 1.264 MB / 0.5139 GB, free: 1.445 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.27e-05/0.4128, allocations: 41.39 kB / 0.5139 GB, free: 1.395 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.437e-06/0.4128, allocations: 0 / 0.5139 GB, free: 1.395 MB / 378.7 MB Notification: Performance of matching and sorting (n=44): time 0.001457/0.4143, allocations: 0.6822 MB / 0.5146 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.4143, allocations: 59.41 kB / 0.5146 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.4145, allocations: 277.5 kB / 0.5149 GB, free: 340 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.4145, allocations: 37.69 kB / 0.5149 GB, free: 296 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.4147, allocations: 251 kB / 0.5152 GB, free: 40 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.4148, allocations: 158.8 kB / 0.5153 GB, free: 15.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/0.4149, allocations: 147.9 kB / 0.5155 GB, free: 15.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.4151, allocations: 0.5079 MB / 0.5159 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.4152, allocations: 80.56 kB / 0.516 GB, free: 15.13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.4155, allocations: 0.517 MB / 0.5165 GB, free: 14.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006135/0.4161, allocations: 0.6681 MB / 0.5172 GB, free: 13.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.4161, allocations: 4 kB / 0.5172 GB, free: 13.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007217/0.4169, allocations: 0.5289 MB / 0.5177 GB, free: 13 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.4169, allocations: 15.92 kB / 0.5177 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.4169, allocations: 12.09 kB / 0.5177 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/0.4169, allocations: 20 kB / 0.5177 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004576/0.4174, allocations: 195.7 kB / 0.5179 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007177/0.4181, allocations: 1.81 MB / 0.5197 GB, free: 10.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.4183, allocations: 20 kB / 0.5197 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.786e-05/0.4184, allocations: 75.95 kB / 0.5198 GB, free: 10.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002152/0.4187, allocations: 200.3 kB / 0.52 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.346e-05/0.4188, allocations: 51.92 kB / 0.52 GB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008486/0.4196, allocations: 0.6541 MB / 0.5207 GB, free: 9.852 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.4196, allocations: 4 kB / 0.5207 GB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.4196, allocations: 4 kB / 0.5207 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.4196, allocations: 0 / 0.5207 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006613/0.4203, allocations: 0.6079 MB / 0.5213 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.4203, allocations: 0 / 0.5213 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.4206, allocations: 99.88 kB / 0.5214 GB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.4206, allocations: 0 / 0.5214 GB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.4206, allocations: 11.98 kB / 0.5214 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005598/0.4212, allocations: 1.79 MB / 0.5231 GB, free: 7.234 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4212, allocations: 4 kB / 0.5231 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.4216, allocations: 383.9 kB / 0.5235 GB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.782e-05/0.4216, allocations: 39.83 kB / 0.5235 GB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.4217, allocations: 15.92 kB / 0.5236 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.4218, allocations: 8 kB / 0.5236 GB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.13e-05/0.4218, allocations: 28.23 kB / 0.5236 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.4219, allocations: 27.98 kB / 0.5236 GB, free: 6.715 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.422, allocations: 201.1 kB / 0.5238 GB, free: 6.516 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.422, allocations: 0 / 0.5238 GB, free: 6.516 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001472/0.4235, allocations: 0.5685 MB / 0.5244 GB, free: 5.945 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001832/0.4253, allocations: 0.9512 MB / 0.5253 GB, free: 5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007606/0.4261, allocations: 336.2 kB / 0.5256 GB, free: 4.672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.4261, allocations: 4.062 kB / 0.5256 GB, free: 4.668 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.4263, allocations: 159.2 kB / 0.5258 GB, free: 4.508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000549/0.4269, allocations: 146.4 kB / 0.5259 GB, free: 4.367 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.4381, allocations: 8.554 MB / 0.5343 GB, free: 11.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.856e-05/0.4382, allocations: 98.67 kB / 0.5344 GB, free: 11.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006861/0.4389, allocations: 182.9 kB / 0.5345 GB, free: 11.47 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002203/0.4391, allocations: 76.45 kB / 0.5346 GB, free: 11.39 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/0.4391, allocations: 0 / 0.5346 GB, free: 11.39 MB / 410.7 MB Notification: Performance of Templates: time 0.02467/0.4638, allocations: 17.32 MB / 0.5515 GB, free: 10.15 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.239813035121188]