Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002055/0.00206, allocations: 182.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001083/0.001083, allocations: 90.69 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2766/0.2766, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.716e-05/3.762e-05, allocations: 8 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 58.86 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.092/8.21, allocations: 2.782 GB / 3.254 GB, free: 62.73 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/8.211, allocations: 84.62 kB / 3.255 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.19/10.4, allocations: 439.5 MB / 3.684 GB, free: 43.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.794e-06/10.4, allocations: 4 kB / 3.684 GB, free: 43.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.904e-05/10.4, allocations: 16 kB / 3.684 GB, free: 43.48 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.007955/10.41, allocations: 1.747 MB / 3.685 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/10.41, allocations: 12.03 kB / 3.685 GB, free: 41.68 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003437/10.41, allocations: 330.7 kB / 3.686 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/10.41, allocations: 0.569 MB / 3.686 GB, free: 40.76 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.573e-05/10.41, allocations: 49.31 kB / 3.686 GB, free: 40.71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/10.41, allocations: 53.48 kB / 3.686 GB, free: 40.66 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002874/10.42, allocations: 0.9856 MB / 3.687 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/10.42, allocations: 7.938 kB / 3.687 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/10.42, allocations: 24 kB / 3.687 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.2e-05/10.42, allocations: 21 kB / 3.687 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002727/10.42, allocations: 0.8118 MB / 3.688 GB, free: 38.75 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006591/10.43, allocations: 4.54 MB / 3.693 GB, free: 33.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002845/10.43, allocations: 0.7347 MB / 3.693 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/10.43, allocations: 242.1 kB / 3.694 GB, free: 32.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5514/10.98, allocations: 55.73 MB / 3.748 GB, free: 49.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/10.98, allocations: 39.88 kB / 3.748 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 2.775e-06/10.98, allocations: 3.125 kB / 3.748 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.007797/10.99, allocations: 1.869 MB / 3.75 GB, free: 48.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/10.99, allocations: 108.5 kB / 3.75 GB, free: 48.53 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008739/10.99, allocations: 442 kB / 3.75 GB, free: 48.42 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/10.99, allocations: 40.7 kB / 3.75 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/10.99, allocations: 358.2 kB / 3.751 GB, free: 48.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002152/10.99, allocations: 178.9 kB / 3.751 GB, free: 48.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/10.99, allocations: 16.41 kB / 3.751 GB, free: 48.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.612e-05/10.99, allocations: 335.9 kB / 3.751 GB, free: 47.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005705/10.99, allocations: 199.9 kB / 3.751 GB, free: 47.78 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000653/10.99, allocations: 360.9 kB / 3.752 GB, free: 47.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006113/10.99, allocations: 240.6 kB / 3.752 GB, free: 47.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/10.99, allocations: 2.5 kB / 3.752 GB, free: 47.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002708/11, allocations: 0.7706 MB / 3.753 GB, free: 47.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004685/11, allocations: 1.741 MB / 3.754 GB, free: 45.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/11, allocations: 3.656 kB / 3.754 GB, free: 45.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003287/11, allocations: 394 kB / 3.755 GB, free: 45.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/11, allocations: 135.8 kB / 3.755 GB, free: 45.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/11, allocations: 0.8719 MB / 3.756 GB, free: 45.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/11, allocations: 91.31 kB / 3.756 GB, free: 45.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/11, allocations: 38.8 kB / 3.756 GB, free: 45.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/11, allocations: 6.156 kB / 3.756 GB, free: 45.18 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00348/11.01, allocations: 0.7745 MB / 3.757 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/11.01, allocations: 5.312 kB / 3.757 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002303/11.01, allocations: 287.1 kB / 3.757 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/11.01, allocations: 140.8 kB / 3.757 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/11.01, allocations: 0.8299 MB / 3.758 GB, free: 44.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00116/11.01, allocations: 100 kB / 3.758 GB, free: 44.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.731e-05/11.01, allocations: 36.89 kB / 3.758 GB, free: 44.61 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.0002874/11.01, allocations: 138.2 kB / 3.758 GB, free: 44.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002449/11.01, allocations: 66.58 kB / 3.758 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004268/11.02, allocations: 2.856 MB / 3.761 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.213e-05/11.02, allocations: 46.39 kB / 3.761 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/11.02, allocations: 0 / 3.761 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/11.02, allocations: 4.891 kB / 3.761 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/11.02, allocations: 4.015 MB / 3.765 GB, free: 43.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/11.02, allocations: 0 / 3.765 GB, free: 43.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/11.03, allocations: 176.6 kB / 3.765 GB, free: 43.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004446/11.03, allocations: 68.52 kB / 3.765 GB, free: 43.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.277e-05/11.03, allocations: 17.41 kB / 3.765 GB, free: 43.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006632/11.03, allocations: 1.187 MB / 3.766 GB, free: 42.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/11.03, allocations: 0 / 3.766 GB, free: 42.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003787/11.03, allocations: 2.379 MB / 3.769 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007223/11.03, allocations: 336.2 kB / 3.769 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/11.03, allocations: 16.44 kB / 3.769 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001/11.03, allocations: 77 kB / 3.769 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/11.03, allocations: 54.2 kB / 3.769 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.022e-05/11.03, allocations: 20.62 kB / 3.769 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007629/11.03, allocations: 453 kB / 3.77 GB, free: 42.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.423e-06/11.03, allocations: 3.062 kB / 3.77 GB, free: 42.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006658/11.04, allocations: 1.409 MB / 3.771 GB, free: 42.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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.01079/11.05, allocations: 1.733 MB / 3.773 GB, free: 41.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003936/11.06, allocations: 1.28 MB / 3.774 GB, free: 41.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/11.06, allocations: 0.5469 kB / 3.774 GB, free: 41.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001657/11.06, allocations: 0.8082 MB / 3.775 GB, free: 41.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/11.06, allocations: 321.9 kB / 3.775 GB, free: 41.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003817/11.06, allocations: 1.988 MB / 3.777 GB, free: 41.48 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/11.06, allocations: 1.165 MB / 3.778 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/11.06, allocations: 67.56 kB / 3.778 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of SimCode: time 1.062e-06/11.06, allocations: 2.781 kB / 3.778 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of Templates: time 0.07632/11.14, allocations: 40.66 MB / 3.818 GB, free: 37.71 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches