Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") [: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 3.2.3+maint.om/package.mo): time 0.0009823/0.0009823, allocations: 192.2 kB / 7.804 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.046/1.046, allocations: 205.2 MB / 213.4 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008714/0.0008714, allocations: 83.39 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1567/0.1567, allocations: 43.49 MB / 352.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.522e-06/6.622e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2311, allocations: 58.84 MB / 476.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.754/3.985, allocations: 2.781 GB / 3.246 GB, free: 69.21 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001937/3.985, allocations: 82.11 kB / 3.246 GB, free: 69.13 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.106/5.091, allocations: 436.2 MB / 3.672 GB, free: 19.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.088e-05/5.092, allocations: 17.66 kB / 3.672 GB, free: 19.77 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.005876/5.097, allocations: 1.771 MB / 3.674 GB, free: 17.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/5.097, allocations: 8.031 kB / 3.674 GB, free: 17.94 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/5.1, allocations: 350.7 kB / 3.674 GB, free: 17.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/5.101, allocations: 0.5788 MB / 3.675 GB, free: 16.99 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.7e-05/5.101, allocations: 24 kB / 3.675 GB, free: 16.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/5.101, allocations: 32 kB / 3.675 GB, free: 16.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009003/5.102, allocations: 0.5453 MB / 3.676 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009195/5.103, allocations: 0.6699 MB / 3.676 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/5.103, allocations: 0 / 3.676 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-05/5.103, allocations: 7.938 kB / 3.676 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/5.103, allocations: 21 kB / 3.676 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01743/5.121, allocations: 12.12 MB / 3.688 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/5.122, allocations: 339 kB / 3.688 GB, free: 1.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/5.122, allocations: 230.3 kB / 3.689 GB, free: 1.684 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2542/5.376, allocations: 55.71 MB / 3.743 GB, free: 90.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/5.376, allocations: 37.53 kB / 3.743 GB, free: 90.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 2.705e-06/5.376, allocations: 0 / 3.743 GB, free: 90.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51): time 0.006321/5.382, allocations: 1.869 MB / 3.745 GB, free: 89.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/5.383, allocations: 109.3 kB / 3.745 GB, free: 89.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005175/5.383, allocations: 376.4 kB / 3.745 GB, free: 89.54 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.841e-05/5.383, allocations: 29.58 kB / 3.745 GB, free: 89.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/5.383, allocations: 272.2 kB / 3.746 GB, free: 89.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/5.383, allocations: 171.1 kB / 3.746 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/5.383, allocations: 0 / 3.746 GB, free: 89.27 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.399e-05/5.384, allocations: 365.6 kB / 3.746 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000316/5.384, allocations: 218.5 kB / 3.746 GB, free: 88.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/5.384, allocations: 379.2 kB / 3.747 GB, free: 88.77 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/5.385, allocations: 357.7 kB / 3.747 GB, free: 88.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/5.385, allocations: 3.688 kB / 3.747 GB, free: 88.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002835/5.388, allocations: 1.119 MB / 3.748 GB, free: 88.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000296/5.389, allocations: 1.744 MB / 3.75 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/5.389, allocations: 3.281 kB / 3.75 GB, free: 86.88 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/5.39, allocations: 315.1 kB / 3.75 GB, free: 86.87 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/5.39, allocations: 141.7 kB / 3.75 GB, free: 86.87 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/5.392, allocations: 1.019 MB / 3.751 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007773/5.393, allocations: 85.75 kB / 3.751 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/5.393, allocations: 40.36 kB / 3.751 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/5.393, allocations: 3.969 kB / 3.751 GB, free: 86.34 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001824/5.395, allocations: 0.7681 MB / 3.752 GB, free: 86.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/5.395, allocations: 7.094 kB / 3.752 GB, free: 86.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/5.396, allocations: 297.4 kB / 3.752 GB, free: 86.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004603/5.396, allocations: 137.8 kB / 3.753 GB, free: 86.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/5.398, allocations: 0.9464 MB / 3.754 GB, free: 85.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006527/5.398, allocations: 83.33 kB / 3.754 GB, free: 85.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/5.398, allocations: 33.02 kB / 3.754 GB, free: 85.78 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 (56): * Single equations (assignments): 55 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0001539/5.398, allocations: 120.6 kB / 3.754 GB, free: 85.67 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00072/5.399, allocations: 275.2 kB / 3.754 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002814/5.402, allocations: 2.592 MB / 3.757 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-05/5.402, allocations: 37.77 kB / 3.757 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/5.402, allocations: 0 / 3.757 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/5.402, allocations: 3.281 kB / 3.757 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/5.406, allocations: 3.477 MB / 3.76 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/5.406, allocations: 0 / 3.76 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006867/5.406, allocations: 153.5 kB / 3.76 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002139/5.407, allocations: 75.16 kB / 3.76 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/5.407, allocations: 14.59 kB / 3.76 GB, free: 85.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004907/5.407, allocations: 1.209 MB / 3.761 GB, free: 83.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/5.407, allocations: 6.188 kB / 3.761 GB, free: 83.94 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003218/5.41, allocations: 2.708 MB / 3.764 GB, free: 83.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004259/5.411, allocations: 266 kB / 3.764 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/5.411, allocations: 7.531 kB / 3.764 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005932/5.412, allocations: 65.11 kB / 3.764 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/5.412, allocations: 69.89 kB / 3.764 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.024e-05/5.412, allocations: 24.97 kB / 3.764 GB, free: 83.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003266/5.412, allocations: 341.7 kB / 3.765 GB, free: 83.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005034/5.417, allocations: 1.364 MB / 3.766 GB, free: 83.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,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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 (63): * Single equations (assignments): 53 * 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.007978/5.425, allocations: 1.882 MB / 3.768 GB, free: 83.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002638/5.428, allocations: 1.596 MB / 3.77 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/5.428, allocations: 2.75 kB / 3.77 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/5.429, allocations: 1.11 MB / 3.771 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/5.43, allocations: 259 kB / 3.771 GB, free: 83.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/5.433, allocations: 1.892 MB / 3.773 GB, free: 82.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006486/5.434, allocations: 1.154 MB / 3.774 GB, free: 82.17 MB / 0.5105 GB Notification: Performance of SimCode: time 3.41e-07/5.434, allocations: 4 kB / 3.774 GB, free: 82.17 MB / 0.5105 GB Notification: Performance of Templates: time 0.05445/5.488, allocations: 45.46 MB / 3.818 GB, free: 79.34 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpPowerCharacteristic/TestWaterPumpPowerCharacteristic.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches