Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00162/0.00162, allocations: 172.5 kB / 8.147 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001275/0.001275, allocations: 92.98 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3245/0.3245, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.627e-06/8.846e-06, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2983, allocations: 58.83 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.254/6.553, allocations: 2.781 GB / 3.246 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/6.553, allocations: 81.58 kB / 3.246 GB, free: 4.34 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.199/8.752, allocations: 435.8 MB / 3.672 GB, free: 57.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.627e-05/8.752, allocations: 16.28 kB / 3.672 GB, free: 57.52 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.008551/8.761, allocations: 1.763 MB / 3.674 GB, free: 56.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/8.761, allocations: 11.19 kB / 3.674 GB, free: 56.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004144/8.765, allocations: 353.1 kB / 3.674 GB, free: 56.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001794/8.767, allocations: 0.5676 MB / 3.675 GB, free: 56.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/8.767, allocations: 29.84 kB / 3.675 GB, free: 56.52 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/8.767, allocations: 30.41 kB / 3.675 GB, free: 56.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001577/8.769, allocations: 0.5405 MB / 3.675 GB, free: 56.51 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/8.77, allocations: 0.6621 MB / 3.676 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.755e-05/8.771, allocations: 2.672 kB / 3.676 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/8.771, allocations: 7.047 kB / 3.676 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/8.771, allocations: 22.19 kB / 3.676 GB, free: 56.32 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03406/8.805, allocations: 12.12 MB / 3.688 GB, free: 48.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009019/8.806, allocations: 327.1 kB / 3.688 GB, free: 48.46 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005337/8.806, allocations: 230 kB / 3.688 GB, free: 48.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.198/9.004, allocations: 55.7 MB / 3.743 GB, free: 29.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.666e-05/9.004, allocations: 41.48 kB / 3.743 GB, free: 29.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 4.178e-06/9.004, allocations: 2.906 kB / 3.743 GB, free: 29.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51): time 0.01051/9.015, allocations: 1.84 MB / 3.744 GB, free: 29.15 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/9.015, allocations: 114.7 kB / 3.745 GB, free: 29.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007178/9.016, allocations: 380.6 kB / 3.745 GB, free: 28.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.593e-05/9.016, allocations: 25.7 kB / 3.745 GB, free: 28.87 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/9.016, allocations: 312.7 kB / 3.745 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/9.016, allocations: 170.1 kB / 3.745 GB, free: 28.51 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.279e-05/9.016, allocations: 0 / 3.745 GB, free: 28.51 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001701/9.017, allocations: 333 kB / 3.746 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/9.017, allocations: 221.1 kB / 3.746 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006976/9.018, allocations: 373 kB / 3.746 GB, free: 28.02 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/9.02, allocations: 361.7 kB / 3.747 GB, free: 28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/9.02, allocations: 0 / 3.747 GB, free: 28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.005445/9.026, allocations: 1.091 MB / 3.748 GB, free: 27.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009174/9.027, allocations: 1.745 MB / 3.749 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/9.027, allocations: 9.109 kB / 3.749 GB, free: 26.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002076/9.029, allocations: 301.3 kB / 3.75 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/9.03, allocations: 141.4 kB / 3.75 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003166/9.033, allocations: 1.016 MB / 3.751 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/9.034, allocations: 85.39 kB / 3.751 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/9.034, allocations: 39.53 kB / 3.751 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/9.034, allocations: 6.5 kB / 3.751 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00331/9.038, allocations: 0.7505 MB / 3.752 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/9.038, allocations: 3.969 kB / 3.752 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002064/9.04, allocations: 272.8 kB / 3.752 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009703/9.041, allocations: 151.7 kB / 3.752 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/9.043, allocations: 0.9113 MB / 3.753 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/9.044, allocations: 79.52 kB / 3.753 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.4e-05/9.044, allocations: 37 kB / 3.753 GB, free: 24.96 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002849/9.045, allocations: 56.33 kB / 3.753 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/9.046, allocations: 265.7 kB / 3.753 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005156/9.051, allocations: 2.586 MB / 3.756 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.046e-05/9.051, allocations: 33.44 kB / 3.756 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/9.051, allocations: 3.906 kB / 3.756 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/9.051, allocations: 9.984 kB / 3.756 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006217/9.057, allocations: 3.452 MB / 3.759 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/9.058, allocations: 0 / 3.759 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/9.059, allocations: 154.5 kB / 3.76 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003615/9.059, allocations: 71.33 kB / 3.76 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/9.059, allocations: 14.38 kB / 3.76 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001092/9.06, allocations: 1.217 MB / 3.761 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/9.06, allocations: 0 / 3.761 GB, free: 23.15 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005572/9.066, allocations: 2.694 MB / 3.763 GB, free: 22.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006433/9.067, allocations: 262.5 kB / 3.764 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/9.067, allocations: 7.812 kB / 3.764 GB, free: 22.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/9.068, allocations: 70.7 kB / 3.764 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001838/9.068, allocations: 63.16 kB / 3.764 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-05/9.068, allocations: 22.12 kB / 3.764 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0005889/9.069, allocations: 341.6 kB / 3.764 GB, free: 22.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007527/9.076, allocations: 1.366 MB / 3.765 GB, free: 22.39 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 19 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01254/9.089, allocations: 1.87 MB / 3.767 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004974/9.094, allocations: 1.554 MB / 3.769 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/9.094, allocations: 3.328 kB / 3.769 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002396/9.096, allocations: 1.105 MB / 3.77 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/9.099, allocations: 272.2 kB / 3.77 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/9.104, allocations: 1.902 MB / 3.772 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/9.105, allocations: 1.152 MB / 3.773 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.283e-06/9.105, allocations: 0 / 3.773 GB, free: 20.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.08406/9.19, allocations: 38.82 MB / 3.811 GB, free: 4.242 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpStorage/TestWaterPumpStorage.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches