Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007433/0.0007433, allocations: 98.05 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000923/0.0009231, allocations: 203.9 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.7 MB / 247.5 MB, free: 11.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1923/0.1923, allocations: 46.19 MB / 345.9 MB, free: 11.33 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002945, allocations: 4 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1148, allocations: 63.56 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.004969/0.1198, allocations: 4.669 MB / 488.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004392/0.1242, allocations: 4.517 MB / 492.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1244, allocations: 0 / 492.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.1247, allocations: 43.73 kB / 493 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.1262, allocations: 0.6062 MB / 493.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.1265, allocations: 154.7 kB / 493.7 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005311/0.1271, allocations: 446 kB / 494.1 MB, free: 9.672 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.1271, allocations: 13.69 kB / 494.2 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.1274, allocations: 147.4 kB / 494.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001753/0.1275, allocations: 127.5 kB / 494.4 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.1276, allocations: 4 kB / 494.4 MB, free: 9.387 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000681/0.1283, allocations: 363.5 kB / 494.8 MB, free: 9.031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.1283, allocations: 47.77 kB / 494.8 MB, free: 8.984 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.1285, allocations: 141.1 kB / 495 MB, free: 8.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003849/0.1289, allocations: 295.6 kB / 495.3 MB, free: 8.551 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1289, allocations: 0 / 495.3 MB, free: 8.551 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1289, allocations: 4 kB / 495.3 MB, free: 8.547 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.1289, allocations: 0 / 495.3 MB, free: 8.547 MB / 366.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.0008624/0.1298, allocations: 0.5345 MB / 495.8 MB, free: 7.961 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1298, allocations: 12.88 kB / 495.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.13, allocations: 28.73 kB / 495.8 MB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002186/0.1302, allocations: 228 kB / 496.1 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.1303, allocations: 127.9 kB / 496.2 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.1303, allocations: 24.36 kB / 496.2 MB, free: 7.488 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.1308, allocations: 331.6 kB / 496.5 MB, free: 7.141 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1308, allocations: 0 / 496.5 MB, free: 7.141 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.1309, allocations: 12 kB / 496.5 MB, free: 7.129 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.1309, allocations: 8 kB / 496.6 MB, free: 7.121 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007305/0.1316, allocations: 0.7313 MB / 497.3 MB, free: 6.391 MB / 366.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.001153/0.1328, allocations: 1.246 MB / 498.5 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002783/0.1331, allocations: 154.8 kB / 498.7 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.1332, allocations: 72.83 kB / 498.8 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002/0.1352, allocations: 2.666 MB / 0.4897 GB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.1352, allocations: 30.56 kB / 0.4897 GB, free: 1.586 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.313e-06/0.1352, allocations: 0 / 0.4897 GB, free: 1.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006115/0.1359, allocations: 220.8 kB / 0.4899 GB, free: 1.363 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.1359, allocations: 63.28 kB / 0.49 GB, free: 1.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.1361, allocations: 210.6 kB / 0.4902 GB, free: 1.074 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.1361, allocations: 29.7 kB / 0.4902 GB, free: 1.039 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.1362, allocations: 214.8 kB / 0.4904 GB, free: 0.8242 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.1363, allocations: 55.33 kB / 0.4905 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.1363, allocations: 41.64 kB / 0.4905 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1364, allocations: 330.8 kB / 0.4908 GB, free: 400 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.769e-05/0.1365, allocations: 48.84 kB / 0.4909 GB, free: 352 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002494/0.1368, allocations: 312.3 kB / 0.4912 GB, free: 15.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000415/0.1372, allocations: 407.5 kB / 0.4915 GB, free: 15.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1372, allocations: 4 kB / 0.4915 GB, free: 15.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005003/0.1377, allocations: 368.8 kB / 0.4919 GB, free: 15.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.1378, allocations: 8.938 kB / 0.4919 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.1378, allocations: 8 kB / 0.4919 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.1378, allocations: 12 kB / 0.4919 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.1382, allocations: 119.8 kB / 0.492 GB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.1382, allocations: 15.94 kB / 0.4921 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.1384, allocations: 20 kB / 0.4921 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.1385, allocations: 27.98 kB / 0.4921 GB, free: 14.81 MB / 382.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.0001238/0.1386, allocations: 157.5 kB / 0.4923 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.1386, allocations: 19.72 kB / 0.4923 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.1389, allocations: 158.2 kB / 0.4924 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/0.139, allocations: 7.938 kB / 0.4924 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.139, allocations: 4 kB / 0.4924 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.139, allocations: 4 kB / 0.4924 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/0.1395, allocations: 427.3 kB / 0.4928 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1395, allocations: 0 / 0.4928 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.1397, allocations: 35.91 kB / 0.4929 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.1397, allocations: 4 kB / 0.4929 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1397, allocations: 0 / 0.4929 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1397, allocations: 0 / 0.4929 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1397, allocations: 3.938 kB / 0.4929 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/0.14, allocations: 220.1 kB / 0.4931 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.062e-05/0.1401, allocations: 116.8 kB / 0.4932 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.1401, allocations: 4 kB / 0.4932 GB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.1403, allocations: 7.984 kB / 0.4932 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/0.1404, allocations: 11.98 kB / 0.4932 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1404, allocations: 12 kB / 0.4932 GB, free: 13.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1405, allocations: 148.5 kB / 0.4934 GB, free: 13.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1405, allocations: 0 / 0.4934 GB, free: 13.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000473/0.141, allocations: 96 kB / 0.4935 GB, free: 13.29 MB / 382.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.0003076/0.1413, allocations: 183 kB / 0.4937 GB, free: 13.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002903/0.1416, allocations: 172.7 kB / 0.4938 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1416, allocations: 0 / 0.4938 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.122e-05/0.1417, allocations: 35.92 kB / 0.4939 GB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.1422, allocations: 61.33 kB / 0.4939 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009259/0.1431, allocations: 0.6451 MB / 0.4945 GB, free: 12.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.1434, allocations: 0.7287 MB / 0.4953 GB, free: 11.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.1435, allocations: 31.42 kB / 0.4953 GB, free: 11.37 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1435, allocations: 3.938 kB / 0.4953 GB, free: 11.37 MB / 382.1 MB Notification: Performance of Templates: time 0.00618/0.1497, allocations: 3.47 MB / 0.4987 GB, free: 7.91 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches