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.0009883/0.0009883, allocations: 99.31 kB / 20.43 MB, free: 4.133 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.0009186/0.0009186, allocations: 165 kB / 23.8 MB, free: 0.7695 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.9639/0.9639, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1624/0.1624, allocations: 32.38 MB / 270.4 MB, free: 14.69 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 3.226e-06/3.226e-06, allocations: 0 / 347.7 MB, free: 9.402 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.06e-05/4.382e-05, allocations: 2.312 kB / 347.7 MB, free: 9.398 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004991/0.005035, allocations: 4.655 MB / 352.4 MB, free: 4.719 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003452/0.008487, allocations: 4.146 MB / 356.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.00861, allocations: 0 / 356.5 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.008985, allocations: 51.66 kB / 356.6 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.01078, allocations: 0.8158 MB / 357.4 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.01105, allocations: 139.8 kB / 357.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005193/0.01157, allocations: 397.9 kB / 357.9 MB, free: 15.16 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.898e-05/0.01162, allocations: 9.797 kB / 357.9 MB, free: 15.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.01185, allocations: 195.5 kB / 358.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.01207, allocations: 139.6 kB / 358.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.0121, allocations: 8 kB / 358.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006995/0.0128, allocations: 403.2 kB / 358.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.28e-05/0.01289, allocations: 51.75 kB / 358.7 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.376e-05/0.01299, allocations: 79.78 kB / 358.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000642/0.01363, allocations: 470.6 kB / 359.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.01363, allocations: 4 kB / 359.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01364, allocations: 0 / 359.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.01364, allocations: 0 / 359.2 MB, free: 13.82 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.0009133/0.01455, allocations: 0.6284 MB / 359.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.0146, allocations: 12.03 kB / 359.9 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.01477, allocations: 56.77 kB / 359.9 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.015, allocations: 172.2 kB / 360.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001426/0.01515, allocations: 222.7 kB / 360.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.01518, allocations: 24.38 kB / 360.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.01561, allocations: 442.3 kB / 360.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.01562, allocations: 192 / 360.8 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.01565, allocations: 15.94 kB / 360.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.01568, allocations: 4 kB / 360.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.0161, allocations: 0.5333 MB / 361.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.01723, allocations: 1.339 MB / 362.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.01754, allocations: 152.2 kB / 362.8 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/0.01762, allocations: 64.31 kB / 362.9 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009538/0.01858, allocations: 0.8126 MB / 363.7 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.01861, allocations: 37.39 kB / 363.7 MB, free: 9.035 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.01861, allocations: 4 kB / 363.7 MB, free: 9.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002384/0.01885, allocations: 113.5 kB / 363.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.01888, allocations: 51.41 kB / 363.9 MB, free: 8.852 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.01904, allocations: 294.4 kB / 364.2 MB, free: 8.547 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.01906, allocations: 29.7 kB / 364.2 MB, free: 8.512 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/0.01919, allocations: 270.2 kB / 364.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.01922, allocations: 47.62 kB / 364.5 MB, free: 8.195 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.94e-05/0.0193, allocations: 91.75 kB / 364.6 MB, free: 8.098 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.01946, allocations: 0.5 MB / 365.1 MB, free: 7.586 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/0.01951, allocations: 36.97 kB / 365.1 MB, free: 7.551 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.01977, allocations: 475.8 kB / 365.6 MB, free: 6.883 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.02016, allocations: 0.555 MB / 366.2 MB, free: 6.125 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.02016, allocations: 4 kB / 366.2 MB, free: 6.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003982/0.02056, allocations: 385.8 kB / 366.5 MB, free: 5.738 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.02058, allocations: 11.98 kB / 366.5 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.02059, allocations: 15.94 kB / 366.6 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.02062, allocations: 16.03 kB / 366.6 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.02076, allocations: 99.78 kB / 366.7 MB, free: 5.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.726e-05/0.02078, allocations: 19.92 kB / 366.7 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.02092, allocations: 51.62 kB / 366.7 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.02095, allocations: 31.94 kB / 366.8 MB, free: 5.496 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 0.0001215/0.02107, allocations: 196.3 kB / 367 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.0211, allocations: 23.86 kB / 367 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.02132, allocations: 146.3 kB / 367.1 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.02133, allocations: 0 / 367.1 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.02134, allocations: 8 kB / 367.1 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.02134, allocations: 0 / 367.1 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.02166, allocations: 412.2 kB / 367.5 MB, free: 4.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.02167, allocations: 8.094 kB / 367.6 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.024e-05/0.0217, allocations: 11.98 kB / 367.6 MB, free: 4.625 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.0217, allocations: 4 kB / 367.6 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.02171, allocations: 0 / 367.6 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.02171, allocations: 7.938 kB / 367.6 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.02172, allocations: 0 / 367.6 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.02187, allocations: 262.8 kB / 367.8 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.0219, allocations: 19.89 kB / 367.9 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.02193, allocations: 7.953 kB / 367.9 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.318e-05/0.022, allocations: 11.94 kB / 367.9 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.02202, allocations: 11.92 kB / 367.9 MB, free: 4.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.02203, allocations: 4 kB / 367.9 MB, free: 4.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.842e-05/0.02213, allocations: 197.1 kB / 368.1 MB, free: 4.078 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02213, allocations: 0 / 368.1 MB, free: 4.078 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003443/0.02247, allocations: 91.86 kB / 368.2 MB, free: 3.988 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.0002336/0.0227, allocations: 159 kB / 368.3 MB, free: 3.824 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002258/0.02293, allocations: 169.7 kB / 368.5 MB, free: 3.656 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.02293, allocations: 4 kB / 368.5 MB, free: 3.652 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.45e-05/0.02296, allocations: 33.42 kB / 368.5 MB, free: 3.617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.02324, allocations: 52.77 kB / 368.6 MB, free: 3.566 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.02433, allocations: 0.5329 MB / 369.1 MB, free: 2.988 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.721e-05/0.02439, allocations: 76.33 kB / 369.2 MB, free: 2.895 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.02453, allocations: 51.36 kB / 369.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.02457, allocations: 24.5 kB / 369.3 MB, free: 2.816 MB / 298.7 MB Notification: Performance of SimCode: time 1.021e-06/0.02457, allocations: 0 / 369.3 MB, free: 2.816 MB / 298.7 MB Notification: Performance of Templates: time 0.00577/0.03034, allocations: 3.479 MB / 372.7 MB, free: 15.39 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.258647772949189]