Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009637/0.0009637, allocations: 95.09 kB / 18.01 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001043/0.001043, allocations: 203.6 kB / 18.94 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 227.7 MB / 247.5 MB, free: 11.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.192/0.192, allocations: 46.19 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002625, allocations: 8.375 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1135, allocations: 63.56 MB / 483.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005465/0.119, allocations: 4.275 MB / 488 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004623/0.1237, allocations: 4.003 MB / 492 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.124, allocations: 8 kB / 492 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.1243, allocations: 47.72 kB / 492.1 MB, free: 11.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.1263, allocations: 0.6492 MB / 492.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.1267, allocations: 131 kB / 492.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007159/0.1274, allocations: 442 kB / 493.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.8e-05/0.1275, allocations: 17.67 kB / 493.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.1278, allocations: 139.4 kB / 493.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.1281, allocations: 159.4 kB / 493.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.665e-05/0.1282, allocations: 8 kB / 493.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.1292, allocations: 431.3 kB / 494 MB, free: 9.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1294, allocations: 51.73 kB / 494.1 MB, free: 9.812 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001747/0.1295, allocations: 129.2 kB / 494.2 MB, free: 9.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005857/0.1301, allocations: 327.6 kB / 494.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1302, allocations: 0 / 494.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1302, allocations: 0 / 494.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1302, allocations: 0 / 494.5 MB, free: 9.359 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.001163/0.1313, allocations: 0.554 MB / 495.1 MB, free: 8.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.1314, allocations: 8.875 kB / 495.1 MB, free: 8.746 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.1316, allocations: 24.75 kB / 495.1 MB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.1318, allocations: 224 kB / 495.3 MB, free: 8.465 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.132, allocations: 123.9 kB / 495.4 MB, free: 8.32 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.132, allocations: 20.38 kB / 495.5 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005106/0.1325, allocations: 331.6 kB / 495.8 MB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1325, allocations: 4 kB / 495.8 MB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.081e-05/0.1326, allocations: 8 kB / 495.8 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.1326, allocations: 8 kB / 495.8 MB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000795/0.1334, allocations: 0.739 MB / 496.5 MB, free: 7.195 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.001494/0.1349, allocations: 1.304 MB / 497.8 MB, free: 5.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.1353, allocations: 171.7 kB / 498 MB, free: 5.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.1354, allocations: 85.42 kB / 498.1 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002535/0.138, allocations: 2.798 MB / 0.4891 GB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.138, allocations: 42.55 kB / 0.4892 GB, free: 2.129 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/0.138, allocations: 0 / 0.4892 GB, free: 2.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003144/0.1384, allocations: 121.3 kB / 0.4893 GB, free: 2.004 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.1384, allocations: 51.41 kB / 0.4894 GB, free: 1.941 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.1386, allocations: 225.1 kB / 0.4896 GB, free: 1.715 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1386, allocations: 25.7 kB / 0.4896 GB, free: 1.684 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.1388, allocations: 214.6 kB / 0.4898 GB, free: 1.469 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.505e-05/0.1388, allocations: 51.38 kB / 0.4898 GB, free: 1.418 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.1389, allocations: 37.7 kB / 0.4899 GB, free: 1.375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.139, allocations: 330.8 kB / 0.4902 GB, free: 1.043 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.027e-05/0.1391, allocations: 44.84 kB / 0.4902 GB, free: 1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.1393, allocations: 343.2 kB / 0.4906 GB, free: 0.5195 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/0.1398, allocations: 440.6 kB / 0.491 GB, free: 15.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.1398, allocations: 7.938 kB / 0.491 GB, free: 15.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005939/0.1404, allocations: 388.8 kB / 0.4914 GB, free: 15.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.1405, allocations: 8.938 kB / 0.4914 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.1405, allocations: 12 kB / 0.4914 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/0.1405, allocations: 15.94 kB / 0.4914 GB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.1408, allocations: 103.8 kB / 0.4915 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/0.1408, allocations: 19.92 kB / 0.4915 GB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.1411, allocations: 51.44 kB / 0.4916 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.321e-05/0.1411, allocations: 31.94 kB / 0.4916 GB, free: 15.3 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001306/0.1413, allocations: 157.5 kB / 0.4917 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.56e-05/0.1413, allocations: 15.81 kB / 0.4918 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/0.1416, allocations: 140.5 kB / 0.4919 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.1416, allocations: 11.88 kB / 0.4919 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1416, allocations: 0 / 0.4919 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1416, allocations: 0 / 0.4919 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.1421, allocations: 412.9 kB / 0.4923 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.1421, allocations: 4.062 kB / 0.4923 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.707e-05/0.1422, allocations: 12 kB / 0.4923 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1422, allocations: 0 / 0.4923 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1422, allocations: 0 / 0.4923 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-06/0.1422, allocations: 7.938 kB / 0.4923 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1422, allocations: 0 / 0.4923 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.1424, allocations: 213.8 kB / 0.4925 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.009e-05/0.1425, allocations: 100.8 kB / 0.4926 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/0.1426, allocations: 8 kB / 0.4926 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.1427, allocations: 7.984 kB / 0.4926 GB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.1428, allocations: 8 kB / 0.4926 GB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.1428, allocations: 4 kB / 0.4927 GB, free: 14.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.1429, allocations: 156.5 kB / 0.4928 GB, free: 13.95 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.1429, allocations: 0 / 0.4928 GB, free: 13.95 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005295/0.1435, allocations: 95.92 kB / 0.4929 GB, free: 13.85 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0003132/0.1438, allocations: 151.2 kB / 0.493 GB, free: 13.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000297/0.1441, allocations: 178.2 kB / 0.4932 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1441, allocations: 4 kB / 0.4932 GB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.918e-05/0.1442, allocations: 24.17 kB / 0.4932 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.1447, allocations: 48.28 kB / 0.4933 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.1457, allocations: 0.6709 MB / 0.4939 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.146, allocations: 0.7326 MB / 0.4947 GB, free: 11.97 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.517e-05/0.1461, allocations: 27.44 kB / 0.4947 GB, free: 11.95 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1461, allocations: 0 / 0.4947 GB, free: 11.95 MB / 382.1 MB Notification: Performance of Templates: time 0.00616/0.1523, allocations: 3.3 MB / 0.4979 GB, free: 8.66 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches