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.0008691/0.0008691, allocations: 99.14 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 227.7 MB / 246.4 MB, free: 9.707 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2428/0.2428, allocations: 46.18 MB / 344.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002945/0.0002947, allocations: 8 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 63.56 MB / 482.4 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005297/0.1303, allocations: 4.094 MB / 486.5 MB, free: 392 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00437/0.1347, allocations: 3.706 MB / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.1349, allocations: 0 / 490.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.1352, allocations: 51.72 kB / 490.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.1373, allocations: 0.5672 MB / 490.8 MB, free: 12.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.1377, allocations: 127.4 kB / 490.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000666/0.1384, allocations: 394 kB / 491.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.355e-05/0.1384, allocations: 17.66 kB / 491.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002176/0.1387, allocations: 135.5 kB / 491.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.1389, allocations: 151.5 kB / 491.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.139, allocations: 8 kB / 491.6 MB, free: 11.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.14, allocations: 315.6 kB / 491.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.666e-05/0.1402, allocations: 47.8 kB / 492 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.277e-05/0.1402, allocations: 61.58 kB / 492 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005426/0.1408, allocations: 287.7 kB / 492.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.1408, allocations: 8 kB / 492.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1408, allocations: 0 / 492.3 MB, free: 10.52 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.1408, allocations: 0 / 492.3 MB, free: 10.52 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.001227/0.1421, allocations: 0.5538 MB / 492.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.1421, allocations: 12.03 kB / 492.9 MB, free: 9.906 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.1423, allocations: 27.77 kB / 492.9 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.1425, allocations: 222.8 kB / 493.1 MB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001266/0.1426, allocations: 123.4 kB / 493.3 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.1427, allocations: 20 kB / 493.3 MB, free: 9.457 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005072/0.1432, allocations: 327.6 kB / 493.6 MB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1432, allocations: 3.938 kB / 493.6 MB, free: 9.109 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.1433, allocations: 12 kB / 493.6 MB, free: 9.098 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.1433, allocations: 8 kB / 493.6 MB, free: 9.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007965/0.1441, allocations: 0.7351 MB / 494.4 MB, free: 8.355 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.001563/0.1457, allocations: 1.304 MB / 495.7 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003682/0.146, allocations: 163.8 kB / 495.8 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00013/0.1462, allocations: 81.48 kB / 495.9 MB, free: 6.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00242/0.1486, allocations: 2.81 MB / 498.7 MB, free: 3.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.383e-05/0.1487, allocations: 38.56 kB / 498.7 MB, free: 3.293 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.1487, allocations: 4 kB / 498.8 MB, free: 3.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002941/0.149, allocations: 113.7 kB / 498.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.149, allocations: 59.28 kB / 498.9 MB, free: 3.102 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.1493, allocations: 227.8 kB / 499.1 MB, free: 2.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.1493, allocations: 29.69 kB / 499.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1494, allocations: 214.7 kB / 499.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.1495, allocations: 43.38 kB / 499.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.1495, allocations: 12 kB / 499.4 MB, free: 2.566 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1496, allocations: 334.8 kB / 499.8 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.942e-05/0.1497, allocations: 44.84 kB / 499.8 MB, free: 2.188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.15, allocations: 339.2 kB / 0.4884 GB, free: 1.711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.1502, allocations: 103.8 kB / 0.4885 GB, free: 1.609 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.1502, allocations: 8 kB / 0.4885 GB, free: 1.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005354/0.1507, allocations: 373.8 kB / 0.4889 GB, free: 1.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.1508, allocations: 16.02 kB / 0.4889 GB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.1508, allocations: 12 kB / 0.4889 GB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.1508, allocations: 12 kB / 0.4889 GB, free: 1.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.1511, allocations: 99.83 kB / 0.489 GB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.1511, allocations: 15.94 kB / 0.489 GB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.1514, allocations: 59.42 kB / 0.4891 GB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.1514, allocations: 28 kB / 0.4891 GB, free: 0.9922 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.1516, allocations: 157.5 kB / 0.4893 GB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.1516, allocations: 19.81 kB / 0.4893 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003406/0.152, allocations: 148.5 kB / 0.4894 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/0.152, allocations: 4 kB / 0.4894 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.152, allocations: 0 / 0.4894 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.152, allocations: 0 / 0.4894 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.1525, allocations: 412.8 kB / 0.4898 GB, free: 188 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1525, allocations: 0 / 0.4898 GB, free: 188 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.331e-05/0.1526, allocations: 19.92 kB / 0.4898 GB, free: 168 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1526, allocations: 160 / 0.4898 GB, free: 168 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1526, allocations: 12 kB / 0.4899 GB, free: 156 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1526, allocations: 0 / 0.4899 GB, free: 156 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1526, allocations: 0 / 0.4899 GB, free: 156 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.1528, allocations: 201.8 kB / 0.49 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.95e-05/0.1529, allocations: 108.9 kB / 0.4901 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.565e-05/0.153, allocations: 4 kB / 0.4902 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.1532, allocations: 11.94 kB / 0.4902 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.1532, allocations: 7.984 kB / 0.4902 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.1532, allocations: 4 kB / 0.4902 GB, free: 15.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001258/0.1533, allocations: 152.5 kB / 0.4903 GB, free: 15.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1533, allocations: 0 / 0.4903 GB, free: 15.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005196/0.1539, allocations: 95.92 kB / 0.4904 GB, free: 15.53 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 (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.00024/0.1541, allocations: 155.8 kB / 0.4906 GB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002712/0.1544, allocations: 162.3 kB / 0.4907 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1544, allocations: 4.125 kB / 0.4907 GB, free: 15.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.194e-05/0.1544, allocations: 27.92 kB / 0.4907 GB, free: 15.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.1549, allocations: 43.36 kB / 0.4908 GB, free: 15.14 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009546/0.1558, allocations: 0.6302 MB / 0.4914 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002763/0.1561, allocations: 0.7287 MB / 0.4921 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002356/0.1564, allocations: 46.84 kB / 0.4922 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.018e-05/0.1564, allocations: 23.42 kB / 0.4922 GB, free: 13.65 MB / 382.1 MB Notification: Performance of SimCode: time 1.523e-06/0.1564, allocations: 0 / 0.4922 GB, free: 13.65 MB / 382.1 MB Notification: Performance of Templates: time 0.006308/0.1627, allocations: 2.838 MB / 0.495 GB, free: 10.84 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches