Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 221.3 MB / 236 MB, free: 2.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008442/0.0008443, allocations: 85.88 kB / 287 MB, free: 188 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1837/0.1837, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.429e-05/2.43e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1233, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8855/1.009, allocations: 378.1 MB / 0.8709 GB, free: 31.51 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/1.009, allocations: 75.02 kB / 0.871 GB, free: 31.47 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.04033/1.049, allocations: 19.33 MB / 0.8898 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.563e-06/1.05, allocations: 4 kB / 0.8899 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.468e-05/1.05, allocations: 4 kB / 0.8899 GB, free: 13.73 MB / 0.5105 GB 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.0008908/1.05, allocations: 0.5571 MB / 0.8904 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/1.051, allocations: 8.031 kB / 0.8904 GB, free: 13.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001292/1.051, allocations: 23.81 kB / 0.8904 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/1.051, allocations: 226.7 kB / 0.8906 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.519e-05/1.051, allocations: 135.2 kB / 0.8908 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/1.051, allocations: 24 kB / 0.8908 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/1.051, allocations: 307.8 kB / 0.8911 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/1.051, allocations: 3.938 kB / 0.8911 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/1.051, allocations: 12 kB / 0.8911 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/1.051, allocations: 8 kB / 0.8911 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005669/1.052, allocations: 0.7313 MB / 0.8918 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009739/1.053, allocations: 1.217 MB / 0.893 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/1.053, allocations: 159.8 kB / 0.8932 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/1.053, allocations: 81.5 kB / 0.8932 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001803/1.055, allocations: 3.015 MB / 0.8962 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/1.055, allocations: 38.55 kB / 0.8962 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/1.055, allocations: 0 / 0.8962 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0002226/1.055, allocations: 101.5 kB / 0.8963 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.441e-05/1.056, allocations: 51.41 kB / 0.8964 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/1.056, allocations: 193.8 kB / 0.8966 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/1.056, allocations: 29.7 kB / 0.8966 GB, free: 6.047 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.041e-05/1.056, allocations: 214.9 kB / 0.8968 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/1.056, allocations: 59.28 kB / 0.8968 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/1.056, allocations: 8 kB / 0.8969 GB, free: 5.766 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.21e-05/1.056, allocations: 326.8 kB / 0.8972 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.345e-05/1.056, allocations: 48.86 kB / 0.8972 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/1.056, allocations: 324.9 kB / 0.8975 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/1.056, allocations: 104.2 kB / 0.8976 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.056, allocations: 0 / 0.8976 GB, free: 4.828 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004445/1.057, allocations: 373.1 kB / 0.898 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.057, allocations: 11.94 kB / 0.898 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.057, allocations: 12 kB / 0.898 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/1.057, allocations: 16 kB / 0.898 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002167/1.057, allocations: 96.55 kB / 0.8981 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/1.057, allocations: 23.92 kB / 0.8981 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002112/1.057, allocations: 55.44 kB / 0.8982 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/1.057, allocations: 32 kB / 0.8982 GB, free: 4.215 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 7.434e-05/1.057, allocations: 136.7 kB / 0.8983 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/1.057, allocations: 15.81 kB / 0.8984 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/1.058, allocations: 169.6 kB / 0.8985 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/1.058, allocations: 0 / 0.8985 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.058, allocations: 8 kB / 0.8985 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.058, allocations: 0 / 0.8985 GB, free: 3.867 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/1.058, allocations: 429.7 kB / 0.8989 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.058, allocations: 0 / 0.8989 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/1.058, allocations: 15.94 kB / 0.899 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.058, allocations: 4 kB / 0.899 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/1.058, allocations: 8.125 kB / 0.899 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/1.058, allocations: 4 kB / 0.899 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/1.058, allocations: 0 / 0.899 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/1.058, allocations: 261.4 kB / 0.8992 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/1.058, allocations: 116.8 kB / 0.8993 GB, free: 2.906 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.979e-05/1.058, allocations: 3.984 kB / 0.8993 GB, free: 2.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/1.059, allocations: 8 kB / 0.8993 GB, free: 2.895 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/1.059, allocations: 4 kB / 0.8993 GB, free: 2.891 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-06/1.059, allocations: 11.98 kB / 0.8994 GB, free: 2.879 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.409e-05/1.059, allocations: 153.4 kB / 0.8995 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.01e-07/1.059, allocations: 3.938 kB / 0.8995 GB, free: 2.727 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004282/1.059, allocations: 96.06 kB / 0.8996 GB, free: 2.633 MB / 0.5105 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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.0001935/1.059, allocations: 167.1 kB / 0.8998 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002181/1.06, allocations: 160.7 kB / 0.8999 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.06, allocations: 0 / 0.8999 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.41e-05/1.06, allocations: 37.48 kB / 0.8999 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/1.06, allocations: 42.5 kB / 0.9 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.07, allocations: 4.923 MB / 0.9048 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/1.07, allocations: 0.7326 MB / 0.9055 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002394/1.071, allocations: 53.92 kB / 0.9056 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/1.071, allocations: 27.42 kB / 0.9056 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of SimCode: time 9.32e-07/1.071, allocations: 3.938 kB / 0.9056 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.005591/1.076, allocations: 2.821 MB / 0.9083 GB, free: 9.605 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches