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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009634/0.0009634, allocations: 179.3 kB / 8.516 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 221.4 MB / 230.3 MB, free: 7.688 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.000941/0.0009411, allocations: 93.84 kB / 281.2 MB, free: 5.488 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.1741/0.1741, allocations: 44.16 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.033e-06/7.043e-06, allocations: 224 / 444 MB, free: 15.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 61.91 MB / 0.4941 GB, free: 1.602 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7394/0.8485, allocations: 377.3 MB / 0.8626 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.8488, allocations: 71.97 kB / 0.8626 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.04278/0.8916, allocations: 19.02 MB / 0.8812 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.629e-05/0.8916, allocations: 4 kB / 0.8812 GB, free: 10.43 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.001107/0.8927, allocations: 0.5725 MB / 0.8818 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.8928, allocations: 11.97 kB / 0.8818 GB, free: 9.797 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.893, allocations: 27.75 kB / 0.8818 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.8932, allocations: 226.7 kB / 0.882 GB, free: 9.508 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.8934, allocations: 115.3 kB / 0.8821 GB, free: 9.371 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.8934, allocations: 15.98 kB / 0.8822 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008143/0.8942, allocations: 0.715 MB / 0.8829 GB, free: 8.641 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.8946, allocations: 277.9 kB / 0.8831 GB, free: 8.344 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.8946, allocations: 3.938 kB / 0.8831 GB, free: 8.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.8947, allocations: 7.906 kB / 0.8831 GB, free: 8.332 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.398e-05/0.8947, allocations: 4 kB / 0.8831 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003097/0.8978, allocations: 3.504 MB / 0.8866 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.324e-05/0.8979, allocations: 46.66 kB / 0.8866 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.15e-05/0.8979, allocations: 16.92 kB / 0.8866 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004963/0.8985, allocations: 446.1 kB / 0.887 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.8985, allocations: 34.56 kB / 0.8871 GB, free: 3.641 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 2.064e-06/0.8985, allocations: 0 / 0.8871 GB, free: 3.641 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0002083/0.8987, allocations: 61.41 kB / 0.8871 GB, free: 3.574 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.8988, allocations: 51.41 kB / 0.8872 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.899, allocations: 216.8 kB / 0.8874 GB, free: 3.293 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.899, allocations: 29.7 kB / 0.8874 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.8991, allocations: 242.1 kB / 0.8876 GB, free: 3.016 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.494e-05/0.8991, allocations: 19.83 kB / 0.8877 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/0.8991, allocations: 0 / 0.8877 GB, free: 2.996 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.8993, allocations: 326.8 kB / 0.888 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.77e-05/0.8994, allocations: 36.86 kB / 0.888 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002389/0.8996, allocations: 336.2 kB / 0.8883 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.9, allocations: 115.8 kB / 0.8884 GB, free: 2.039 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.9, allocations: 4 kB / 0.8884 GB, free: 2.035 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006537/0.9007, allocations: 342 kB / 0.8888 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.9007, allocations: 11.94 kB / 0.8888 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.9007, allocations: 8 kB / 0.8888 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.137e-05/0.9008, allocations: 16 kB / 0.8888 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.901, allocations: 107.7 kB / 0.8889 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.901, allocations: 23.92 kB / 0.8889 GB, free: 1.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.9013, allocations: 47.44 kB / 0.889 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.9014, allocations: 24 kB / 0.889 GB, free: 1.461 MB / 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 9.276e-05/0.9015, allocations: 128.8 kB / 0.8891 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.9015, allocations: 19.81 kB / 0.8891 GB, free: 1.309 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.9016, allocations: 24.64 kB / 0.8892 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.9016, allocations: 0 / 0.8892 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.9016, allocations: 0 / 0.8892 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.9016, allocations: 0 / 0.8892 GB, free: 1.285 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.9018, allocations: 182.1 kB / 0.8893 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9018, allocations: 0 / 0.8893 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.9018, allocations: 0 / 0.8893 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.9018, allocations: 0 / 0.8893 GB, free: 1.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.9018, allocations: 4 kB / 0.8893 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9018, allocations: 4 kB / 0.8893 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.9018, allocations: 3.906 kB / 0.8894 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001338/0.902, allocations: 151.4 kB / 0.8895 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/0.9021, allocations: 104.8 kB / 0.8896 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.9021, allocations: 4 kB / 0.8896 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.9022, allocations: 0 / 0.8896 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.9023, allocations: 0 / 0.8896 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.9023, allocations: 12.03 kB / 0.8896 GB, free: 0.7578 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.000106/0.9024, allocations: 145.2 kB / 0.8897 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004934/0.9029, allocations: 87.94 kB / 0.8898 GB, free: 0.5312 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.0002276/0.9031, allocations: 151.1 kB / 0.89 GB, free: 384 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002527/0.9034, allocations: 138.3 kB / 0.8901 GB, free: 248 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9034, allocations: 0 / 0.8901 GB, free: 248 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.039e-05/0.9034, allocations: 4 kB / 0.8901 GB, free: 244 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.9036, allocations: 24.25 kB / 0.8901 GB, free: 220 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1739/1.078, allocations: 4.214 MB / 0.8943 GB, free: 242.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/1.078, allocations: 0.7536 MB / 0.895 GB, free: 241.4 MB / 0.5105 GB Notification: Performance of SimCode: time 9.42e-07/1.078, allocations: 2.344 kB / 0.895 GB, free: 241.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.005509/1.083, allocations: 2.552 MB / 0.8975 GB, free: 241.4 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