Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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 4.0.0+maint.om/package.mo): time 0.000989/0.0009891, allocations: 176.1 kB / 8.518 MB, free: 1.855 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.303/1.303, allocations: 221.4 MB / 230.3 MB, free: 7.68 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.0009107/0.0009107, allocations: 91.17 kB / 281.2 MB, free: 5.504 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.1979/0.1979, allocations: 44.14 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.146e-06/8.165e-06, allocations: 0 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1457, allocations: 61.92 MB / 0.4941 GB, free: 1.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.456/6.602, allocations: 2.786 GB / 3.281 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/6.603, allocations: 78.73 kB / 3.281 GB, free: 156.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.466/8.069, allocations: 440.8 MB / 3.711 GB, free: 64.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.108e-05/8.069, allocations: 22.81 kB / 3.711 GB, free: 64.59 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.006902/8.076, allocations: 1.768 MB / 3.713 GB, free: 63.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/8.076, allocations: 11.44 kB / 3.713 GB, free: 63.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002721/8.079, allocations: 344.3 kB / 3.713 GB, free: 63.79 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/8.08, allocations: 0.5747 MB / 3.714 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/8.08, allocations: 27.75 kB / 3.714 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.38e-05/8.08, allocations: 31.97 kB / 3.714 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009177/8.081, allocations: 0.5531 MB / 3.714 GB, free: 63.54 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009196/8.082, allocations: 0.6673 MB / 3.715 GB, free: 63.35 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/8.082, allocations: 3.5 kB / 3.715 GB, free: 63.35 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/8.082, allocations: 7.203 kB / 3.715 GB, free: 63.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.375e-05/8.082, allocations: 22.66 kB / 3.715 GB, free: 63.35 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01916/8.101, allocations: 12.12 MB / 3.727 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006274/8.102, allocations: 337.5 kB / 3.727 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/8.102, allocations: 228.4 kB / 3.727 GB, free: 55.47 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.107/8.209, allocations: 55.72 MB / 3.782 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.867e-05/8.209, allocations: 40.91 kB / 3.782 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=47): time 6.693e-06/8.209, allocations: 0 / 3.782 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51): time 0.007114/8.216, allocations: 1.865 MB / 3.784 GB, free: 19.99 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/8.216, allocations: 110.4 kB / 3.784 GB, free: 19.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005843/8.217, allocations: 378.6 kB / 3.784 GB, free: 19.74 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.775e-05/8.217, allocations: 29.39 kB / 3.784 GB, free: 19.71 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/8.217, allocations: 267.6 kB / 3.784 GB, free: 19.53 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/8.217, allocations: 176.3 kB / 3.785 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.833e-05/8.218, allocations: 0 / 3.785 GB, free: 19.42 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.962e-05/8.218, allocations: 359.9 kB / 3.785 GB, free: 19.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/8.218, allocations: 223 kB / 3.785 GB, free: 19.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000404/8.218, allocations: 381.4 kB / 3.786 GB, free: 18.92 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/8.22, allocations: 354 kB / 3.786 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/8.22, allocations: 6 kB / 3.786 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00413/8.224, allocations: 1.123 MB / 3.787 GB, free: 18.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008318/8.225, allocations: 1.743 MB / 3.789 GB, free: 33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.033e-05/8.225, allocations: 5.75 kB / 3.789 GB, free: 33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/8.226, allocations: 302 kB / 3.789 GB, free: 32.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000721/8.227, allocations: 141.7 kB / 3.789 GB, free: 32.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002578/8.23, allocations: 1.03 MB / 3.79 GB, free: 32.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/8.231, allocations: 91.45 kB / 3.79 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/8.231, allocations: 46.3 kB / 3.79 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/8.231, allocations: 5.438 kB / 3.79 GB, free: 32.43 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00241/8.233, allocations: 0.7482 MB / 3.791 GB, free: 32.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/8.233, allocations: 4.469 kB / 3.791 GB, free: 32.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/8.235, allocations: 301.6 kB / 3.791 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/8.235, allocations: 145.6 kB / 3.791 GB, free: 32.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/8.237, allocations: 0.937 MB / 3.792 GB, free: 31.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008768/8.238, allocations: 81.16 kB / 3.792 GB, free: 31.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.915e-05/8.238, allocations: 36.92 kB / 3.792 GB, free: 31.84 MB / 0.5261 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.0002983/8.238, allocations: 120.5 kB / 3.793 GB, free: 31.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008973/8.239, allocations: 273.1 kB / 3.793 GB, free: 31.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004204/8.243, allocations: 2.604 MB / 3.795 GB, free: 31.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.399e-05/8.243, allocations: 35.88 kB / 3.795 GB, free: 31.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/8.244, allocations: 1.219 kB / 3.795 GB, free: 31.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/8.244, allocations: 3.141 kB / 3.795 GB, free: 31.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00571/8.249, allocations: 3.467 MB / 3.799 GB, free: 31.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/8.249, allocations: 4.062 kB / 3.799 GB, free: 31.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008059/8.25, allocations: 161 kB / 3.799 GB, free: 31.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002585/8.25, allocations: 67.91 kB / 3.799 GB, free: 31.03 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/8.25, allocations: 17.23 kB / 3.799 GB, free: 31.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008302/8.251, allocations: 1.21 MB / 3.8 GB, free: 29.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/8.251, allocations: 1.125 kB / 3.8 GB, free: 29.92 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004762/8.256, allocations: 2.711 MB / 3.803 GB, free: 29.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007001/8.257, allocations: 271.7 kB / 3.803 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/8.257, allocations: 6.219 kB / 3.803 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008032/8.258, allocations: 63.64 kB / 3.803 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/8.258, allocations: 63.3 kB / 3.803 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-05/8.258, allocations: 35.62 kB / 3.803 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0005938/8.259, allocations: 333.2 kB / 3.804 GB, free: 29.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007746/8.266, allocations: 1.367 MB / 3.805 GB, free: 29.16 MB / 0.5261 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.01194/8.278, allocations: 1.901 MB / 3.807 GB, free: 28.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00405/8.283, allocations: 1.59 MB / 3.808 GB, free: 28.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/8.283, allocations: 0 / 3.808 GB, free: 28.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001906/8.284, allocations: 1.107 MB / 3.809 GB, free: 28.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/8.286, allocations: 267.5 kB / 3.81 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/8.291, allocations: 1.882 MB / 3.811 GB, free: 27.74 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/8.292, allocations: 1.165 MB / 3.813 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of SimCode: time 1.513e-06/8.292, allocations: 2.625 kB / 3.813 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of Templates: time 0.07214/8.364, allocations: 45.54 MB / 3.857 GB, free: 9.441 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpPowerCharacteristic/TestWaterPumpPowerCharacteristic.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches