Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001159/0.001159, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.004261/0.004261, allocations: 167.8 kB / 24.91 MB, free: 8.77 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.9454/0.9454, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.256/0.256, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.ConstantPropertyLiquidWater,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.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.066e-06/3.066e-06, allocations: 3.984 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.872e-05, allocations: 4.094 kB / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.01159/0.01161, allocations: 5.118 MB / 330.4 MB, free: 2.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007244/0.01885, allocations: 4.706 MB / 335.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.593e-05/0.01895, allocations: 8 kB / 335.1 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.01921, allocations: 59.55 kB / 335.2 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.0238, allocations: 0.7299 MB / 335.9 MB, free: 12.99 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003117/0.02411, allocations: 159.7 kB / 336.1 MB, free: 12.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004788/0.02459, allocations: 398.5 kB / 336.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.299e-05/0.02463, allocations: 14.95 kB / 336.5 MB, free: 12.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.02488, allocations: 203.4 kB / 336.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.02503, allocations: 115.6 kB / 336.8 MB, free: 12.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.02506, allocations: 12 kB / 336.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/0.02862, allocations: 331.3 kB / 337.1 MB, free: 11.79 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.354e-05/0.02869, allocations: 47.77 kB / 337.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 8.935e-05/0.02878, allocations: 79.81 kB / 337.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005697/0.02935, allocations: 430.6 kB / 337.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.02935, allocations: 0 / 337.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.02935, allocations: 0 / 337.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.02936, allocations: 4 kB / 337.7 MB, free: 11.23 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.0007277/0.03008, allocations: 0.4927 MB / 338.1 MB, free: 10.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.03012, allocations: 12.03 kB / 338.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.03025, allocations: 52.73 kB / 338.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/0.03045, allocations: 157.5 kB / 338.4 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.03057, allocations: 234.6 kB / 338.6 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.0306, allocations: 28.31 kB / 338.6 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003277/0.03093, allocations: 427 kB / 339 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.03094, allocations: 4.125 kB / 339 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.48e-05/0.03096, allocations: 15.94 kB / 339.1 MB, free: 9.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.03098, allocations: 12 kB / 339.1 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003432/0.03442, allocations: 439.5 kB / 339.5 MB, free: 9.219 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008205/0.03524, allocations: 0.9343 MB / 340.4 MB, free: 8.242 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.03544, allocations: 157.1 kB / 340.6 MB, free: 8.082 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.0355, allocations: 48.83 kB / 340.6 MB, free: 8.031 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009163/0.03642, allocations: 0.6771 MB / 341.3 MB, free: 7.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.03645, allocations: 38.56 kB / 341.3 MB, free: 7.293 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.03645, allocations: 0 / 341.3 MB, free: 7.293 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003067/0.03676, allocations: 173.5 kB / 341.5 MB, free: 7.117 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.03678, allocations: 55.34 kB / 341.6 MB, free: 7.051 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.03692, allocations: 229.8 kB / 341.8 MB, free: 6.812 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.03694, allocations: 29.7 kB / 341.8 MB, free: 6.777 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.272e-05/0.03703, allocations: 215.5 kB / 342 MB, free: 6.562 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.03706, allocations: 51.56 kB / 342.1 MB, free: 6.512 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.03714, allocations: 82.06 kB / 342.2 MB, free: 6.426 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.001029/0.03817, allocations: 338.8 kB / 342.5 MB, free: 6.086 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.134e-05/0.0382, allocations: 31.81 kB / 342.5 MB, free: 6.055 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.03837, allocations: 288.1 kB / 342.8 MB, free: 5.645 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.03867, allocations: 388.1 kB / 343.2 MB, free: 5.137 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.03868, allocations: 4 kB / 343.2 MB, free: 5.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003265/0.039, allocations: 288 kB / 343.5 MB, free: 4.844 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.03902, allocations: 11.98 kB / 343.5 MB, free: 4.832 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.03903, allocations: 12 kB / 343.5 MB, free: 4.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.03905, allocations: 12.75 kB / 343.5 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.0393, allocations: 103.8 kB / 343.6 MB, free: 4.707 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.555e-05/0.03932, allocations: 24.05 kB / 343.6 MB, free: 4.684 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.03951, allocations: 55.62 kB / 343.7 MB, free: 4.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.55e-05/0.03953, allocations: 24 kB / 343.7 MB, free: 4.605 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (50): * Single equations (assignments): 49 * 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 9.525e-05/0.03963, allocations: 140.4 kB / 343.8 MB, free: 4.457 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.03967, allocations: 27.91 kB / 343.9 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.03982, allocations: 124.2 kB / 344 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.03983, allocations: 3.984 kB / 344 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.03983, allocations: 0 / 344 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-06/0.03983, allocations: 0 / 344 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001338/0.03996, allocations: 121.7 kB / 344.1 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.03997, allocations: 3.938 kB / 344.1 MB, free: 4.164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.577e-05/0.04003, allocations: 31.92 kB / 344.2 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.04003, allocations: 4 kB / 344.2 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.04004, allocations: 4 kB / 344.2 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.04004, allocations: 0 / 344.2 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.04004, allocations: 3.984 kB / 344.2 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.04015, allocations: 222.2 kB / 344.4 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.04019, allocations: 27.88 kB / 344.4 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.0402, allocations: 0 / 344.4 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.04029, allocations: 8 kB / 344.4 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.543e-05/0.0403, allocations: 15.91 kB / 344.4 MB, free: 3.836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.04031, allocations: 4 kB / 344.4 MB, free: 3.832 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.14e-05/0.04035, allocations: 70.78 kB / 344.5 MB, free: 3.762 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04035, allocations: 0 / 344.5 MB, free: 3.762 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002642/0.04061, allocations: 107.8 kB / 344.6 MB, free: 3.656 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 12 * 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.0001778/0.04079, allocations: 140.2 kB / 344.7 MB, free: 3.512 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001557/0.04095, allocations: 151.8 kB / 344.9 MB, free: 3.363 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.04096, allocations: 4.5 kB / 344.9 MB, free: 3.359 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.5e-05/0.04098, allocations: 32.78 kB / 344.9 MB, free: 3.324 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.04122, allocations: 60.61 kB / 345 MB, free: 3.266 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007303/0.04195, allocations: 495.8 kB / 345.5 MB, free: 2.754 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.146e-05/0.04199, allocations: 76.33 kB / 345.6 MB, free: 2.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.04212, allocations: 59.72 kB / 345.6 MB, free: 2.605 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.04226, allocations: 121.3 kB / 345.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of SimCode: time 6.51e-07/0.04226, allocations: 4 kB / 345.7 MB, free: 2.48 MB / 314.7 MB Notification: Performance of Templates: time 0.005079/0.04734, allocations: 3.799 MB / 349.5 MB, free: 14.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.310902904253453]