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.001642/0.001642, allocations: 175.1 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 221.5 MB / 230.7 MB, free: 7.562 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.0009149/0.000915, allocations: 89.73 kB / 281.6 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2085/0.2085, allocations: 44.14 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.935e-05/1.938e-05, allocations: 4 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1415, allocations: 61.91 MB / 0.4947 GB, free: 1.242 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.039/1.18, allocations: 377.4 MB / 0.8632 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/1.181, allocations: 71.97 kB / 0.8633 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04426/1.225, allocations: 19.23 MB / 0.8821 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.803e-06/1.225, allocations: 0 / 0.8821 GB, free: 9.348 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.39e-05/1.225, allocations: 0 / 0.8821 GB, free: 9.348 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.001075/1.226, allocations: 0.5572 MB / 0.8826 GB, free: 8.742 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.226, allocations: 11.98 kB / 0.8826 GB, free: 8.73 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/1.226, allocations: 27.8 kB / 0.8826 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002836/1.227, allocations: 222.7 kB / 0.8829 GB, free: 8.445 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001303/1.227, allocations: 119.4 kB / 0.883 GB, free: 8.305 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/1.227, allocations: 15.95 kB / 0.883 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008631/1.228, allocations: 0.719 MB / 0.8837 GB, free: 7.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/1.228, allocations: 274.6 kB / 0.8839 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/1.228, allocations: 7.938 kB / 0.884 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/1.228, allocations: 0 / 0.884 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/1.228, allocations: 4 kB / 0.884 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003882/1.232, allocations: 3.5 MB / 0.8874 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/1.232, allocations: 50.58 kB / 0.8874 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/1.232, allocations: 20.89 kB / 0.8874 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007089/1.233, allocations: 446.1 kB / 0.8879 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/1.233, allocations: 34.56 kB / 0.8879 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 2.896e-06/1.233, allocations: 0 / 0.8879 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.00032/1.234, allocations: 61.45 kB / 0.888 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/1.234, allocations: 51.41 kB / 0.888 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/1.234, allocations: 217.8 kB / 0.8882 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/1.234, allocations: 25.7 kB / 0.8882 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/1.234, allocations: 246.1 kB / 0.8885 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.848e-05/1.234, allocations: 19.86 kB / 0.8885 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.188e-05/1.234, allocations: 0 / 0.8885 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.234, allocations: 326.8 kB / 0.8888 GB, free: 1.598 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.91e-05/1.234, allocations: 36.91 kB / 0.8888 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/1.235, allocations: 340.1 kB / 0.8892 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/1.235, allocations: 115.8 kB / 0.8893 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/1.235, allocations: 4 kB / 0.8893 GB, free: 0.9609 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000759/1.236, allocations: 337.7 kB / 0.8896 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/1.236, allocations: 8 kB / 0.8896 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/1.236, allocations: 12 kB / 0.8896 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.975e-05/1.236, allocations: 16 kB / 0.8896 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/1.236, allocations: 103.8 kB / 0.8897 GB, free: 500 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.433e-05/1.236, allocations: 23.88 kB / 0.8898 GB, free: 476 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003349/1.237, allocations: 47.75 kB / 0.8898 GB, free: 428 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/1.237, allocations: 36 kB / 0.8898 GB, free: 392 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 0.000114/1.237, allocations: 124.7 kB / 0.89 GB, free: 260 kB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.654e-05/1.237, allocations: 15.81 kB / 0.89 GB, free: 244 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/1.237, allocations: 17.17 kB / 0.89 GB, free: 224 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/1.237, allocations: 0 / 0.89 GB, free: 224 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.237, allocations: 0 / 0.89 GB, free: 224 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.237, allocations: 7.891 kB / 0.89 GB, free: 216 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/1.237, allocations: 174.2 kB / 0.8902 GB, free: 4 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.237, allocations: 0 / 0.8902 GB, free: 4 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.506e-05/1.577, allocations: 4.547 kB / 0.8902 GB, free: 180.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/1.577, allocations: 1.125 kB / 0.8902 GB, free: 180.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/1.577, allocations: 0 / 0.8902 GB, free: 180.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.577, allocations: 1.188 kB / 0.8902 GB, free: 180.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/1.577, allocations: 0 / 0.8902 GB, free: 180.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/1.577, allocations: 149.6 kB / 0.8903 GB, free: 180.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/1.578, allocations: 105.2 kB / 0.8904 GB, free: 180.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.659e-05/1.578, allocations: 1.719 kB / 0.8904 GB, free: 180.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/1.578, allocations: 4.156 kB / 0.8904 GB, free: 180.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/1.578, allocations: 4.656 kB / 0.8904 GB, free: 180.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/1.578, allocations: 2.312 kB / 0.8904 GB, free: 180.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001942/1.578, allocations: 148.5 kB / 0.8906 GB, free: 180.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.382e-06/1.578, allocations: 0 / 0.8906 GB, free: 180.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007903/1.579, allocations: 89.25 kB / 0.8907 GB, free: 180.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0003147/1.579, allocations: 154 kB / 0.8908 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003462/1.58, allocations: 132.3 kB / 0.8909 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.58, allocations: 0 / 0.8909 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.578e-06/1.58, allocations: 2.656 kB / 0.8909 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/1.58, allocations: 15.5 kB / 0.8909 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01161/1.591, allocations: 4.2 MB / 0.895 GB, free: 180.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002469/1.592, allocations: 0.7248 MB / 0.8958 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002813/1.592, allocations: 45.5 kB / 0.8958 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/1.592, allocations: 20.64 kB / 0.8958 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.523e-06/1.592, allocations: 0 / 0.8958 GB, free: 179.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.006984/1.599, allocations: 2.175 MB / 0.8979 GB, free: 179.3 MB / 0.5105 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