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.0009083/0.0009083, allocations: 99.17 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001092/0.001092, allocations: 202.8 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 227.2 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2303/0.2303, allocations: 45.91 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002636/0.0002637, allocations: 8 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.13, allocations: 63.46 MB / 481.4 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004169/0.1342, allocations: 3.502 MB / 484.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003715/0.138, allocations: 3.457 MB / 488.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.83e-05/0.1381, allocations: 0 / 488.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002309/0.1383, allocations: 39.8 kB / 488.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001234/0.1396, allocations: 0.5997 MB / 489 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.1399, allocations: 123 kB / 489.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.1403, allocations: 255.4 kB / 489.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.782e-05/0.1404, allocations: 21.59 kB / 489.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003137/0.1407, allocations: 123.6 kB / 489.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.1409, allocations: 139.6 kB / 489.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.141, allocations: 8 kB / 489.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000824/0.1418, allocations: 383.5 kB / 490 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.28e-05/0.1419, allocations: 39.88 kB / 490.1 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.006e-05/0.142, allocations: 61.58 kB / 490.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004211/0.1424, allocations: 283.6 kB / 490.4 MB, free: 12.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1424, allocations: 7.938 kB / 490.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1424, allocations: 0 / 490.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.1424, allocations: 4 kB / 490.4 MB, free: 12.36 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.001015/0.1435, allocations: 0.5538 MB / 491 MB, free: 11.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1435, allocations: 12.03 kB / 491 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.1436, allocations: 27.77 kB / 491 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.1439, allocations: 222.8 kB / 491.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.1441, allocations: 123.4 kB / 491.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.1441, allocations: 20 kB / 491.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000488/0.1446, allocations: 323.6 kB / 491.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.1446, allocations: 3.938 kB / 491.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.1447, allocations: 12 kB / 491.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.1447, allocations: 8 kB / 491.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000814/0.1455, allocations: 0.743 MB / 492.4 MB, free: 10.18 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.001579/0.1471, allocations: 1.335 MB / 493.8 MB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.1474, allocations: 167.7 kB / 493.9 MB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002713/0.1502, allocations: 2.864 MB / 496.8 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1502, allocations: 38.55 kB / 496.8 MB, free: 5.109 MB / 366.1 MB Notification: Performance of pre-optimization done (n=15): time 2.254e-06/0.1502, allocations: 0 / 496.8 MB, free: 5.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003548/0.1506, allocations: 149.3 kB / 497 MB, free: 4.957 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.1506, allocations: 51.41 kB / 497 MB, free: 4.895 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1508, allocations: 211.6 kB / 497.2 MB, free: 4.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.1508, allocations: 29.7 kB / 497.3 MB, free: 4.645 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.151, allocations: 210.8 kB / 497.5 MB, free: 4.434 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.151, allocations: 47.36 kB / 497.5 MB, free: 4.387 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/0.151, allocations: 8 kB / 497.5 MB, free: 4.379 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1512, allocations: 326.8 kB / 497.8 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.589e-05/0.1513, allocations: 52.84 kB / 497.9 MB, free: 3.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.1515, allocations: 318.1 kB / 498.2 MB, free: 3.555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.1517, allocations: 107.8 kB / 498.3 MB, free: 3.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1517, allocations: 0 / 498.3 MB, free: 3.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005215/0.1522, allocations: 373.5 kB / 498.7 MB, free: 3.078 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.1522, allocations: 12 kB / 498.7 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.1523, allocations: 8 kB / 498.7 MB, free: 3.059 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/0.1523, allocations: 19.95 kB / 498.7 MB, free: 3.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.1526, allocations: 95.83 kB / 498.8 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.1526, allocations: 19.92 kB / 498.8 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.1528, allocations: 51.47 kB / 498.9 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-05/0.1529, allocations: 28 kB / 498.9 MB, free: 2.848 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001526/0.153, allocations: 157.7 kB / 499.1 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.1531, allocations: 19.81 kB / 499.1 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.1535, allocations: 181.2 kB / 499.3 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.1535, allocations: 0 / 499.3 MB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.1535, allocations: 3.953 kB / 499.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.1535, allocations: 0 / 499.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.154, allocations: 449.7 kB / 499.7 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-06/0.1541, allocations: 4 kB / 499.7 MB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.967e-05/0.1541, allocations: 23.89 kB / 499.7 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1542, allocations: 4 kB / 499.7 MB, free: 1.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1542, allocations: 8.047 kB / 499.7 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1542, allocations: 4 kB / 499.7 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1542, allocations: 128 / 499.7 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.1544, allocations: 277.5 kB / 0.4883 GB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.092e-05/0.1545, allocations: 116.7 kB / 0.4884 GB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.1546, allocations: 0 / 0.4884 GB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.1548, allocations: 11.92 kB / 0.4884 GB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.3e-05/0.1548, allocations: 15.98 kB / 0.4884 GB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.1548, allocations: 11.98 kB / 0.4884 GB, free: 1.418 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.1549, allocations: 144.5 kB / 0.4886 GB, free: 1.277 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1549, allocations: 0 / 0.4886 GB, free: 1.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004993/0.1555, allocations: 107.9 kB / 0.4887 GB, free: 1.172 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (12): * Single equations (assignments): 11 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000259/0.1557, allocations: 159.7 kB / 0.4888 GB, free: 1.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.156, allocations: 172.7 kB / 0.489 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.156, allocations: 3.938 kB / 0.489 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.743e-05/0.1561, allocations: 37.42 kB / 0.489 GB, free: 0.8008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.1565, allocations: 52.69 kB / 0.4891 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007099/0.1572, allocations: 0.5132 MB / 0.4896 GB, free: 196 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.1575, allocations: 0.7326 MB / 0.4903 GB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002412/0.1577, allocations: 54.17 kB / 0.4904 GB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.406e-05/0.1578, allocations: 27.42 kB / 0.4904 GB, free: 15.36 MB / 382.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1578, allocations: 4 kB / 0.4904 GB, free: 15.36 MB / 382.1 MB Notification: Performance of Templates: time 0.00681/0.1646, allocations: 3.228 MB / 0.4935 GB, free: 12.16 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches