Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002346/0.002346, allocations: 87.67 kB / 20.21 MB, free: 4.211 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.002052/0.002052, allocations: 169.2 kB / 23.53 MB, free: 0.8945 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 1.317/1.317, allocations: 158.6 MB / 185.3 MB, free: 2.902 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.2044/0.2044, allocations: 32.37 MB / 270 MB, free: 14.77 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.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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 347 MB, free: 9.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.711e-05, allocations: 2.312 kB / 347 MB, free: 9.758 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.004637/0.004664, allocations: 5.026 MB / 352 MB, free: 4.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003526/0.00819, allocations: 4.671 MB / 356.7 MB, free: 12 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.008299, allocations: 3.938 kB / 356.7 MB, free: 8 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003581/0.008657, allocations: 51.56 kB / 356.7 MB, free: 15.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.01053, allocations: 0.687 MB / 357.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.01092, allocations: 163.7 kB / 357.6 MB, free: 15.11 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006321/0.01155, allocations: 377.9 kB / 357.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.0116, allocations: 9.812 kB / 358 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/0.01195, allocations: 203.4 kB / 358.2 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.01218, allocations: 115.7 kB / 358.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.01222, allocations: 8 kB / 358.3 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.01324, allocations: 303.4 kB / 358.6 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.01334, allocations: 63.67 kB / 358.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.01348, allocations: 75.84 kB / 358.7 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008361/0.01432, allocations: 438.7 kB / 359.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.01432, allocations: 0 / 359.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01432, allocations: 0 / 359.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.01433, allocations: 0 / 359.1 MB, free: 13.54 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.001142/0.01547, allocations: 0.6164 MB / 359.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.01551, allocations: 8.031 kB / 359.8 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002193/0.01573, allocations: 52.73 kB / 359.8 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.01604, allocations: 184.3 kB / 360 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002162/0.01625, allocations: 226.7 kB / 360.2 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.509e-05/0.01631, allocations: 28.36 kB / 360.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/0.01697, allocations: 467.3 kB / 360.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.01699, allocations: 192 / 360.7 MB, free: 11.79 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.645e-05/0.01702, allocations: 19.88 kB / 360.7 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.01705, allocations: 8 kB / 360.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000882/0.01793, allocations: 0.5948 MB / 361.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.01958, allocations: 1.354 MB / 362.7 MB, free: 9.746 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003542/0.01994, allocations: 143.3 kB / 362.8 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.02007, allocations: 75.39 kB / 362.9 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001595/0.02167, allocations: 0.7529 MB / 363.6 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.02171, allocations: 37.39 kB / 363.7 MB, free: 8.695 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.634e-06/0.02171, allocations: 0 / 363.7 MB, free: 8.695 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007577/0.02247, allocations: 225.1 kB / 363.9 MB, free: 8.469 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.02252, allocations: 55.41 kB / 363.9 MB, free: 8.402 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.02285, allocations: 290.6 kB / 364.2 MB, free: 8.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.02288, allocations: 25.7 kB / 364.3 MB, free: 8.07 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.02311, allocations: 266.2 kB / 364.5 MB, free: 7.805 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.791e-05/0.02319, allocations: 55.61 kB / 364.6 MB, free: 7.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.02331, allocations: 91.75 kB / 364.7 MB, free: 7.652 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000289/0.0236, allocations: 0.504 MB / 365.2 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.02371, allocations: 52.97 kB / 365.2 MB, free: 7.086 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007808/0.02449, allocations: 443.1 kB / 365.7 MB, free: 6.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/0.02517, allocations: 0.5445 MB / 366.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.02518, allocations: 4 kB / 366.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006772/0.02586, allocations: 397.1 kB / 366.6 MB, free: 5.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.02588, allocations: 8 kB / 366.6 MB, free: 5.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.0259, allocations: 8 kB / 366.6 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.259e-05/0.02593, allocations: 16 kB / 366.6 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004151/0.02634, allocations: 112.4 kB / 366.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/0.02637, allocations: 15.94 kB / 366.7 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002295/0.02659, allocations: 23.98 kB / 366.8 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.32e-05/0.02664, allocations: 24 kB / 366.8 MB, free: 5.137 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0002051/0.02684, allocations: 200.3 kB / 367 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.02691, allocations: 23.91 kB / 367 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/0.0273, allocations: 154.9 kB / 367.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.02732, allocations: 0 / 367.2 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.02732, allocations: 3.938 kB / 367.2 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.02733, allocations: 4.062 kB / 367.2 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007507/0.02808, allocations: 448 kB / 367.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.02808, allocations: 0 / 367.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.02826, allocations: 27.98 kB / 367.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.02826, allocations: 0 / 367.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.02828, allocations: 12.03 kB / 367.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.02828, allocations: 3.984 kB / 367.6 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02828, allocations: 0 / 367.6 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.02861, allocations: 275.4 kB / 367.9 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.076e-05/0.02869, allocations: 27.84 kB / 367.9 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.02873, allocations: 4 kB / 367.9 MB, free: 3.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.02892, allocations: 11.98 kB / 368 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.02897, allocations: 11.92 kB / 368 MB, free: 3.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.02899, allocations: 4 kB / 368 MB, free: 3.867 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002455/0.02924, allocations: 201.1 kB / 368.2 MB, free: 3.668 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02924, allocations: 4 kB / 368.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000541/0.02978, allocations: 99.86 kB / 368.3 MB, free: 3.566 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 13 * 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.0003606/0.03014, allocations: 171 kB / 368.4 MB, free: 3.391 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004315/0.03057, allocations: 190.2 kB / 368.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.03057, allocations: 0 / 368.6 MB, free: 3.203 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.154e-05/0.03065, allocations: 47.61 kB / 368.7 MB, free: 3.148 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005343/0.03119, allocations: 53.12 kB / 368.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.03233, allocations: 486.4 kB / 369.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.03249, allocations: 116.6 kB / 369.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002125/0.0327, allocations: 58.78 kB / 369.4 MB, free: 2.398 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.03277, allocations: 36.44 kB / 369.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.03277, allocations: 0 / 369.4 MB, free: 2.363 MB / 298.7 MB Notification: Performance of Templates: time 0.009296/0.04206, allocations: 3.399 MB / 372.8 MB, free: 15.02 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",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.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.061882799025625]