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.000935/0.0009349, allocations: 177.3 kB / 17.41 MB, free: 4.414 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.375/1.375, allocations: 205.4 MB / 223.6 MB, free: 9.043 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.0008195/0.0008194, allocations: 85.08 kB / 271.9 MB, free: 8.285 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.3393/0.3393, allocations: 43.56 MB / 363.8 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005383/0.0005384, allocations: 12 kB / 432.6 MB, free: 5.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1318, allocations: 58.86 MB / 491.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.926/5.058, allocations: 2.782 GB / 3.262 GB, free: 90.04 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/5.058, allocations: 89.62 kB / 3.262 GB, free: 90 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 1.21/6.268, allocations: 420.9 MB / 3.673 GB, free: 32.21 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.422e-06/6.268, allocations: 0 / 3.673 GB, free: 32.21 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 6.252e-05/6.268, allocations: 19.19 kB / 3.673 GB, free: 32.21 MB / 0.4949 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.006043/6.274, allocations: 1.829 MB / 3.675 GB, free: 31.08 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/6.274, allocations: 7.812 kB / 3.675 GB, free: 31.08 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/6.277, allocations: 327.5 kB / 3.675 GB, free: 31.02 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/6.278, allocations: 0.6 MB / 3.676 GB, free: 30.62 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.135e-05/6.278, allocations: 49.38 kB / 3.676 GB, free: 30.6 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/6.278, allocations: 58.34 kB / 3.676 GB, free: 30.58 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/6.28, allocations: 1.012 MB / 3.677 GB, free: 30.15 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/6.28, allocations: 2.562 kB / 3.677 GB, free: 30.15 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.866e-05/6.28, allocations: 26.03 kB / 3.677 GB, free: 30.13 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/6.28, allocations: 19.97 kB / 3.677 GB, free: 30.13 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/6.283, allocations: 0.9086 MB / 3.678 GB, free: 29.91 MB / 0.4949 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.003996/6.287, allocations: 4.555 MB / 3.682 GB, free: 26.09 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/6.289, allocations: 0.8111 MB / 3.683 GB, free: 25.88 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/6.289, allocations: 304.3 kB / 3.683 GB, free: 25.78 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09149/6.381, allocations: 55.54 MB / 3.738 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/6.381, allocations: 39 kB / 3.738 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 2.775e-06/6.381, allocations: 0 / 3.738 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.007097/6.388, allocations: 2.276 MB / 3.74 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/6.388, allocations: 107.2 kB / 3.74 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008143/6.389, allocations: 0.5028 MB / 3.741 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.632e-05/6.389, allocations: 33.7 kB / 3.741 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/6.389, allocations: 324.2 kB / 3.741 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/6.39, allocations: 180.8 kB / 3.741 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/6.39, allocations: 8 kB / 3.741 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001674/6.39, allocations: 378.7 kB / 3.741 GB, free: 5.168 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006851/6.391, allocations: 277.1 kB / 3.742 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007632/6.391, allocations: 433.8 kB / 3.742 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/6.393, allocations: 0.6796 MB / 3.743 GB, free: 3.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/6.393, allocations: 4 kB / 3.743 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00243/6.395, allocations: 0.9672 MB / 3.744 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001387/6.395, allocations: 216 kB / 3.744 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/6.395, allocations: 4 kB / 3.744 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002247/6.398, allocations: 463.7 kB / 3.744 GB, free: 1.945 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/6.398, allocations: 143.8 kB / 3.745 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/6.4, allocations: 0.9118 MB / 3.745 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008261/6.4, allocations: 87.91 kB / 3.745 GB, free: 0.7812 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/6.401, allocations: 43.97 kB / 3.746 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/6.401, allocations: 4 kB / 3.746 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2289/6.63, allocations: 0.928 MB / 3.746 GB, free: 76.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/6.63, allocations: 4.906 kB / 3.746 GB, free: 76.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/6.631, allocations: 347.1 kB / 3.747 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005951/6.632, allocations: 140.8 kB / 3.747 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/6.633, allocations: 0.8938 MB / 3.748 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007869/6.634, allocations: 92.31 kB / 3.748 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.118e-05/6.634, allocations: 37.56 kB / 3.748 GB, free: 75.56 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.0004255/6.635, allocations: 279.8 kB / 3.748 GB, free: 75.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/6.635, allocations: 62.86 kB / 3.748 GB, free: 75.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/6.639, allocations: 2.923 MB / 3.751 GB, free: 75.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-05/6.639, allocations: 47.78 kB / 3.751 GB, free: 75.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/6.639, allocations: 0 / 3.751 GB, free: 75.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/6.639, allocations: 3.328 kB / 3.751 GB, free: 75.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004739/6.644, allocations: 4.093 MB / 3.755 GB, free: 74.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/6.644, allocations: 2.188 kB / 3.755 GB, free: 74.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006956/6.644, allocations: 175.8 kB / 3.755 GB, free: 74.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003589/6.645, allocations: 72.06 kB / 3.755 GB, free: 74.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/6.645, allocations: 18.05 kB / 3.755 GB, free: 74.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004458/6.645, allocations: 1.183 MB / 3.757 GB, free: 73.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/6.645, allocations: 0 / 3.757 GB, free: 73.71 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00311/6.648, allocations: 2.579 MB / 3.759 GB, free: 73.44 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/6.649, allocations: 332.6 kB / 3.759 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.596e-05/6.649, allocations: 20.83 kB / 3.759 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005138/6.649, allocations: 68.83 kB / 3.759 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/6.65, allocations: 57.78 kB / 3.76 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/6.65, allocations: 22.05 kB / 3.76 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005541/6.65, allocations: 466 kB / 3.76 GB, free: 73.17 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.61e-07/6.65, allocations: 2.906 kB / 3.76 GB, free: 73.17 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005658/6.656, allocations: 1.407 MB / 3.761 GB, free: 73.17 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.007459/6.663, allocations: 1.746 MB / 3.763 GB, free: 73.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003542/6.667, allocations: 1.5 MB / 3.765 GB, free: 73.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/6.667, allocations: 0 / 3.765 GB, free: 73.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/6.668, allocations: 0.8649 MB / 3.765 GB, free: 73.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001719/6.67, allocations: 336.8 kB / 3.766 GB, free: 73.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/6.673, allocations: 3.163 MB / 3.769 GB, free: 71.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/6.674, allocations: 1.14 MB / 3.77 GB, free: 71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/6.674, allocations: 73.12 kB / 3.77 GB, free: 71 MB / 0.5261 GB Notification: Performance of SimCode: time 4.7e-07/6.674, allocations: 0 / 3.77 GB, free: 71 MB / 0.5261 GB Notification: Performance of Templates: time 0.05003/6.724, allocations: 38.46 MB / 3.808 GB, free: 69.34 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