Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.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.0009432/0.0009432, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009777/0.0009777, allocations: 166.7 kB / 24.99 MB, free: 8.793 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.598 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.275/0.275, allocations: 32.8 MB / 294.6 MB, free: 1.195 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.TestAllProperties.LinearWater_pT_Ambient,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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") translateModel(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 376 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.901e-05, allocations: 5.406 kB / 376 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient): time 0.02448/0.02451, allocations: 26.65 MB / 402.7 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.02723, allocations: 3.06 MB / 405.7 MB, free: 7.129 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.0274, allocations: 4 kB / 405.8 MB, free: 7.125 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003767/0.02778, allocations: 59.53 kB / 405.8 MB, free: 7.066 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.02948, allocations: 0.7571 MB / 406.6 MB, free: 6.305 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.02976, allocations: 131.8 kB / 406.7 MB, free: 6.176 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005188/0.03028, allocations: 389.8 kB / 407.1 MB, free: 5.793 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.03033, allocations: 5.812 kB / 407.1 MB, free: 5.789 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0284/0.05872, allocations: 15.48 MB / 422.6 MB, free: 6.18 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.05914, allocations: 131.7 kB / 422.7 MB, free: 6.051 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.28e-05/0.05918, allocations: 12 kB / 422.7 MB, free: 6.039 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006712/0.06589, allocations: 3.386 MB / 426.1 MB, free: 2.621 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.453e-05/0.06599, allocations: 43.81 kB / 426.1 MB, free: 2.578 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.06612, allocations: 87.77 kB / 426.2 MB, free: 2.492 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.06712, allocations: 462.6 kB / 426.7 MB, free: 2.039 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.06713, allocations: 0 / 426.7 MB, free: 2.039 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.06713, allocations: 0 / 426.7 MB, free: 2.039 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.06713, allocations: 0 / 426.7 MB, free: 2.039 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001064/0.0682, allocations: 0.6319 MB / 427.3 MB, free: 1.371 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.06824, allocations: 8.031 kB / 427.3 MB, free: 1.363 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.06846, allocations: 60.66 kB / 427.4 MB, free: 1.305 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.06873, allocations: 168.4 kB / 427.5 MB, free: 1.113 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.06887, allocations: 230.7 kB / 427.8 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.06891, allocations: 24.38 kB / 427.8 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.06935, allocations: 438.3 kB / 428.2 MB, free: 320 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.06936, allocations: 3.938 kB / 428.2 MB, free: 316 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.06939, allocations: 15.94 kB / 428.2 MB, free: 300 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.113e-05/0.06942, allocations: 12 kB / 428.2 MB, free: 288 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005406/0.06996, allocations: 0.5255 MB / 428.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.07113, allocations: 1.335 MB / 430.1 MB, free: 14.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.07143, allocations: 144.2 kB / 430.2 MB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.07154, allocations: 72.3 kB / 430.3 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001182/0.07272, allocations: 0.8244 MB / 431.1 MB, free: 13.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.012e-05/0.07275, allocations: 37.39 kB / 431.2 MB, free: 13.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.864e-06/0.07275, allocations: 0 / 431.2 MB, free: 13.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002678/0.07302, allocations: 109.5 kB / 431.3 MB, free: 13.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.07306, allocations: 55.34 kB / 431.3 MB, free: 13.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002041/0.07326, allocations: 297.2 kB / 431.6 MB, free: 12.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.07328, allocations: 33.64 kB / 431.7 MB, free: 12.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.07341, allocations: 266.2 kB / 431.9 MB, free: 12.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.07346, allocations: 47.67 kB / 432 MB, free: 12.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.251e-05/0.07355, allocations: 91.75 kB / 432.1 MB, free: 12.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.07369, allocations: 0.5 MB / 432.6 MB, free: 11.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.07375, allocations: 40.97 kB / 432.6 MB, free: 11.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.07402, allocations: 471.9 kB / 433.1 MB, free: 11.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.07446, allocations: 0.5589 MB / 433.6 MB, free: 10.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.07447, allocations: 0 / 433.6 MB, free: 10.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005032/0.07497, allocations: 389.6 kB / 434 MB, free: 9.934 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.07499, allocations: 12.25 kB / 434 MB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.07501, allocations: 12 kB / 434 MB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.07503, allocations: 12 kB / 434 MB, free: 9.898 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.07523, allocations: 103.8 kB / 434.1 MB, free: 9.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.831e-05/0.07524, allocations: 19.92 kB / 434.2 MB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.07546, allocations: 59.5 kB / 434.2 MB, free: 9.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.07548, allocations: 28 kB / 434.2 MB, free: 9.691 MB / 410.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 (51): * Single equations (assignments): 50 * 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 0.0001141/0.0756, allocations: 192.4 kB / 434.4 MB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.07564, allocations: 27.86 kB / 434.5 MB, free: 9.465 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002372/0.07588, allocations: 142.6 kB / 434.6 MB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.07589, allocations: 0 / 434.6 MB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.0759, allocations: 0 / 434.6 MB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.0759, allocations: 4 kB / 434.6 MB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003573/0.07626, allocations: 416.2 kB / 435 MB, free: 8.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.07626, allocations: 4 kB / 435 MB, free: 8.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.0763, allocations: 11.98 kB / 435 MB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.0763, allocations: 4 kB / 435 MB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.07632, allocations: 0 / 435 MB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.07632, allocations: 7.938 kB / 435 MB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.07632, allocations: 3.938 kB / 435 MB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.0765, allocations: 258.8 kB / 435.3 MB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.835e-05/0.07653, allocations: 23.83 kB / 435.3 MB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.07656, allocations: 4 kB / 435.3 MB, free: 8.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.07667, allocations: 16.03 kB / 435.3 MB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.07669, allocations: 7.922 kB / 435.3 MB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-06/0.0767, allocations: 4 kB / 435.3 MB, free: 8.469 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001165/0.07682, allocations: 197.1 kB / 435.5 MB, free: 8.273 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07682, allocations: 0 / 435.5 MB, free: 8.273 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004888/0.07731, allocations: 95.81 kB / 435.6 MB, free: 8.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 8 * 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.0002768/0.07759, allocations: 163 kB / 435.8 MB, free: 8.012 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002644/0.07785, allocations: 175.1 kB / 436 MB, free: 7.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.07785, allocations: 0 / 436 MB, free: 7.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.327e-05/0.07789, allocations: 35.59 kB / 436 MB, free: 7.801 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.07826, allocations: 51.78 kB / 436 MB, free: 7.754 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.07947, allocations: 0.5235 MB / 436.6 MB, free: 7.188 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.217e-05/0.07954, allocations: 76.33 kB / 436.6 MB, free: 7.094 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001544/0.07969, allocations: 54.91 kB / 436.7 MB, free: 7.043 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.274e-05/0.07973, allocations: 20.5 kB / 436.7 MB, free: 7.023 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.07973, allocations: 4 kB / 436.7 MB, free: 7.02 MB / 410.7 MB Notification: Performance of Templates: time 0.006058/0.08579, allocations: 3.108 MB / 439.8 MB, free: 3.957 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearWater_pT_Ambient/LinearWater_pT_Ambient.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5015012100338936]