Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 193.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 226.5 MB / 244.1 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009505/0.0009506, allocations: 110.7 kB / 296.2 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4135/0.4135, allocations: 44.83 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000334/0.0003342, allocations: 8 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4581/0.4584, allocations: 62.95 MB / 0.5165 GB, free: 37.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.756/6.214, allocations: 2.789 GB / 3.305 GB, free: 164.1 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/6.215, allocations: 94.78 kB / 3.305 GB, free: 164.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.326/7.541, allocations: 425.6 MB / 3.721 GB, free: 68.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.432e-06/7.541, allocations: 0 / 3.721 GB, free: 68.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.221e-05/7.541, allocations: 22.67 kB / 3.721 GB, free: 68.5 MB / 0.5417 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.006639/7.548, allocations: 1.838 MB / 3.723 GB, free: 67.84 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/7.548, allocations: 10.91 kB / 3.723 GB, free: 67.84 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002418/7.55, allocations: 322.8 kB / 3.723 GB, free: 67.8 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/7.551, allocations: 0.5936 MB / 3.723 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.851e-05/7.551, allocations: 50.12 kB / 3.723 GB, free: 67.54 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.735e-05/7.551, allocations: 54.78 kB / 3.724 GB, free: 67.54 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/7.553, allocations: 1.01 MB / 3.725 GB, free: 67.35 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/7.554, allocations: 6.281 kB / 3.725 GB, free: 67.34 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.691e-05/7.554, allocations: 25.12 kB / 3.725 GB, free: 67.34 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/7.554, allocations: 26.34 kB / 3.725 GB, free: 67.34 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/7.556, allocations: 0.91 MB / 3.725 GB, free: 67.34 MB / 0.5417 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.004051/7.56, allocations: 4.535 MB / 3.73 GB, free: 64.11 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/7.562, allocations: 0.8168 MB / 3.731 GB, free: 64.08 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005794/7.563, allocations: 305.9 kB / 3.731 GB, free: 64.07 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09773/7.661, allocations: 61.81 MB / 3.791 GB, free: 39.53 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/7.661, allocations: 41.19 kB / 3.791 GB, free: 39.49 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=48): time 3.156e-06/7.661, allocations: 0 / 3.791 GB, free: 39.49 MB / 0.5573 GB Notification: Performance of matching and sorting (n=52): time 0.00695/7.668, allocations: 2.262 MB / 3.794 GB, free: 39.07 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/7.668, allocations: 110.6 kB / 3.794 GB, free: 38.95 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007445/7.669, allocations: 0.5098 MB / 3.794 GB, free: 38.82 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 8.078e-05/7.669, allocations: 32.58 kB / 3.794 GB, free: 38.79 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/7.669, allocations: 331.6 kB / 3.795 GB, free: 38.64 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/7.669, allocations: 177.3 kB / 3.795 GB, free: 38.55 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.226e-05/7.669, allocations: 17.41 kB / 3.795 GB, free: 38.55 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001654/7.669, allocations: 371.8 kB / 3.795 GB, free: 38.23 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006164/7.67, allocations: 266.6 kB / 3.795 GB, free: 38.23 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006659/7.671, allocations: 440.8 kB / 3.796 GB, free: 38.04 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/7.672, allocations: 0.6795 MB / 3.796 GB, free: 37.86 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/7.672, allocations: 0 / 3.796 GB, free: 37.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002337/7.674, allocations: 0.9665 MB / 3.797 GB, free: 37.77 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000193/7.674, allocations: 225.5 kB / 3.798 GB, free: 37.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/7.674, allocations: 3.938 kB / 3.798 GB, free: 37.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002292/7.677, allocations: 458.4 kB / 3.798 GB, free: 37.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/7.677, allocations: 138.5 kB / 3.798 GB, free: 37.49 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/7.679, allocations: 0.9136 MB / 3.799 GB, free: 36.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008517/7.68, allocations: 99.02 kB / 3.799 GB, free: 36.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.489e-05/7.68, allocations: 36.62 kB / 3.799 GB, free: 36.95 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/7.68, allocations: 3.75 kB / 3.799 GB, free: 36.95 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002555/7.682, allocations: 0.939 MB / 3.8 GB, free: 36.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/7.682, allocations: 3.812 kB / 3.8 GB, free: 36.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/7.684, allocations: 347.5 kB / 3.8 GB, free: 36.88 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/7.684, allocations: 136 kB / 3.801 GB, free: 36.88 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/7.686, allocations: 0.8997 MB / 3.801 GB, free: 36.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007401/7.686, allocations: 95.12 kB / 3.802 GB, free: 36.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.734e-05/7.686, allocations: 31.7 kB / 3.802 GB, free: 36.34 MB / 0.5573 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.0004832/7.687, allocations: 289.2 kB / 3.802 GB, free: 36.14 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/7.687, allocations: 64.5 kB / 3.802 GB, free: 36.11 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003446/7.691, allocations: 2.906 MB / 3.805 GB, free: 35.78 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.4e-05/7.691, allocations: 49.91 kB / 3.805 GB, free: 35.77 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/7.691, allocations: 0 / 3.805 GB, free: 35.77 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/7.691, allocations: 6.547 kB / 3.805 GB, free: 35.77 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004766/7.695, allocations: 4.095 MB / 3.809 GB, free: 35.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/7.695, allocations: 3.938 kB / 3.809 GB, free: 35.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000697/7.696, allocations: 169.8 kB / 3.809 GB, free: 35.31 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003547/7.696, allocations: 77.95 kB / 3.809 GB, free: 35.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/7.697, allocations: 18.84 kB / 3.809 GB, free: 35.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000697/7.697, allocations: 1.181 MB / 3.81 GB, free: 34.19 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/7.697, allocations: 1.484 kB / 3.81 GB, free: 34.19 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003251/7.701, allocations: 2.58 MB / 3.813 GB, free: 33.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005293/7.701, allocations: 336 kB / 3.813 GB, free: 33.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/7.701, allocations: 17.55 kB / 3.813 GB, free: 33.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006488/7.702, allocations: 66.78 kB / 3.813 GB, free: 33.69 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/7.702, allocations: 57 kB / 3.813 GB, free: 33.69 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/7.702, allocations: 24.17 kB / 3.813 GB, free: 33.69 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006263/7.703, allocations: 466.8 kB / 3.814 GB, free: 33.59 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/7.703, allocations: 0 / 3.814 GB, free: 33.59 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006143/7.709, allocations: 1.415 MB / 3.815 GB, free: 33.39 MB / 0.5573 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.009064/7.718, allocations: 1.74 MB / 3.817 GB, free: 33 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0039/7.722, allocations: 1.502 MB / 3.818 GB, free: 32.96 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/7.722, allocations: 0 / 3.818 GB, free: 32.96 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/7.723, allocations: 0.8716 MB / 3.819 GB, free: 32.95 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/7.726, allocations: 331.4 kB / 3.819 GB, free: 32.93 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004052/7.73, allocations: 3.172 MB / 3.822 GB, free: 31.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007497/7.73, allocations: 1.135 MB / 3.824 GB, free: 30.78 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/7.731, allocations: 74.2 kB / 3.824 GB, free: 30.77 MB / 0.5573 GB Notification: Performance of SimCode: time 1.082e-06/7.731, allocations: 4 kB / 3.824 GB, free: 30.77 MB / 0.5573 GB Notification: Performance of Templates: time 0.05154/7.782, allocations: 38.61 MB / 3.861 GB, free: 27.87 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpPowerCharacteristic/TestWaterPumpPowerCharacteristic.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches