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.001048/0.001048, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.358/1.358, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2195/0.2195, allocations: 46.11 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001309, allocations: 71.88 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1336, allocations: 62.45 MB / 481.4 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005267/0.1389, allocations: 4.599 MB / 486 MB, free: 15.92 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003687/0.1426, allocations: 4.014 MB / 490.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.667e-05/0.1427, allocations: 3.938 kB / 490.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.143, allocations: 55.66 kB / 490.1 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.1444, allocations: 0.7266 MB / 490.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002935/0.1447, allocations: 135.5 kB / 491 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004511/0.1452, allocations: 370.1 kB / 491.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.1452, allocations: 17.67 kB / 491.4 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.1454, allocations: 143.5 kB / 491.5 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.1456, allocations: 147.5 kB / 491.6 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.1456, allocations: 8 kB / 491.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007531/0.1464, allocations: 427.5 kB / 492.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.047e-05/0.1465, allocations: 47.77 kB / 492.1 MB, free: 9.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.1466, allocations: 99.52 kB / 492.2 MB, free: 9.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006246/0.1472, allocations: 470.8 kB / 492.7 MB, free: 9.281 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.1472, allocations: 0 / 492.7 MB, free: 9.281 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1472, allocations: 4 kB / 492.7 MB, free: 9.277 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.1472, allocations: 0 / 492.7 MB, free: 9.277 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.0009886/0.1482, allocations: 0.5969 MB / 493.3 MB, free: 8.629 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1483, allocations: 12.03 kB / 493.3 MB, free: 8.617 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.1484, allocations: 28.75 kB / 493.3 MB, free: 8.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.1487, allocations: 228 kB / 493.5 MB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.1488, allocations: 123.9 kB / 493.7 MB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.1489, allocations: 20.38 kB / 493.7 MB, free: 8.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004509/0.1493, allocations: 335.6 kB / 494 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1494, allocations: 0 / 494 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.1494, allocations: 8 kB / 494 MB, free: 7.801 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.1494, allocations: 8 kB / 494 MB, free: 7.793 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007469/0.1502, allocations: 0.7391 MB / 494.8 MB, free: 7.055 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.001225/0.1514, allocations: 1.304 MB / 496.1 MB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.1517, allocations: 159.8 kB / 496.2 MB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/0.1519, allocations: 85.42 kB / 496.3 MB, free: 5.379 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002185/0.1541, allocations: 2.814 MB / 499.1 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.1541, allocations: 30.56 kB / 499.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.1541, allocations: 0 / 499.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002708/0.1544, allocations: 121.3 kB / 499.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.1544, allocations: 59.34 kB / 499.3 MB, free: 1.801 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.1546, allocations: 217.2 kB / 499.5 MB, free: 1.582 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.1546, allocations: 29.7 kB / 499.6 MB, free: 1.547 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1548, allocations: 214.6 kB / 499.8 MB, free: 1.332 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.1548, allocations: 55.36 kB / 499.8 MB, free: 1.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.318e-05/0.1549, allocations: 85.94 kB / 499.9 MB, free: 1.188 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.155, allocations: 322.8 kB / 0.4885 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/0.1551, allocations: 52.84 kB / 0.4885 GB, free: 0.8125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.1553, allocations: 347.2 kB / 0.4889 GB, free: 336 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003864/0.1557, allocations: 448.6 kB / 0.4893 GB, free: 15.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.1557, allocations: 4 kB / 0.4893 GB, free: 15.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000505/0.1562, allocations: 381.2 kB / 0.4897 GB, free: 15.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1563, allocations: 8 kB / 0.4897 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.1563, allocations: 15.94 kB / 0.4897 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.1563, allocations: 15.94 kB / 0.4897 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.1565, allocations: 103.8 kB / 0.4898 GB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.1566, allocations: 20.52 kB / 0.4898 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.1568, allocations: 59.44 kB / 0.4899 GB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.1568, allocations: 24 kB / 0.4899 GB, free: 15.12 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.0001158/0.157, allocations: 149.6 kB / 0.4901 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.083e-05/0.157, allocations: 19.81 kB / 0.4901 GB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.1573, allocations: 144.5 kB / 0.4902 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.1573, allocations: 3.938 kB / 0.4902 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1573, allocations: 0 / 0.4902 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1573, allocations: 4 kB / 0.4902 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.1577, allocations: 408.8 kB / 0.4906 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1577, allocations: 4.094 kB / 0.4906 GB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.1578, allocations: 15.98 kB / 0.4906 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1578, allocations: 4 kB / 0.4906 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1578, allocations: 4 kB / 0.4906 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1578, allocations: 0 / 0.4906 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1578, allocations: 4 kB / 0.4906 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001742/0.158, allocations: 201.8 kB / 0.4908 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.303e-05/0.1581, allocations: 104.8 kB / 0.4909 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.1582, allocations: 0 / 0.4909 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.1583, allocations: 7.984 kB / 0.4909 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.1583, allocations: 11.94 kB / 0.4909 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.1584, allocations: 7.984 kB / 0.491 GB, free: 13.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.1585, allocations: 152.5 kB / 0.4911 GB, free: 13.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1585, allocations: 4 kB / 0.4911 GB, free: 13.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004518/0.159, allocations: 95.92 kB / 0.4912 GB, free: 13.67 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.0002465/0.1592, allocations: 159.3 kB / 0.4913 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.1595, allocations: 172.9 kB / 0.4915 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1595, allocations: 0 / 0.4915 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.112e-05/0.1595, allocations: 21.61 kB / 0.4915 GB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.1599, allocations: 59.42 kB / 0.4916 GB, free: 13.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008046/0.1607, allocations: 0.5191 MB / 0.4921 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.161, allocations: 0.7285 MB / 0.4928 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.1612, allocations: 55.22 kB / 0.4929 GB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.1612, allocations: 27.42 kB / 0.4929 GB, free: 11.87 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1612, allocations: 0 / 0.4929 GB, free: 11.87 MB / 382.1 MB Notification: Performance of Templates: time 0.005866/0.1671, allocations: 3.097 MB / 0.4959 GB, free: 8.801 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 -s cvode -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