Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.001032/0.001032, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001253/0.001253, allocations: 167.6 kB / 25.61 MB, free: 8.902 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 0.9631/0.9631, allocations: 177.1 MB / 206 MB, free: 4.5 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.1478/0.1478, allocations: 32.81 MB / 295.4 MB, free: 15.39 MB / 282.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.346e-05, allocations: 10.08 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.003347/0.003361, allocations: 4.678 MB / 382 MB, free: 20.88 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.005676, allocations: 4.103 MB / 386.1 MB, free: 16.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.005738, allocations: 4 kB / 386.1 MB, free: 16.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.005921, allocations: 59.59 kB / 386.1 MB, free: 16.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009588/0.00688, allocations: 0.8078 MB / 386.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.007062, allocations: 143.8 kB / 387.1 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.007354, allocations: 393.9 kB / 387.5 MB, free: 15.36 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.065e-05/0.007384, allocations: 13.8 kB / 387.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.007515, allocations: 203.4 kB / 387.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.007636, allocations: 135.7 kB / 387.8 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.007653, allocations: 8 kB / 387.8 MB, free: 15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004514/0.008104, allocations: 403.2 kB / 388.2 MB, free: 14.61 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.008154, allocations: 47.75 kB / 388.3 MB, free: 14.56 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.502e-05/0.008209, allocations: 79.83 kB / 388.3 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003898/0.008599, allocations: 474.6 kB / 388.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.0086, allocations: 0 / 388.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.008601, allocations: 3.938 kB / 388.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.008605, allocations: 0 / 388.8 MB, free: 14.02 MB / 314.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.0005274/0.009132, allocations: 0.6284 MB / 389.4 MB, free: 13.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.135e-05/0.009154, allocations: 15.98 kB / 389.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.274e-05/0.009246, allocations: 52.73 kB / 389.5 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.009361, allocations: 176.2 kB / 389.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.404e-05/0.009425, allocations: 226.7 kB / 389.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.009444, allocations: 20.38 kB / 389.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.00964, allocations: 426.2 kB / 390.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.009647, allocations: 192 / 390.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.009663, allocations: 15.94 kB / 390.3 MB, free: 12.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.009677, allocations: 4 kB / 390.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.009925, allocations: 470.6 kB / 390.8 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.01047, allocations: 1.324 MB / 392.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.01062, allocations: 136.2 kB / 392.3 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.255e-05/0.01067, allocations: 56.31 kB / 392.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006533/0.01132, allocations: 0.8166 MB / 393.1 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.158e-05/0.01133, allocations: 33.39 kB / 393.2 MB, free: 9.352 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 8.22e-07/0.01133, allocations: 4 kB / 393.2 MB, free: 9.348 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001167/0.01145, allocations: 105.5 kB / 393.3 MB, free: 9.238 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.164e-05/0.01146, allocations: 59.34 kB / 393.3 MB, free: 9.168 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.861e-05/0.01154, allocations: 298.2 kB / 393.6 MB, free: 8.859 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/0.01155, allocations: 29.7 kB / 393.7 MB, free: 8.824 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.0116, allocations: 274.1 kB / 393.9 MB, free: 8.551 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.01161, allocations: 39.69 kB / 394 MB, free: 8.512 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.01166, allocations: 99.7 kB / 394.1 MB, free: 8.406 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.971e-05/0.0117, allocations: 0.5039 MB / 394.6 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.843e-05/0.01172, allocations: 28.97 kB / 394.6 MB, free: 7.863 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.01183, allocations: 471.8 kB / 395.1 MB, free: 7.203 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.01202, allocations: 0.5433 MB / 395.6 MB, free: 6.457 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01202, allocations: 0 / 395.6 MB, free: 6.457 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002464/0.01226, allocations: 365.8 kB / 396 MB, free: 6.094 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.01227, allocations: 13.81 kB / 396 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.01228, allocations: 20.11 kB / 396 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.01229, allocations: 12.05 kB / 396 MB, free: 6.051 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.0124, allocations: 99.83 kB / 396.1 MB, free: 5.953 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.01241, allocations: 19.92 kB / 396.1 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.01252, allocations: 51.62 kB / 396.2 MB, free: 5.883 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.01254, allocations: 24 kB / 396.2 MB, free: 5.859 MB / 314.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 5.066e-05/0.01259, allocations: 200.2 kB / 396.4 MB, free: 5.652 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.01262, allocations: 27.84 kB / 396.4 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.01274, allocations: 138.3 kB / 396.5 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.01274, allocations: 0 / 396.5 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01274, allocations: 0 / 396.5 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.01275, allocations: 0 / 396.5 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.01292, allocations: 384.8 kB / 396.9 MB, free: 5.055 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.01292, allocations: 8.031 kB / 396.9 MB, free: 5.047 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.467e-05/0.01295, allocations: 8 kB / 396.9 MB, free: 5.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01295, allocations: 4 kB / 396.9 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.01295, allocations: 0 / 396.9 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.01296, allocations: 12 kB / 397 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.01296, allocations: 3.938 kB / 397 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.196e-05/0.01305, allocations: 266.7 kB / 397.2 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.163e-05/0.01307, allocations: 15.91 kB / 397.2 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.01309, allocations: 7.891 kB / 397.2 MB, free: 4.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.01316, allocations: 7.984 kB / 397.3 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.01317, allocations: 19.92 kB / 397.3 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.01318, allocations: 4 kB / 397.3 MB, free: 4.672 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.228e-05/0.01322, allocations: 185.1 kB / 397.5 MB, free: 4.492 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01322, allocations: 0 / 397.5 MB, free: 4.492 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000283/0.0135, allocations: 91.94 kB / 397.5 MB, free: 4.402 MB / 314.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.0001333/0.01364, allocations: 151.1 kB / 397.7 MB, free: 4.242 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.01377, allocations: 175.3 kB / 397.9 MB, free: 4.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01377, allocations: 0 / 397.9 MB, free: 4.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.689e-05/0.01379, allocations: 27.61 kB / 397.9 MB, free: 4.039 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.01403, allocations: 64.92 kB / 398 MB, free: 3.977 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006437/0.01467, allocations: 0.5219 MB / 398.5 MB, free: 3.414 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.625e-05/0.0147, allocations: 72.33 kB / 398.5 MB, free: 3.324 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.889e-05/0.0148, allocations: 54.92 kB / 398.6 MB, free: 3.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.528e-05/0.01488, allocations: 126.2 kB / 398.7 MB, free: 3.145 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01488, allocations: 0 / 398.7 MB, free: 3.145 MB / 314.7 MB Notification: Performance of Templates: time 0.004118/0.019, allocations: 3.474 MB / 402.2 MB, free: 15.73 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.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.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1561628598719835]