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.001028/0.001028, allocations: 181.5 kB / 17.41 MB, free: 4.406 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.473/1.473, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0008177/0.0008178, allocations: 98.3 kB / 271.9 MB, free: 8.254 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.3847/0.3847, allocations: 43.56 MB / 363.8 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 12 kB / 432.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1201, allocations: 58.86 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.182/6.302, allocations: 2.798 GB / 3.278 GB, free: 70.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003441/6.303, allocations: 87.89 kB / 3.278 GB, free: 70.7 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.399/7.702, allocations: 440.3 MB / 3.708 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.683e-06/7.702, allocations: 0 / 3.708 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.371e-05/7.702, allocations: 35.94 kB / 3.708 GB, free: 13.61 MB / 0.4948 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.007653/7.71, allocations: 2.471 MB / 3.711 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/7.71, allocations: 12.03 kB / 3.711 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002809/7.713, allocations: 438.7 kB / 3.711 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/7.715, allocations: 1.021 MB / 3.712 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.992e-05/7.715, allocations: 102.7 kB / 3.712 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/7.715, allocations: 135.9 kB / 3.712 GB, free: 9.375 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/7.718, allocations: 1.716 MB / 3.714 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.778e-05/7.718, allocations: 0 / 3.714 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/7.718, allocations: 60 kB / 3.714 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.823e-05/7.718, allocations: 46.36 kB / 3.714 GB, free: 7.449 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002846/7.721, allocations: 1.379 MB / 3.716 GB, free: 6.062 MB / 0.4948 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.0084/7.73, allocations: 7.831 MB / 3.723 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00266/7.732, allocations: 0.959 MB / 3.724 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008007/7.733, allocations: 384.1 kB / 3.724 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3138/8.047, allocations: 24.14 MB / 3.748 GB, free: 40.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/8.047, allocations: 45.56 kB / 3.748 GB, free: 40.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=71): time 3.176e-06/8.047, allocations: 0 / 3.748 GB, free: 40.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=74): time 0.009529/8.057, allocations: 3.041 MB / 3.751 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.829e-05/8.057, allocations: 135.2 kB / 3.751 GB, free: 39.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/8.058, allocations: 0.9803 MB / 3.752 GB, free: 39.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.172e-05/8.058, allocations: 40.33 kB / 3.752 GB, free: 39.28 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004524/8.059, allocations: 0.6913 MB / 3.753 GB, free: 39.01 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/8.059, allocations: 265.8 kB / 3.753 GB, free: 38.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/8.059, allocations: 23.28 kB / 3.753 GB, free: 38.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.443e-05/8.059, allocations: 352.2 kB / 3.753 GB, free: 38.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007031/8.06, allocations: 345.2 kB / 3.754 GB, free: 38.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008755/8.061, allocations: 0.7839 MB / 3.755 GB, free: 38.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/8.062, allocations: 1.171 MB / 3.756 GB, free: 37.51 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/8.062, allocations: 6.062 kB / 3.756 GB, free: 37.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002474/8.065, allocations: 1.315 MB / 3.757 GB, free: 37.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000258/8.065, allocations: 0.507 MB / 3.758 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/8.065, allocations: 15.62 kB / 3.758 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/8.066, allocations: 275.7 kB / 3.758 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008756/8.067, allocations: 281.1 kB / 3.758 GB, free: 36.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008067/8.068, allocations: 0.7648 MB / 3.759 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/8.069, allocations: 103.9 kB / 3.759 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.415e-05/8.069, allocations: 64.03 kB / 3.759 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/8.069, allocations: 2.656 kB / 3.759 GB, free: 36.27 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002119/8.072, allocations: 1.165 MB / 3.76 GB, free: 36.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/8.072, allocations: 15.75 kB / 3.76 GB, free: 36.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009968/8.073, allocations: 193.2 kB / 3.76 GB, free: 36.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008233/8.073, allocations: 288.8 kB / 3.761 GB, free: 36.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007121/8.074, allocations: 0.7346 MB / 3.761 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/8.075, allocations: 103.7 kB / 3.761 GB, free: 35.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.693e-05/8.075, allocations: 66.97 kB / 3.761 GB, free: 35.71 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.0008764/8.076, allocations: 398.3 kB / 3.762 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002094/8.077, allocations: 129.2 kB / 3.762 GB, free: 35.46 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/8.08, allocations: 3.107 MB / 3.765 GB, free: 35.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/8.08, allocations: 33.42 kB / 3.765 GB, free: 35.18 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/8.08, allocations: 0 / 3.765 GB, free: 35.18 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/8.08, allocations: 6.141 kB / 3.765 GB, free: 35.18 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005777/8.086, allocations: 4.685 MB / 3.77 GB, free: 34.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/8.086, allocations: 10.72 kB / 3.77 GB, free: 34.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006226/8.087, allocations: 165.2 kB / 3.77 GB, free: 34.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/8.089, allocations: 1.043 MB / 3.771 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.403e-05/8.089, allocations: 18.38 kB / 3.771 GB, free: 34.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/8.09, allocations: 1.382 MB / 3.772 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/8.09, allocations: 6.391 kB / 3.772 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004113/8.094, allocations: 3.097 MB / 3.775 GB, free: 33.69 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008804/8.095, allocations: 434.6 kB / 3.776 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/8.095, allocations: 19.78 kB / 3.776 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007402/8.096, allocations: 85.53 kB / 3.776 GB, free: 33.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001569/8.096, allocations: 75.28 kB / 3.776 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.462e-05/8.096, allocations: 37.66 kB / 3.776 GB, free: 33.49 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001197/8.097, allocations: 0.8488 MB / 3.777 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/8.097, allocations: 2.516 kB / 3.777 GB, free: 33.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008571/8.106, allocations: 1.673 MB / 3.778 GB, free: 33.38 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.009298/8.115, allocations: 1.824 MB / 3.78 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003636/8.119, allocations: 1.781 MB / 3.782 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/8.119, allocations: 1.625 kB / 3.782 GB, free: 33.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/8.12, allocations: 0.8228 MB / 3.783 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/8.123, allocations: 461 kB / 3.783 GB, free: 33.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/8.129, allocations: 4.485 MB / 3.787 GB, free: 31.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009086/8.13, allocations: 1.351 MB / 3.789 GB, free: 30.45 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004369/8.13, allocations: 110 kB / 3.789 GB, free: 30.44 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/8.13, allocations: 0 / 3.789 GB, free: 30.44 MB / 0.5105 GB Notification: Performance of Templates: time 0.06929/8.2, allocations: 46.93 MB / 3.835 GB, free: 27.34 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