Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001793/0.001793, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.00239/0.00239, allocations: 209.8 kB / 24.49 MB, free: 4.133 MB / 14.72 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 1.494/1.494, allocations: 230.6 MB / 258.3 MB, free: 8.238 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2275/0.2275, allocations: 44.91 MB / 359.6 MB, free: 6.348 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.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.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 67.91 kB / 0.4944 GB, free: 10.21 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3353, allocations: 65.47 MB / 0.5583 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006863/0.3422, allocations: 5.089 MB / 0.5633 GB, free: 2.613 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005397/0.3476, allocations: 4.586 MB / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.3477, allocations: 0 / 0.5677 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.3481, allocations: 59.59 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0019/0.35, allocations: 0.672 MB / 0.5684 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.3504, allocations: 163.1 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007145/0.3511, allocations: 374.1 kB / 0.569 GB, free: 12.76 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.611e-05/0.3512, allocations: 17.78 kB / 0.569 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.3515, allocations: 151.5 kB / 0.5691 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.3518, allocations: 139.4 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.617e-05/0.3518, allocations: 8 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009504/0.3528, allocations: 367.6 kB / 0.5696 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.575e-05/0.3529, allocations: 47.75 kB / 0.5697 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000135/0.353, allocations: 107.5 kB / 0.5698 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007436/0.3538, allocations: 437 kB / 0.5702 GB, free: 11.51 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3538, allocations: 0 / 0.5702 GB, free: 11.51 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3538, allocations: 0 / 0.5702 GB, free: 11.51 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3538, allocations: 3.938 kB / 0.5702 GB, free: 11.51 MB / 414.1 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.001064/0.3548, allocations: 0.5207 MB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3549, allocations: 23.89 kB / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.355, allocations: 24.84 kB / 0.5707 GB, free: 10.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.3554, allocations: 174.2 kB / 0.5709 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.3556, allocations: 222.7 kB / 0.5711 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.3556, allocations: 24.38 kB / 0.5711 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.3562, allocations: 338.8 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3562, allocations: 0 / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.3562, allocations: 12 kB / 0.5715 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.839e-05/0.3562, allocations: 8 kB / 0.5715 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008596/0.3571, allocations: 0.7586 MB / 0.5722 GB, free: 9.285 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.3585, allocations: 1.217 MB / 0.5734 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/0.3588, allocations: 150.5 kB / 0.5736 GB, free: 7.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.359, allocations: 65.45 kB / 0.5736 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001427/0.3604, allocations: 0.6672 MB / 0.5743 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.3604, allocations: 34.56 kB / 0.5743 GB, free: 7.023 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.593e-06/0.3604, allocations: 0 / 0.5743 GB, free: 7.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007139/0.3611, allocations: 221.1 kB / 0.5745 GB, free: 6.801 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.3612, allocations: 55.34 kB / 0.5746 GB, free: 6.734 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.3614, allocations: 223.9 kB / 0.5748 GB, free: 6.508 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.3614, allocations: 25.7 kB / 0.5748 GB, free: 6.477 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.3616, allocations: 215.6 kB / 0.575 GB, free: 6.262 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.569e-05/0.3616, allocations: 59.52 kB / 0.5751 GB, free: 6.203 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.941e-05/0.3617, allocations: 86.03 kB / 0.5751 GB, free: 6.113 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3618, allocations: 326.8 kB / 0.5755 GB, free: 5.785 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.232e-05/0.3619, allocations: 52.83 kB / 0.5755 GB, free: 5.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003104/0.3622, allocations: 316.1 kB / 0.5758 GB, free: 5.297 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/0.3627, allocations: 415.5 kB / 0.5762 GB, free: 4.762 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.678e-06/0.3627, allocations: 4 kB / 0.5762 GB, free: 4.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00055/0.3633, allocations: 365.7 kB / 0.5766 GB, free: 4.395 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3633, allocations: 8 kB / 0.5766 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.3633, allocations: 16.16 kB / 0.5766 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/0.3633, allocations: 12 kB / 0.5766 GB, free: 4.359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.3637, allocations: 119.7 kB / 0.5767 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.917e-05/0.3637, allocations: 15.94 kB / 0.5767 GB, free: 4.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002163/0.3639, allocations: 15.94 kB / 0.5767 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.364, allocations: 31.98 kB / 0.5768 GB, free: 4.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.0001271/0.3641, allocations: 145.6 kB / 0.5769 GB, free: 4.027 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.3641, allocations: 19.91 kB / 0.5769 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003058/0.3645, allocations: 150.9 kB / 0.5771 GB, free: 3.852 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.3645, allocations: 7.938 kB / 0.5771 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3645, allocations: 0 / 0.5771 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3645, allocations: 4 kB / 0.5771 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005658/0.365, allocations: 410.3 kB / 0.5775 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.365, allocations: 0 / 0.5775 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001633/0.3652, allocations: 35.86 kB / 0.5775 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.3652, allocations: 4 kB / 0.5775 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3652, allocations: 4 kB / 0.5775 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3652, allocations: 3.984 kB / 0.5775 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3652, allocations: 4 kB / 0.5775 GB, free: 3.336 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.3655, allocations: 219.7 kB / 0.5777 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.066e-05/0.3655, allocations: 27.83 kB / 0.5778 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.3656, allocations: 0 / 0.5778 GB, free: 3.078 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.3658, allocations: 12.11 kB / 0.5778 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.3658, allocations: 11.98 kB / 0.5778 GB, free: 3.055 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3658, allocations: 11.94 kB / 0.5778 GB, free: 3.043 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.3659, allocations: 156.5 kB / 0.5779 GB, free: 2.891 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3659, allocations: 0 / 0.5779 GB, free: 2.891 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004815/0.3664, allocations: 103.9 kB / 0.578 GB, free: 2.789 MB / 414.1 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.0002918/0.3667, allocations: 167 kB / 0.5782 GB, free: 2.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003134/0.367, allocations: 169.2 kB / 0.5784 GB, free: 2.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.367, allocations: 7.875 kB / 0.5784 GB, free: 2.445 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.523e-05/0.3671, allocations: 27.98 kB / 0.5784 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004418/0.3675, allocations: 49.22 kB / 0.5784 GB, free: 2.371 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009903/0.3685, allocations: 0.5436 MB / 0.579 GB, free: 1.793 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.3689, allocations: 0.7245 MB / 0.5797 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.3689, allocations: 31.42 kB / 0.5797 GB, free: 1.012 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3689, allocations: 4 kB / 0.5797 GB, free: 1.008 MB / 414.1 MB Notification: Performance of Templates: time 0.006288/0.3752, allocations: 3.51 MB / 0.5831 GB, free: 13.5 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.897898838855326]