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.00114/0.00114, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00212/0.00212, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2177/0.2177, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 73.41 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.171, allocations: 62.45 MB / 480 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007781/0.1788, allocations: 4.588 MB / 484.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006074/0.1849, allocations: 4.01 MB / 488.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.1852, allocations: 4 kB / 488.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004857/0.1858, allocations: 51.61 kB / 488.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002495/0.1883, allocations: 0.7266 MB / 489.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1887, allocations: 139.4 kB / 489.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000534/0.1892, allocations: 382.1 kB / 489.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.024e-05/0.1893, allocations: 13.67 kB / 489.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.1895, allocations: 139.5 kB / 490.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.1897, allocations: 151.4 kB / 490.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.1898, allocations: 8 kB / 490.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009804/0.1908, allocations: 427.5 kB / 490.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.461e-05/0.1909, allocations: 39.83 kB / 490.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.191, allocations: 107.5 kB / 490.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007503/0.1917, allocations: 471.1 kB / 491.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1918, allocations: 0 / 491.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1918, allocations: 0 / 491.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.333e-06/0.1918, allocations: 0 / 491.2 MB, free: 10.02 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.001251/0.193, allocations: 0.5969 MB / 491.8 MB, free: 9.371 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.1931, allocations: 8.031 kB / 491.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.1933, allocations: 28.73 kB / 491.9 MB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/0.1936, allocations: 224 kB / 492.1 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.1938, allocations: 123.9 kB / 492.2 MB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.1938, allocations: 24.38 kB / 492.2 MB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005784/0.1944, allocations: 327.6 kB / 492.5 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1944, allocations: 0 / 492.5 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.1945, allocations: 19.92 kB / 492.6 MB, free: 8.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.1945, allocations: 8 kB / 492.6 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008697/0.1954, allocations: 0.7391 MB / 493.3 MB, free: 7.797 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.001493/0.1969, allocations: 1.304 MB / 494.6 MB, free: 6.375 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.1972, allocations: 155.8 kB / 494.8 MB, free: 6.215 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.1974, allocations: 93.41 kB / 494.9 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003014/0.2004, allocations: 2.806 MB / 497.7 MB, free: 2.785 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.2005, allocations: 30.56 kB / 497.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.2005, allocations: 0 / 497.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003252/0.2008, allocations: 129.2 kB / 497.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.2009, allocations: 51.41 kB / 497.9 MB, free: 2.551 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.2011, allocations: 225.2 kB / 498.1 MB, free: 2.324 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.2011, allocations: 29.7 kB / 498.1 MB, free: 2.289 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.2013, allocations: 214.6 kB / 498.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.567e-05/0.2013, allocations: 43.39 kB / 498.4 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.156e-05/0.2014, allocations: 89.94 kB / 498.5 MB, free: 1.938 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2016, allocations: 330.8 kB / 498.8 MB, free: 1.605 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/0.2017, allocations: 44.84 kB / 498.8 MB, free: 1.562 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.202, allocations: 343.2 kB / 499.2 MB, free: 1.082 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.2024, allocations: 452.5 kB / 499.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.2024, allocations: 0 / 499.6 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005369/0.203, allocations: 381.6 kB / 500 MB, free: 116 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.203, allocations: 11.94 kB / 500 MB, free: 104 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.203, allocations: 12 kB / 0.4883 GB, free: 92 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.596e-05/0.2031, allocations: 19.88 kB / 0.4883 GB, free: 72 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.2033, allocations: 99.83 kB / 0.4884 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.2034, allocations: 15.94 kB / 0.4884 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002138/0.2036, allocations: 55.44 kB / 0.4885 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.394e-05/0.2036, allocations: 31.98 kB / 0.4885 GB, free: 15.87 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.000135/0.2038, allocations: 157.8 kB / 0.4886 GB, free: 15.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.2038, allocations: 15.81 kB / 0.4887 GB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.2041, allocations: 140.5 kB / 0.4888 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.2041, allocations: 3.938 kB / 0.4888 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.2041, allocations: 7.984 kB / 0.4888 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2041, allocations: 0 / 0.4888 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004527/0.2046, allocations: 400.9 kB / 0.4892 GB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.2046, allocations: 4 kB / 0.4892 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.2047, allocations: 15.94 kB / 0.4892 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2047, allocations: 8.094 kB / 0.4892 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2047, allocations: 3.984 kB / 0.4892 GB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.2047, allocations: 4 kB / 0.4892 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2047, allocations: 4.062 kB / 0.4892 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.2049, allocations: 205.8 kB / 0.4894 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.641e-05/0.205, allocations: 104.8 kB / 0.4895 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.2051, allocations: 4 kB / 0.4895 GB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2052, allocations: 4 kB / 0.4895 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.2052, allocations: 7.984 kB / 0.4895 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.2053, allocations: 4 kB / 0.4895 GB, free: 14.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.2054, allocations: 156.5 kB / 0.4897 GB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2054, allocations: 0 / 0.4897 GB, free: 14.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004902/0.2059, allocations: 95.92 kB / 0.4898 GB, free: 14.43 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.000383/0.2063, allocations: 159.1 kB / 0.4899 GB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.2066, allocations: 177.8 kB / 0.4901 GB, free: 14.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.2066, allocations: 7.938 kB / 0.4901 GB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.519e-05/0.2067, allocations: 23.92 kB / 0.4901 GB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.2071, allocations: 50.86 kB / 0.4902 GB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.2081, allocations: 0.5308 MB / 0.4907 GB, free: 13.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000348/0.2085, allocations: 0.7245 MB / 0.4914 GB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.2087, allocations: 59.3 kB / 0.4915 GB, free: 12.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.2088, allocations: 27.44 kB / 0.4915 GB, free: 12.61 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.2088, allocations: 0 / 0.4915 GB, free: 12.61 MB / 382.1 MB Notification: Performance of Templates: time 0.007178/0.216, allocations: 3.095 MB / 0.4945 GB, free: 9.543 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