Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.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.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|housing.T|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|housing.T|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002097/0.002097, allocations: 185.9 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.957/1.957, allocations: 205.4 MB / 222.5 MB, free: 9.145 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.00112/0.00112, allocations: 91.55 kB / 270.9 MB, free: 8.391 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.5068/0.5068, allocations: 43.56 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004837, allocations: 12 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.131, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.399/8.53, allocations: 2.798 GB / 3.277 GB, free: 10.56 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/8.531, allocations: 89.02 kB / 3.277 GB, free: 10.51 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 2.553/11.08, allocations: 460.2 MB / 3.726 GB, free: 58.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.036e-06/11.08, allocations: 0 / 3.726 GB, free: 58.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001214/11.08, allocations: 34.41 kB / 3.726 GB, free: 58.49 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.01122/11.1, allocations: 2.484 MB / 3.728 GB, free: 57.26 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/11.1, allocations: 8.719 kB / 3.728 GB, free: 57.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004665/11.1, allocations: 449.3 kB / 3.729 GB, free: 57.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003569/11.1, allocations: 0.9889 MB / 3.73 GB, free: 56.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/11.1, allocations: 104.1 kB / 3.73 GB, free: 56.83 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003706/11.1, allocations: 135.2 kB / 3.73 GB, free: 56.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006341/11.11, allocations: 1.687 MB / 3.732 GB, free: 56.53 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-05/11.11, allocations: 17.19 kB / 3.732 GB, free: 56.53 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/11.11, allocations: 56.86 kB / 3.732 GB, free: 56.53 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.43e-05/11.11, allocations: 47.23 kB / 3.732 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006016/11.12, allocations: 1.377 MB / 3.733 GB, free: 56.5 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.0141/11.13, allocations: 7.828 MB / 3.741 GB, free: 52.03 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004016/11.14, allocations: 0.9562 MB / 3.742 GB, free: 51.99 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07592/11.21, allocations: 24.15 MB / 3.765 GB, free: 37.25 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/11.21, allocations: 41.16 kB / 3.765 GB, free: 37.21 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=71): time 3.146e-06/11.21, allocations: 2.375 kB / 3.765 GB, free: 37.21 MB / 0.5105 GB Notification: Performance of matching and sorting (n=74): time 0.0134/11.22, allocations: 2.97 MB / 3.768 GB, free: 36.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/11.23, allocations: 136.6 kB / 3.768 GB, free: 36.39 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/11.23, allocations: 0.8553 MB / 3.769 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/11.23, allocations: 40.77 kB / 3.769 GB, free: 36.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004501/11.23, allocations: 0.6952 MB / 3.77 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/11.23, allocations: 260.9 kB / 3.77 GB, free: 35.63 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.304e-05/11.23, allocations: 27.09 kB / 3.77 GB, free: 35.63 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.849e-05/11.23, allocations: 350.4 kB / 3.771 GB, free: 35.32 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/11.23, allocations: 344.6 kB / 3.771 GB, free: 35.31 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/11.23, allocations: 0.7845 MB / 3.772 GB, free: 34.76 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/11.23, allocations: 450.5 kB / 3.772 GB, free: 34.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/11.23, allocations: 3.969 kB / 3.772 GB, free: 34.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00379/11.24, allocations: 1.253 MB / 3.773 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001219/11.24, allocations: 5.661 MB / 3.779 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.769e-05/11.24, allocations: 14.22 kB / 3.779 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002321/11.24, allocations: 259.5 kB / 3.779 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/11.24, allocations: 285 kB / 3.779 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001266/11.24, allocations: 0.7592 MB / 3.78 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/11.24, allocations: 110 kB / 3.78 GB, free: 28.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/11.24, allocations: 62.17 kB / 3.78 GB, free: 28.25 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/11.24, allocations: 3.781 kB / 3.78 GB, free: 28.25 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00374/11.25, allocations: 1.169 MB / 3.781 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/11.25, allocations: 18.45 kB / 3.781 GB, free: 28.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/11.25, allocations: 189 kB / 3.782 GB, free: 28.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/11.25, allocations: 282.6 kB / 3.782 GB, free: 28.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/11.25, allocations: 0.7281 MB / 3.783 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/11.25, allocations: 107.6 kB / 3.783 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/11.25, allocations: 62.62 kB / 3.783 GB, free: 27.69 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (134): * Single equations (assignments): 133 * 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 {2 9} Notification: Performance of prepare postOptimizeDAE: time 0.0009833/11.26, allocations: 399.5 kB / 3.783 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/11.26, allocations: 123.8 kB / 3.783 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005753/11.26, allocations: 3.103 MB / 3.786 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.544e-05/11.26, allocations: 39.23 kB / 3.786 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/11.26, allocations: 0 / 3.786 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/11.26, allocations: 7.266 kB / 3.786 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008893/11.27, allocations: 4.688 MB / 3.791 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/11.27, allocations: 5.5 kB / 3.791 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/11.27, allocations: 167.4 kB / 3.791 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002936/11.28, allocations: 1.035 MB / 3.792 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/11.28, allocations: 26.3 kB / 3.792 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/11.28, allocations: 1.375 MB / 3.794 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/11.28, allocations: 2.062 kB / 3.794 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006585/11.28, allocations: 3.194 MB / 3.797 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/11.28, allocations: 433.3 kB / 3.797 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/11.29, allocations: 24.36 kB / 3.797 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/11.29, allocations: 88.19 kB / 3.797 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/11.29, allocations: 71.84 kB / 3.797 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.603e-05/11.29, allocations: 37.84 kB / 3.797 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001641/11.29, allocations: 0.8486 MB / 3.798 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.413e-06/11.29, allocations: 0 / 3.798 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008147/11.3, allocations: 1.684 MB / 3.8 GB, free: 24.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i,housing.T) * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (72): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01087/11.31, allocations: 1.841 MB / 3.802 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005336/11.31, allocations: 1.777 MB / 3.803 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/11.31, allocations: 0 / 3.803 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001816/11.31, allocations: 0.8244 MB / 3.804 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003986/11.32, allocations: 449.9 kB / 3.804 GB, free: 24.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008265/11.33, allocations: 4.464 MB / 3.809 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009404/11.33, allocations: 1.398 MB / 3.81 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005656/11.33, allocations: 108.3 kB / 3.81 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of SimCode: time 1.102e-06/11.33, allocations: 0 / 3.81 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of Templates: time 0.09282/11.42, allocations: 49.19 MB / 3.858 GB, free: 11.45 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDCMotorHeatTransfer/TestWaterPumpDCMotorHeatTransfer.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches