Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001076/0.001076, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.001061/0.001061, allocations: 165.2 kB / 24.84 MB, free: 9.297 MB / 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.9826/0.9826, allocations: 158.6 MB / 186.7 MB, free: 2.777 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.1489/0.1489, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.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_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.635e-06/2.635e-06, allocations: 0 / 348.9 MB, free: 9.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.896e-05/4.16e-05, allocations: 5.406 kB / 348.9 MB, free: 9.137 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005194/0.005235, allocations: 4.626 MB / 353.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003709/0.008944, allocations: 4.115 MB / 357.7 MB, free: 364 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.009089, allocations: 4 kB / 357.7 MB, free: 360 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.009388, allocations: 51.62 kB / 357.7 MB, free: 308 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001869/0.01126, allocations: 0.8156 MB / 358.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002744/0.01153, allocations: 139.8 kB / 358.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000521/0.01205, allocations: 393.9 kB / 359.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.012e-05/0.0121, allocations: 13.8 kB / 359.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002271/0.01233, allocations: 195.4 kB / 359.3 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.01254, allocations: 135.7 kB / 359.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.01256, allocations: 8 kB / 359.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008171/0.01338, allocations: 407.2 kB / 359.8 MB, free: 14.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.023e-05/0.01346, allocations: 51.81 kB / 359.9 MB, free: 14.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.618e-05/0.01354, allocations: 79.78 kB / 360 MB, free: 14.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006546/0.01419, allocations: 462.6 kB / 360.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.0142, allocations: 0 / 360.4 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.0142, allocations: 7.984 kB / 360.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.0142, allocations: 0 / 360.4 MB, free: 13.62 MB / 298.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.0008659/0.01507, allocations: 0.6322 MB / 361 MB, free: 12.96 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.0151, allocations: 8.031 kB / 361.1 MB, free: 12.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.01527, allocations: 48.78 kB / 361.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.01559, allocations: 176.2 kB / 361.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.01575, allocations: 230.7 kB / 361.5 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.01579, allocations: 24.38 kB / 361.5 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/0.01622, allocations: 418.2 kB / 361.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.01623, allocations: 192 / 361.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.966e-05/0.01626, allocations: 19.94 kB / 361.9 MB, free: 11.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/0.01629, allocations: 11.92 kB / 362 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005015/0.01679, allocations: 466.6 kB / 362.4 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001059/0.01785, allocations: 1.32 MB / 363.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.01812, allocations: 124.3 kB / 363.9 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.784e-05/0.01819, allocations: 68.25 kB / 363.9 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009495/0.01914, allocations: 0.8089 MB / 364.7 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.01916, allocations: 49.33 kB / 364.8 MB, free: 8.957 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.202e-06/0.01916, allocations: 0 / 364.8 MB, free: 8.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001784/0.01934, allocations: 101.5 kB / 364.9 MB, free: 8.852 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.01937, allocations: 55.41 kB / 364.9 MB, free: 8.785 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.01952, allocations: 302.2 kB / 365.2 MB, free: 8.473 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.01953, allocations: 25.7 kB / 365.3 MB, free: 8.441 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.01965, allocations: 270.2 kB / 365.5 MB, free: 8.172 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.01968, allocations: 51.61 kB / 365.6 MB, free: 8.121 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.171e-05/0.01975, allocations: 91.72 kB / 365.7 MB, free: 8.023 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.01988, allocations: 0.5078 MB / 366.2 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.589e-05/0.01992, allocations: 32.97 kB / 366.2 MB, free: 7.473 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.02017, allocations: 475.8 kB / 366.7 MB, free: 6.809 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.02051, allocations: 0.5394 MB / 367.2 MB, free: 6.066 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.02051, allocations: 4 kB / 367.2 MB, free: 6.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003381/0.02085, allocations: 361.8 kB / 367.6 MB, free: 5.703 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.02087, allocations: 12 kB / 367.6 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.02088, allocations: 8.047 kB / 367.6 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.02089, allocations: 19.98 kB / 367.6 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.02102, allocations: 99.77 kB / 367.7 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.02104, allocations: 23.92 kB / 367.7 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.02116, allocations: 55.62 kB / 367.8 MB, free: 5.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.02118, allocations: 24 kB / 367.8 MB, free: 5.465 MB / 298.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 8.652e-05/0.02127, allocations: 192.3 kB / 368 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.0213, allocations: 27.95 kB / 368 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.02148, allocations: 138.2 kB / 368.1 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.02149, allocations: 4 kB / 368.1 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.02149, allocations: 0 / 368.1 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.02149, allocations: 4 kB / 368.2 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.0218, allocations: 380.8 kB / 368.5 MB, free: 4.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.0218, allocations: 3.984 kB / 368.5 MB, free: 4.656 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.917e-05/0.02183, allocations: 12 kB / 368.5 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.02184, allocations: 4 kB / 368.5 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.02184, allocations: 0 / 368.5 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.217e-06/0.02184, allocations: 0 / 368.5 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.02185, allocations: 4 kB / 368.5 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.022, allocations: 266.7 kB / 368.8 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.997e-05/0.02203, allocations: 20 kB / 368.8 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.02205, allocations: 3.953 kB / 368.8 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.234e-05/0.02213, allocations: 16.05 kB / 368.8 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.02215, allocations: 15.86 kB / 368.9 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.02216, allocations: 7.938 kB / 368.9 MB, free: 4.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.578e-05/0.02224, allocations: 185.1 kB / 369.1 MB, free: 4.102 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02224, allocations: 0 / 369.1 MB, free: 4.102 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003541/0.0226, allocations: 95.88 kB / 369.1 MB, free: 4.008 MB / 298.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.0001996/0.0228, allocations: 151.1 kB / 369.3 MB, free: 3.852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001824/0.02298, allocations: 175.4 kB / 369.5 MB, free: 3.68 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02298, allocations: 0 / 369.5 MB, free: 3.68 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.229e-05/0.02301, allocations: 27.86 kB / 369.5 MB, free: 3.648 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.02327, allocations: 60.56 kB / 369.6 MB, free: 3.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009152/0.02418, allocations: 0.5327 MB / 370.1 MB, free: 3.012 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.605e-05/0.02423, allocations: 72.33 kB / 370.2 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000124/0.02435, allocations: 51.28 kB / 370.2 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.02448, allocations: 126.2 kB / 370.3 MB, free: 2.746 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.02448, allocations: 0 / 370.3 MB, free: 2.746 MB / 298.7 MB Notification: Performance of Templates: time 0.005747/0.03022, allocations: 3.452 MB / 373.8 MB, free: 15.34 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.235154360998422]