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.001533/0.001532, allocations: 186.2 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001179/0.001178, allocations: 96.41 kB / 270.9 MB, free: 8.387 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.5093/0.5093, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004717, allocations: 20 kB / 431.4 MB, free: 5.949 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1227, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.217/8.34, allocations: 2.782 GB / 3.26 GB, free: 27.29 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003216/8.341, allocations: 87.2 kB / 3.261 GB, free: 27.24 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.543/10.88, allocations: 440.7 MB / 3.691 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.444e-06/10.88, allocations: 0.7188 kB / 3.691 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.44e-05/10.88, allocations: 24.84 kB / 3.691 GB, free: 56.52 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.008955/10.89, allocations: 1.829 MB / 3.693 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/10.89, allocations: 12.58 kB / 3.693 GB, free: 55.86 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003623/10.9, allocations: 329.1 kB / 3.693 GB, free: 55.82 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/10.9, allocations: 0.5681 MB / 3.694 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.239e-05/10.9, allocations: 47.53 kB / 3.694 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/10.9, allocations: 57.09 kB / 3.694 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003567/10.9, allocations: 1.012 MB / 3.695 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/10.9, allocations: 0.75 kB / 3.695 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/10.9, allocations: 30.81 kB / 3.695 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-05/10.9, allocations: 23.91 kB / 3.695 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003807/10.91, allocations: 0.9061 MB / 3.696 GB, free: 55.39 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00643/10.91, allocations: 4.54 MB / 3.7 GB, free: 52.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004019/10.92, allocations: 0.8108 MB / 3.701 GB, free: 52.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1713/11.09, allocations: 55.55 MB / 3.755 GB, free: 34.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.448e-05/11.09, allocations: 40.83 kB / 3.755 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 2.605e-06/11.09, allocations: 0 / 3.755 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.01106/11.1, allocations: 2.279 MB / 3.757 GB, free: 33.64 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.975e-05/11.1, allocations: 112.7 kB / 3.757 GB, free: 33.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008842/11.1, allocations: 452.5 kB / 3.758 GB, free: 33.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/11.1, allocations: 37.27 kB / 3.758 GB, free: 33.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/11.1, allocations: 365.1 kB / 3.758 GB, free: 33.16 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/11.1, allocations: 176.5 kB / 3.758 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.569e-05/11.1, allocations: 9.875 kB / 3.758 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001306/11.1, allocations: 336.2 kB / 3.759 GB, free: 32.74 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001129/11.1, allocations: 271.8 kB / 3.759 GB, free: 32.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/11.1, allocations: 433.3 kB / 3.759 GB, free: 32.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/11.1, allocations: 312.1 kB / 3.76 GB, free: 32.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/11.1, allocations: 1.312 kB / 3.76 GB, free: 32.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004083/11.11, allocations: 0.9344 MB / 3.761 GB, free: 32.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006364/11.11, allocations: 1.75 MB / 3.762 GB, free: 30.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/11.11, allocations: 4.188 kB / 3.762 GB, free: 30.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003593/11.11, allocations: 429.5 kB / 3.763 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009912/11.11, allocations: 138.8 kB / 3.763 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002322/11.12, allocations: 0.9103 MB / 3.764 GB, free: 30.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/11.12, allocations: 97.08 kB / 3.764 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/11.12, allocations: 34.55 kB / 3.764 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/11.12, allocations: 3.781 kB / 3.764 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004734/11.12, allocations: 0.9354 MB / 3.765 GB, free: 30.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/11.12, allocations: 6.703 kB / 3.765 GB, free: 30.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002735/11.12, allocations: 331.9 kB / 3.765 GB, free: 29.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/11.13, allocations: 140.3 kB / 3.765 GB, free: 29.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/11.13, allocations: 0.8803 MB / 3.766 GB, free: 29.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/11.13, allocations: 87.19 kB / 3.766 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.797e-05/11.13, allocations: 38.69 kB / 3.766 GB, free: 29.45 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 () * Number of clocked 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.0006143/11.13, allocations: 292.1 kB / 3.767 GB, free: 29.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/11.13, allocations: 67.25 kB / 3.767 GB, free: 29.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005689/11.14, allocations: 2.909 MB / 3.769 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.268e-05/11.14, allocations: 47.36 kB / 3.77 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/11.14, allocations: 0.6562 kB / 3.77 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/11.14, allocations: 3.516 kB / 3.77 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007618/11.14, allocations: 4.095 MB / 3.774 GB, free: 28.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/11.14, allocations: 2.625 kB / 3.774 GB, free: 28.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/11.14, allocations: 176.6 kB / 3.774 GB, free: 28.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005703/11.15, allocations: 73.17 kB / 3.774 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.509e-05/11.15, allocations: 17.03 kB / 3.774 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008404/11.15, allocations: 1.179 MB / 3.775 GB, free: 27.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/11.15, allocations: 4.188 kB / 3.775 GB, free: 27.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005324/11.15, allocations: 2.587 MB / 3.777 GB, free: 27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007277/11.15, allocations: 331.3 kB / 3.778 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001621/11.15, allocations: 12.62 kB / 3.778 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009551/11.15, allocations: 72.61 kB / 3.778 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/11.15, allocations: 53.7 kB / 3.778 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.956e-05/11.15, allocations: 29.78 kB / 3.778 GB, free: 26.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000827/11.15, allocations: 464.2 kB / 3.778 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.81e-07/11.15, allocations: 0 / 3.778 GB, free: 26.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00672/11.16, allocations: 1.406 MB / 3.78 GB, free: 26.51 MB / 0.5261 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 () * Number of clocked 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.01092/11.17, allocations: 1.735 MB / 3.781 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005618/11.18, allocations: 1.489 MB / 3.783 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/11.18, allocations: 0 / 3.783 GB, free: 26.07 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002007/11.18, allocations: 0.8636 MB / 3.784 GB, free: 26.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002865/11.18, allocations: 325.9 kB / 3.784 GB, free: 26.04 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/11.19, allocations: 3.167 MB / 3.787 GB, free: 24.61 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007951/11.19, allocations: 1.16 MB / 3.788 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/11.19, allocations: 71.28 kB / 3.788 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of SimCode: time 9.62e-07/11.19, allocations: 0 / 3.788 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of Templates: time 0.07695/11.27, allocations: 40.92 MB / 3.828 GB, free: 20.36 MB / 0.5261 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