Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,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.ConstantPropertyLiquidWater") [: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.001423/0.001423, allocations: 192.1 kB / 8.534 MB, free: 1.824 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 225.5 MB / 234.4 MB, free: 3.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009913/0.0009912, allocations: 94.55 kB / 286.3 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1989/0.1989, allocations: 45.14 MB / 383.3 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 9.087e-06/9.097e-06, allocations: 0 / 452.6 MB, free: 76.18 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1337, allocations: 63.24 MB / 0.5038 GB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7756/0.9093, allocations: 301.4 MB / 0.7981 GB, free: 172.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.9096, allocations: 67.97 kB / 0.7981 GB, free: 172.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.04305/0.9527, allocations: 20.52 MB / 0.8182 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.9527, allocations: 4 kB / 0.8182 GB, free: 151.9 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.0008073/0.9536, allocations: 0.557 MB / 0.8187 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.9536, allocations: 8.031 kB / 0.8187 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.9538, allocations: 31.7 kB / 0.8187 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.954, allocations: 226.8 kB / 0.819 GB, free: 151 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-05/0.9541, allocations: 119.3 kB / 0.8191 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.9541, allocations: 12 kB / 0.8191 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006133/0.9548, allocations: 0.7072 MB / 0.8198 GB, free: 150.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003145/0.9551, allocations: 285.9 kB / 0.8201 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.9551, allocations: 3.906 kB / 0.8201 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.9551, allocations: 8 kB / 0.8201 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.9552, allocations: 4 kB / 0.8201 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.9572, allocations: 3.259 MB / 0.8233 GB, free: 146 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.674e-05/0.9573, allocations: 53.67 kB / 0.8233 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.9573, allocations: 20.86 kB / 0.8233 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.9574, allocations: 166.2 kB / 0.8235 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.9575, allocations: 38.56 kB / 0.8235 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.9575, allocations: 0 / 0.8235 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.000582/0.9581, allocations: 160.9 kB / 0.8237 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.9581, allocations: 59.39 kB / 0.8237 GB, free: 145.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.9582, allocations: 195.7 kB / 0.8239 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.9582, allocations: 29.7 kB / 0.8239 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.9583, allocations: 222.6 kB / 0.8242 GB, free: 145 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.9583, allocations: 39.48 kB / 0.8242 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.9584, allocations: 0 / 0.8242 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.121e-05/0.9584, allocations: 326.8 kB / 0.8245 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.713e-05/0.9585, allocations: 40.95 kB / 0.8245 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001273/0.9586, allocations: 299.4 kB / 0.8248 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.959, allocations: 111.8 kB / 0.8249 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.959, allocations: 4 kB / 0.8249 GB, free: 144 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006171/0.9596, allocations: 325.1 kB / 0.8252 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.9596, allocations: 8 kB / 0.8253 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.9596, allocations: 8 kB / 0.8253 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.9597, allocations: 12.75 kB / 0.8253 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.96, allocations: 111.8 kB / 0.8254 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.96, allocations: 19.94 kB / 0.8254 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.9603, allocations: 15.92 kB / 0.8254 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.9603, allocations: 28 kB / 0.8254 GB, free: 143.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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.728e-05/0.9604, allocations: 120.8 kB / 0.8256 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.9604, allocations: 23.72 kB / 0.8256 GB, free: 143.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.9607, allocations: 104.1 kB / 0.8257 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.9607, allocations: 0 / 0.8257 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.9607, allocations: 3.984 kB / 0.8257 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.9607, allocations: 0 / 0.8257 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.9611, allocations: 380.6 kB / 0.826 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.9611, allocations: 0 / 0.826 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000125/0.9612, allocations: 27.98 kB / 0.8261 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.9612, allocations: 4.188 kB / 0.8261 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.9612, allocations: 7.984 kB / 0.8261 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.9613, allocations: 0 / 0.8261 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9613, allocations: 4.312 kB / 0.8261 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001649/0.9614, allocations: 220.4 kB / 0.8263 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/0.9615, allocations: 112.8 kB / 0.8264 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.236e-05/0.9616, allocations: 7.984 kB / 0.8264 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.9618, allocations: 4 kB / 0.8264 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.9618, allocations: 7.984 kB / 0.8264 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.9618, allocations: 4 kB / 0.8264 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.382e-05/0.9619, allocations: 140.5 kB / 0.8266 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004715/0.9624, allocations: 103.9 kB / 0.8267 GB, free: 142.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.000233/0.9626, allocations: 179 kB / 0.8268 GB, free: 142 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.9628, allocations: 153.4 kB / 0.827 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.9629, allocations: 0 / 0.827 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.616e-05/0.9629, allocations: 19.94 kB / 0.827 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.9632, allocations: 28.27 kB / 0.827 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003712/0.9636, allocations: 190.7 kB / 0.8272 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.9638, allocations: 0.7631 MB / 0.828 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of SimCode: time 2.21e-07/0.9638, allocations: 0 / 0.828 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.005866/0.9697, allocations: 3.258 MB / 0.8311 GB, free: 137.5 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches