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.001382/0.001382, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001663/0.001663, allocations: 214.1 kB / 23.75 MB, free: 4.668 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.54/1.54, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] 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.2322/0.2322, allocations: 46.94 MB / 360.9 MB, free: 4.258 MB / 286.1 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.1.|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.1.|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 0.002056/0.002056, allocations: 67.89 kB / 0.4967 GB, free: 7.367 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4232/0.4252, allocations: 66.03 MB / 0.5612 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007365/0.4326, allocations: 5.069 MB / 0.5661 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005843/0.4385, allocations: 4.598 MB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.4386, allocations: 4 kB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003749/0.4389, allocations: 55.59 kB / 0.5707 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.4407, allocations: 0.672 MB / 0.5713 GB, free: 9.945 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.4411, allocations: 159.5 kB / 0.5715 GB, free: 9.793 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005866/0.4417, allocations: 374.1 kB / 0.5718 GB, free: 9.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.042e-05/0.4418, allocations: 17.8 kB / 0.5718 GB, free: 9.406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.442, allocations: 159.4 kB / 0.572 GB, free: 9.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.4423, allocations: 139.5 kB / 0.5721 GB, free: 9.113 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.4423, allocations: 4 kB / 0.5721 GB, free: 9.109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009374/0.4432, allocations: 367.5 kB / 0.5725 GB, free: 8.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.4433, allocations: 51.75 kB / 0.5725 GB, free: 8.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.4435, allocations: 99.59 kB / 0.5726 GB, free: 8.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007259/0.4442, allocations: 445 kB / 0.573 GB, free: 8.172 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4442, allocations: 0 / 0.573 GB, free: 8.172 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4442, allocations: 0 / 0.573 GB, free: 8.172 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.4442, allocations: 7.938 kB / 0.5731 GB, free: 8.164 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.001043/0.4452, allocations: 0.5168 MB / 0.5736 GB, free: 7.617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.4453, allocations: 11.97 kB / 0.5736 GB, free: 7.605 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.4454, allocations: 32.83 kB / 0.5736 GB, free: 7.574 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/0.4458, allocations: 166.2 kB / 0.5738 GB, free: 7.387 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000215/0.446, allocations: 234.6 kB / 0.574 GB, free: 7.105 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.446, allocations: 20.38 kB / 0.574 GB, free: 7.086 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005517/0.4466, allocations: 338.8 kB / 0.5743 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.4466, allocations: 3.938 kB / 0.5743 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.4466, allocations: 15.98 kB / 0.5743 GB, free: 6.711 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.4467, allocations: 4 kB / 0.5744 GB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009286/0.4476, allocations: 0.7625 MB / 0.5751 GB, free: 5.941 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.001637/0.4492, allocations: 1.217 MB / 0.5763 GB, free: 4.629 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.4495, allocations: 142.6 kB / 0.5764 GB, free: 4.484 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.4497, allocations: 68.83 kB / 0.5765 GB, free: 4.414 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001377/0.451, allocations: 0.6633 MB / 0.5771 GB, free: 3.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/0.4511, allocations: 38.5 kB / 0.5772 GB, free: 3.684 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.4511, allocations: 0 / 0.5772 GB, free: 3.684 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006751/0.4517, allocations: 221.2 kB / 0.5774 GB, free: 3.461 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.4518, allocations: 59.34 kB / 0.5774 GB, free: 3.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.452, allocations: 210.8 kB / 0.5776 GB, free: 3.176 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.452, allocations: 33.7 kB / 0.5777 GB, free: 3.137 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.4522, allocations: 211.6 kB / 0.5779 GB, free: 2.926 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.515e-05/0.4522, allocations: 59.52 kB / 0.5779 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.4523, allocations: 86.03 kB / 0.578 GB, free: 2.777 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.4525, allocations: 326.8 kB / 0.5783 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.4526, allocations: 56.83 kB / 0.5784 GB, free: 2.391 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.4529, allocations: 312.1 kB / 0.5787 GB, free: 1.957 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.4534, allocations: 411.5 kB / 0.5791 GB, free: 1.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4534, allocations: 4 kB / 0.5791 GB, free: 1.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005795/0.454, allocations: 373.8 kB / 0.5794 GB, free: 1.051 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.454, allocations: 12 kB / 0.5794 GB, free: 1.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.454, allocations: 11.94 kB / 0.5795 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.454, allocations: 12 kB / 0.5795 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003378/0.4544, allocations: 107.8 kB / 0.5796 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.388e-05/0.4544, allocations: 19.92 kB / 0.5796 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.4546, allocations: 23.94 kB / 0.5796 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.4546, allocations: 28 kB / 0.5796 GB, free: 0.8398 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.0001482/0.4548, allocations: 153.7 kB / 0.5798 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.84e-05/0.4549, allocations: 23.84 kB / 0.5798 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.4552, allocations: 158.9 kB / 0.58 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.4552, allocations: 3.938 kB / 0.58 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4552, allocations: 0 / 0.58 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.4552, allocations: 0 / 0.58 GB, free: 500 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/0.4558, allocations: 406.2 kB / 0.5803 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4558, allocations: 0 / 0.5803 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.4559, allocations: 35.92 kB / 0.5804 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4559, allocations: 0 / 0.5804 GB, free: 8 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.456, allocations: 7.984 kB / 0.5804 GB, free: 0 / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.456, allocations: 4.078 kB / 0.5804 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.456, allocations: 0 / 0.5804 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.4562, allocations: 224.2 kB / 0.5806 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.4563, allocations: 23.83 kB / 0.5806 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.4563, allocations: 8 kB / 0.5806 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001973/0.4565, allocations: 7.984 kB / 0.5806 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.4565, allocations: 15.98 kB / 0.5807 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.4566, allocations: 4 kB / 0.5807 GB, free: 15.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001437/0.4567, allocations: 148.5 kB / 0.5808 GB, free: 15.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4567, allocations: 0 / 0.5808 GB, free: 15.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000497/0.4572, allocations: 99.88 kB / 0.5809 GB, free: 15.46 MB / 430.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.0003014/0.4575, allocations: 166.9 kB / 0.5811 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.4578, allocations: 168.4 kB / 0.5812 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.4578, allocations: 7.938 kB / 0.5812 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.69e-05/0.4579, allocations: 33.61 kB / 0.5813 GB, free: 15.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.4583, allocations: 62.27 kB / 0.5813 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.4594, allocations: 0.5107 MB / 0.5818 GB, free: 14.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.4597, allocations: 0.7285 MB / 0.5825 GB, free: 13.73 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001932/0.4599, allocations: 58.72 kB / 0.5826 GB, free: 13.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.162e-05/0.46, allocations: 35.42 kB / 0.5826 GB, free: 13.64 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.46, allocations: 0 / 0.5826 GB, free: 13.64 MB / 430.1 MB Notification: Performance of Templates: time 0.008429/0.4684, allocations: 3.693 MB / 0.5862 GB, free: 9.969 MB / 430.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.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: 5.7537882518954575]