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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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") [: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 trunk/package.mo): time 0.001784/0.001784, allocations: 199.8 kB / 8.536 MB, free: 1.77 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 225.5 MB / 234.4 MB, free: 3.43 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008512/0.0008512, allocations: 95.64 kB / 286.3 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1822/0.1822, allocations: 45.14 MB / 383.3 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.087e-06/9.367e-06, allocations: 0 / 452.6 MB, free: 76.22 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1269, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7931/0.92, allocations: 378.4 MB / 0.8733 GB, free: 78.36 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001837/0.9203, allocations: 72.2 kB / 0.8734 GB, free: 78.32 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.04092/0.9612, allocations: 19.09 MB / 0.892 GB, free: 62.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.55e-05/0.9612, allocations: 4 kB / 0.892 GB, free: 62.69 MB / 0.5261 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.0009184/0.9622, allocations: 0.5643 MB / 0.8926 GB, free: 62.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.9622, allocations: 8.031 kB / 0.8926 GB, free: 62.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.9624, allocations: 31.41 kB / 0.8926 GB, free: 62.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.9626, allocations: 222.5 kB / 0.8928 GB, free: 61.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.9628, allocations: 111.3 kB / 0.8929 GB, free: 61.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.967e-05/0.9628, allocations: 16 kB / 0.8929 GB, free: 61.66 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006353/0.9634, allocations: 0.709 MB / 0.8936 GB, free: 61.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.9638, allocations: 283.6 kB / 0.8939 GB, free: 60.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.9638, allocations: 3.906 kB / 0.8939 GB, free: 60.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.9638, allocations: 0 / 0.8939 GB, free: 60.81 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.9638, allocations: 8 kB / 0.8939 GB, free: 60.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.9661, allocations: 3.51 MB / 0.8973 GB, free: 56.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.671e-05/0.9662, allocations: 50.3 kB / 0.8974 GB, free: 56.83 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.9662, allocations: 16.73 kB / 0.8974 GB, free: 56.81 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003942/0.9666, allocations: 441.2 kB / 0.8978 GB, free: 56.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.9666, allocations: 38.78 kB / 0.8978 GB, free: 56.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.9667, allocations: 0 / 0.8978 GB, free: 56.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001909/0.9669, allocations: 49.42 kB / 0.8979 GB, free: 56.25 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.742e-05/0.9669, allocations: 55.41 kB / 0.8979 GB, free: 56.19 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.967, allocations: 215.4 kB / 0.8982 GB, free: 56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.9671, allocations: 29.69 kB / 0.8982 GB, free: 55.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.9671, allocations: 249.3 kB / 0.8984 GB, free: 55.74 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.9672, allocations: 15.83 kB / 0.8984 GB, free: 55.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.677e-06/0.9672, allocations: 3.938 kB / 0.8984 GB, free: 55.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.158e-05/0.9672, allocations: 326.1 kB / 0.8988 GB, free: 55.41 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.851e-05/0.9673, allocations: 40.23 kB / 0.8988 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.9674, allocations: 335.4 kB / 0.8991 GB, free: 54.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003298/0.9678, allocations: 119 kB / 0.8992 GB, free: 54.81 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.9678, allocations: 4 kB / 0.8992 GB, free: 54.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005799/0.9684, allocations: 336.9 kB / 0.8995 GB, free: 54.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.9684, allocations: 12.03 kB / 0.8996 GB, free: 54.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.9684, allocations: 8 kB / 0.8996 GB, free: 54.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.9684, allocations: 19.91 kB / 0.8996 GB, free: 54.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.9687, allocations: 99.83 kB / 0.8997 GB, free: 54.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.9687, allocations: 23.86 kB / 0.8997 GB, free: 54.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.969, allocations: 47.44 kB / 0.8997 GB, free: 54.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.969, allocations: 31.94 kB / 0.8998 GB, free: 54.27 MB / 0.5261 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 6.595e-05/0.9691, allocations: 128.7 kB / 0.8999 GB, free: 54.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.9691, allocations: 19.72 kB / 0.8999 GB, free: 54.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.498e-05/0.9691, allocations: 20.55 kB / 0.8999 GB, free: 54.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.9692, allocations: 3.984 kB / 0.8999 GB, free: 54.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.9692, allocations: 0 / 0.8999 GB, free: 54.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.9692, allocations: 0 / 0.8999 GB, free: 54.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.9693, allocations: 173.5 kB / 0.9001 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9693, allocations: 4 kB / 0.9001 GB, free: 53.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.9693, allocations: 0 / 0.9001 GB, free: 53.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.9693, allocations: 0 / 0.9001 GB, free: 53.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.9693, allocations: 0 / 0.9001 GB, free: 53.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.9693, allocations: 7.906 kB / 0.9001 GB, free: 53.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.9693, allocations: 3.938 kB / 0.9001 GB, free: 53.89 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.913e-05/0.9695, allocations: 151.2 kB / 0.9003 GB, free: 53.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.31e-05/0.9695, allocations: 108.7 kB / 0.9004 GB, free: 53.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.9696, allocations: 4 kB / 0.9004 GB, free: 53.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.9697, allocations: 0 / 0.9004 GB, free: 53.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.9697, allocations: 0 / 0.9004 GB, free: 53.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.9697, allocations: 8.016 kB / 0.9004 GB, free: 53.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.284e-05/0.9698, allocations: 148.2 kB / 0.9005 GB, free: 53.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004701/0.9703, allocations: 83.94 kB / 0.9006 GB, free: 53.39 MB / 0.5261 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.0002086/0.9705, allocations: 155 kB / 0.9008 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002373/0.9708, allocations: 138 kB / 0.9009 GB, free: 53.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9708, allocations: 3.938 kB / 0.9009 GB, free: 53.12 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 1.822e-05/0.9708, allocations: 7.984 kB / 0.9009 GB, free: 53.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.971, allocations: 23.44 kB / 0.9009 GB, free: 53.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008877/0.9799, allocations: 4.279 MB / 0.9051 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.9801, allocations: 0.7475 MB / 0.9058 GB, free: 48.98 MB / 0.5261 GB Notification: Performance of SimCode: time 9.42e-07/0.9801, allocations: 0 / 0.9058 GB, free: 48.98 MB / 0.5261 GB Notification: Performance of Templates: time 0.005113/0.9852, allocations: 2.55 MB / 0.9083 GB, free: 46.46 MB / 0.5261 GB 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","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches