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.001134/0.001134, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001607/0.00274, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0009889/0.0009889, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00134/0.002329, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9089/0.9089, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.166/1.075, allocations: 49.5 MB / 220.5 MB, free: 5.266 MB / 218.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.1699/0.1699, allocations: 32.34 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01893/0.1888, allocations: 12.3 MB / 265.9 MB, free: 7.832 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 1.223e-06/1.223e-06, allocations: 0 / 267.2 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.336e-05, allocations: 6.25 kB / 267.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006187/0.006211, allocations: 4.693 MB / 271.9 MB, free: 1.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004683/0.01089, allocations: 4.173 MB / 276.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.01103, allocations: 0 / 276.1 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.01128, allocations: 55.62 kB / 276.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.01348, allocations: 0.7922 MB / 277 MB, free: 12.73 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.01384, allocations: 143.7 kB / 277.1 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005891/0.01442, allocations: 405.8 kB / 277.5 MB, free: 12.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.361e-05/0.01448, allocations: 6.469 kB / 277.5 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000311/0.01479, allocations: 207.5 kB / 277.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.01505, allocations: 135.7 kB / 277.8 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.01509, allocations: 8 kB / 277.9 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.01629, allocations: 419.2 kB / 278.3 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.284e-05/0.01639, allocations: 27.92 kB / 278.3 MB, free: 11.4 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.0165, allocations: 67.88 kB / 278.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009329/0.01743, allocations: 426.8 kB / 278.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.58e-05/0.01745, allocations: 0 / 278.8 MB, free: 10.92 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.01746, allocations: 3.938 kB / 278.8 MB, free: 10.91 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.01748, allocations: 0 / 278.8 MB, free: 10.91 MB / 282.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.001186/0.01867, allocations: 0.6567 MB / 279.4 MB, free: 10.21 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.0187, allocations: 12.03 kB / 279.4 MB, free: 10.2 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.01888, allocations: 48.84 kB / 279.5 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.01911, allocations: 157.5 kB / 279.6 MB, free: 9.977 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.01926, allocations: 230.7 kB / 279.9 MB, free: 9.703 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.808e-05/0.0193, allocations: 24.31 kB / 279.9 MB, free: 9.68 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004081/0.01971, allocations: 405.3 kB / 280.3 MB, free: 9.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.01972, allocations: 4.125 kB / 280.3 MB, free: 9.207 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.01975, allocations: 15.94 kB / 280.3 MB, free: 9.191 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.505e-05/0.01977, allocations: 4 kB / 280.3 MB, free: 9.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.02027, allocations: 449.5 kB / 280.8 MB, free: 8.746 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.02135, allocations: 0.9346 MB / 281.7 MB, free: 7.766 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.02161, allocations: 155.3 kB / 281.8 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.138e-05/0.0217, allocations: 53.48 kB / 281.9 MB, free: 7.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/0.02291, allocations: 0.7602 MB / 282.6 MB, free: 6.777 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.02294, allocations: 38.56 kB / 282.7 MB, free: 6.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.02295, allocations: 0 / 282.7 MB, free: 6.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002031/0.02315, allocations: 125.5 kB / 282.8 MB, free: 6.602 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.02318, allocations: 51.41 kB / 282.9 MB, free: 6.539 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.02335, allocations: 235.1 kB / 283.1 MB, free: 6.297 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.02337, allocations: 29.7 kB / 283.1 MB, free: 6.262 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.02348, allocations: 219.4 kB / 283.3 MB, free: 6.043 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.02351, allocations: 47.67 kB / 283.4 MB, free: 5.996 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.612e-05/0.0236, allocations: 86.06 kB / 283.5 MB, free: 5.906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.0237, allocations: 334.7 kB / 283.8 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.02375, allocations: 39.75 kB / 283.8 MB, free: 5.531 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.02395, allocations: 332.1 kB / 284.2 MB, free: 5.062 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.02431, allocations: 430.1 kB / 284.6 MB, free: 4.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.495e-06/0.02432, allocations: 4 kB / 284.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003888/0.02471, allocations: 312.6 kB / 284.9 MB, free: 4.176 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.02474, allocations: 12 kB / 284.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.02475, allocations: 12.16 kB / 284.9 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.02477, allocations: 19.94 kB / 284.9 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002453/0.02501, allocations: 111.8 kB / 285 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.769e-05/0.02503, allocations: 19.94 kB / 285.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.02526, allocations: 63.61 kB / 285.1 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.02529, allocations: 23.98 kB / 285.1 MB, free: 3.918 MB / 282.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.0001011/0.02539, allocations: 152.3 kB / 285.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.957e-05/0.02543, allocations: 19.98 kB / 285.3 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.02565, allocations: 139.7 kB / 285.4 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.02566, allocations: 0 / 285.4 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.02566, allocations: 0 / 285.4 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.02567, allocations: 0 / 285.4 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.02599, allocations: 329 kB / 285.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.026, allocations: 0 / 285.8 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.749e-05/0.02605, allocations: 12 kB / 285.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.02608, allocations: 27.81 kB / 285.8 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.02609, allocations: 0 / 285.8 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.0261, allocations: 8 kB / 285.8 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.0261, allocations: 0 / 285.8 MB, free: 3.188 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.0261, allocations: 3.938 kB / 285.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/0.02625, allocations: 224.8 kB / 286 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.02628, allocations: 8 kB / 286 MB, free: 2.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.02639, allocations: 8.062 kB / 286.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.02641, allocations: 7.922 kB / 286.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.02642, allocations: 7.938 kB / 286.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.06e-05/0.02649, allocations: 74.77 kB / 286.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02649, allocations: 0 / 286.1 MB, free: 2.832 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004819/0.02697, allocations: 95.83 kB / 286.2 MB, free: 2.738 MB / 282.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.0002778/0.02725, allocations: 144.2 kB / 286.4 MB, free: 2.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.02747, allocations: 160.5 kB / 286.5 MB, free: 2.434 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.609e-05/0.02749, allocations: 4.5 kB / 286.5 MB, free: 2.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.02751, allocations: 28.8 kB / 286.6 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.02787, allocations: 85.16 kB / 286.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/0.03197, allocations: 0.541 MB / 287.2 MB, free: 1.734 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.03202, allocations: 72.33 kB / 287.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000149/0.03217, allocations: 54.92 kB / 287.3 MB, free: 1.594 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.03228, allocations: 95.34 kB / 287.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of SimCode: time 1.443e-06/0.03228, allocations: 0 / 287.4 MB, free: 1.5 MB / 282.7 MB Notification: Performance of Templates: time 0.005094/0.03737, allocations: 3.498 MB / 290.9 MB, free: 14 MB / 298.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 -ignoreHideResult -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] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.074145874939859]