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.001814/0.001814, allocations: 111.5 kB / 18.45 MB, free: 4.621 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.002281/0.002281, allocations: 208.3 kB / 21.41 MB, free: 1.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.479/1.479, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.2304/0.2304, allocations: 46.92 MB / 357.8 MB, free: 10.4 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.001921/0.001921, allocations: 63.91 kB / 0.4921 GB, free: 7.508 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1239, allocations: 66 MB / 0.5566 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.006875/0.1308, allocations: 5.052 MB / 0.5615 GB, free: 300 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005903/0.1367, allocations: 4.582 MB / 0.566 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.1368, allocations: 0 / 0.566 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.1371, allocations: 51.66 kB / 0.566 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001883/0.139, allocations: 0.6642 MB / 0.5667 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.1394, allocations: 155.2 kB / 0.5668 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005739/0.14, allocations: 370.1 kB / 0.5672 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.479e-05/0.14, allocations: 13.67 kB / 0.5672 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.1403, allocations: 155.4 kB / 0.5673 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.1406, allocations: 135.4 kB / 0.5675 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.805e-05/0.1406, allocations: 8 kB / 0.5675 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000861/0.1415, allocations: 363.6 kB / 0.5678 GB, free: 9.801 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.348e-05/0.1415, allocations: 43.77 kB / 0.5678 GB, free: 9.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1417, allocations: 111.5 kB / 0.568 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007087/0.1424, allocations: 442.6 kB / 0.5684 GB, free: 9.215 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1424, allocations: 0 / 0.5684 GB, free: 9.215 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1424, allocations: 0 / 0.5684 GB, free: 9.215 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1424, allocations: 0 / 0.5684 GB, free: 9.215 MB / 430.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.001096/0.1435, allocations: 0.5921 MB / 0.569 GB, free: 8.574 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.1435, allocations: 12.03 kB / 0.569 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.1437, allocations: 36.77 kB / 0.569 GB, free: 8.527 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.144, allocations: 224.1 kB / 0.5692 GB, free: 8.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.1442, allocations: 123.9 kB / 0.5693 GB, free: 8.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.1442, allocations: 16.38 kB / 0.5693 GB, free: 8.109 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005503/0.1448, allocations: 331.6 kB / 0.5697 GB, free: 7.758 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1448, allocations: 4 kB / 0.5697 GB, free: 7.754 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.1448, allocations: 12 kB / 0.5697 GB, free: 7.742 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.1448, allocations: 4 kB / 0.5697 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009785/0.1458, allocations: 0.7429 MB / 0.5704 GB, free: 6.992 MB / 430.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.001523/0.1473, allocations: 1.246 MB / 0.5716 GB, free: 5.645 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.1477, allocations: 146.6 kB / 0.5718 GB, free: 5.496 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.1478, allocations: 68.83 kB / 0.5718 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002836/0.1506, allocations: 2.674 MB / 0.5744 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1507, allocations: 34.56 kB / 0.5745 GB, free: 2.195 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.1507, allocations: 0 / 0.5745 GB, free: 2.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.000745/0.1514, allocations: 217.1 kB / 0.5747 GB, free: 1.977 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.1515, allocations: 59.34 kB / 0.5747 GB, free: 1.906 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.1517, allocations: 218.8 kB / 0.5749 GB, free: 1.684 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.1517, allocations: 29.7 kB / 0.575 GB, free: 1.648 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.1519, allocations: 211.6 kB / 0.5752 GB, free: 1.438 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.357e-05/0.1519, allocations: 59.52 kB / 0.5752 GB, free: 1.379 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.152, allocations: 90.03 kB / 0.5753 GB, free: 1.285 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1522, allocations: 330.8 kB / 0.5756 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.1523, allocations: 48.84 kB / 0.5757 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/0.1526, allocations: 316.1 kB / 0.576 GB, free: 480 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.1531, allocations: 407.5 kB / 0.5764 GB, free: 15.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1531, allocations: 4 kB / 0.5764 GB, free: 15.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005775/0.1536, allocations: 368.9 kB / 0.5767 GB, free: 15.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1537, allocations: 9.719 kB / 0.5767 GB, free: 15.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.1537, allocations: 8.906 kB / 0.5767 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/0.1537, allocations: 15.94 kB / 0.5768 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.1541, allocations: 123.7 kB / 0.5769 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.1541, allocations: 15.94 kB / 0.5769 GB, free: 15.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.1543, allocations: 16 kB / 0.5769 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.1543, allocations: 31.98 kB / 0.5769 GB, free: 15.36 MB / 446.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.000141/0.1545, allocations: 143.8 kB / 0.5771 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.1545, allocations: 19.91 kB / 0.5771 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.1548, allocations: 158.9 kB / 0.5772 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.1549, allocations: 7.875 kB / 0.5773 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1549, allocations: 0 / 0.5773 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1549, allocations: 128 / 0.5773 GB, free: 15.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.1555, allocations: 439.3 kB / 0.5777 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1555, allocations: 0 / 0.5777 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.1556, allocations: 35.86 kB / 0.5777 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1556, allocations: 0 / 0.5777 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.1557, allocations: 7.984 kB / 0.5777 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1557, allocations: 0 / 0.5777 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1557, allocations: 0 / 0.5777 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.1559, allocations: 223.9 kB / 0.5779 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.156, allocations: 104.9 kB / 0.578 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.1561, allocations: 4 kB / 0.578 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.1563, allocations: 15.92 kB / 0.578 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.1563, allocations: 7.984 kB / 0.5781 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.1563, allocations: 4 kB / 0.5781 GB, free: 14.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1564, allocations: 160.4 kB / 0.5782 GB, free: 13.94 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1564, allocations: 0 / 0.5782 GB, free: 13.94 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004914/0.1569, allocations: 99.88 kB / 0.5783 GB, free: 13.84 MB / 446.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.0002851/0.1572, allocations: 170.9 kB / 0.5785 GB, free: 13.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003135/0.1575, allocations: 177.9 kB / 0.5786 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1575, allocations: 0 / 0.5786 GB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/0.1576, allocations: 35.91 kB / 0.5787 GB, free: 13.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.158, allocations: 48.34 kB / 0.5787 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009867/0.159, allocations: 0.5305 MB / 0.5792 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003643/0.1594, allocations: 0.7285 MB / 0.58 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.162e-05/0.1594, allocations: 35.42 kB / 0.58 GB, free: 12.05 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1594, allocations: 0 / 0.58 GB, free: 12.05 MB / 446.1 MB Notification: Performance of Templates: time 0.006155/0.1656, allocations: 3.518 MB / 0.5834 GB, free: 8.547 MB / 446.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/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: 7.86326111399103]