Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009805/0.0009805, allocations: 89.22 kB / 292.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3825/0.3825, allocations: 44.22 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.0003248, allocations: 8 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4215, allocations: 61.9 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.681/8.103, allocations: 2.804 GB / 3.313 GB, free: 117 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/8.103, allocations: 90.42 kB / 3.313 GB, free: 117 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.783/9.886, allocations: 464.8 MB / 3.767 GB, free: 55.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.894e-06/9.886, allocations: 3.656 kB / 3.767 GB, free: 55.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.403e-05/9.886, allocations: 31.34 kB / 3.767 GB, free: 55.37 MB / 0.5261 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.007611/9.894, allocations: 2.484 MB / 3.77 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/9.894, allocations: 15.25 kB / 3.77 GB, free: 54.09 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/9.897, allocations: 440.1 kB / 3.77 GB, free: 54.01 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/9.899, allocations: 0.9951 MB / 3.771 GB, free: 53.67 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.918e-05/9.899, allocations: 99.97 kB / 3.771 GB, free: 53.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001682/9.899, allocations: 132 kB / 3.771 GB, free: 53.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003039/9.902, allocations: 1.691 MB / 3.773 GB, free: 53.38 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.793e-05/9.902, allocations: 3.906 kB / 3.773 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/9.902, allocations: 59.94 kB / 3.773 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.159e-05/9.902, allocations: 49.03 kB / 3.773 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/9.905, allocations: 1.379 MB / 3.775 GB, free: 53.35 MB / 0.5261 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.008556/9.914, allocations: 7.834 MB / 3.782 GB, free: 48.83 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/9.916, allocations: 0.949 MB / 3.783 GB, free: 48.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03923/9.955, allocations: 24.15 MB / 3.807 GB, free: 33.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/9.955, allocations: 45.72 kB / 3.807 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=71): time 2.796e-06/9.955, allocations: 0 / 3.807 GB, free: 33.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.008644/9.964, allocations: 2.962 MB / 3.81 GB, free: 32.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/9.964, allocations: 137.1 kB / 3.81 GB, free: 32.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/9.966, allocations: 0.8616 MB / 3.811 GB, free: 32.33 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.71e-05/9.966, allocations: 37.52 kB / 3.811 GB, free: 32.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/9.966, allocations: 0.6957 MB / 3.811 GB, free: 31.74 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/9.966, allocations: 264.7 kB / 3.812 GB, free: 31.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/9.966, allocations: 23.72 kB / 3.812 GB, free: 31.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/9.966, allocations: 353.5 kB / 3.812 GB, free: 31.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006901/9.967, allocations: 346.5 kB / 3.812 GB, free: 31.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008545/9.968, allocations: 0.777 MB / 3.813 GB, free: 30.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008256/9.969, allocations: 457.9 kB / 3.813 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/9.969, allocations: 11 kB / 3.813 GB, free: 30.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002467/9.971, allocations: 1.299 MB / 3.815 GB, free: 29.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0015/9.973, allocations: 5.658 MB / 3.82 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-05/9.973, allocations: 15.62 kB / 3.82 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/9.974, allocations: 263.1 kB / 3.821 GB, free: 23.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009617/9.975, allocations: 288.3 kB / 3.821 GB, free: 23.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009065/9.976, allocations: 0.7627 MB / 3.822 GB, free: 22.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/9.978, allocations: 106.1 kB / 3.822 GB, free: 22.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/9.978, allocations: 66.97 kB / 3.822 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/9.978, allocations: 10.97 kB / 3.822 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002346/9.98, allocations: 1.155 MB / 3.823 GB, free: 22.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/9.98, allocations: 13.53 kB / 3.823 GB, free: 22.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009793/9.981, allocations: 205 kB / 3.823 GB, free: 22.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008569/9.982, allocations: 287.4 kB / 3.823 GB, free: 22.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000688/9.983, allocations: 0.7433 MB / 3.824 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/9.984, allocations: 106.5 kB / 3.824 GB, free: 21.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/9.984, allocations: 64.02 kB / 3.824 GB, free: 21.73 MB / 0.5261 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.0007883/9.985, allocations: 399 kB / 3.825 GB, free: 21.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/9.985, allocations: 123 kB / 3.825 GB, free: 21.35 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003814/9.989, allocations: 3.106 MB / 3.828 GB, free: 19.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.372e-05/9.989, allocations: 37.59 kB / 3.828 GB, free: 19.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/9.989, allocations: 3.938 kB / 3.828 GB, free: 19.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/9.989, allocations: 3.75 kB / 3.828 GB, free: 19.89 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00608/9.995, allocations: 4.682 MB / 3.832 GB, free: 17.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/9.995, allocations: 0 / 3.832 GB, free: 17.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006252/9.996, allocations: 170.3 kB / 3.833 GB, free: 17.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001843/9.998, allocations: 1.039 MB / 3.834 GB, free: 17.48 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.268e-05/9.998, allocations: 18.69 kB / 3.834 GB, free: 17.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/9.999, allocations: 1.387 MB / 3.835 GB, free: 16.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/9.999, allocations: 7 kB / 3.835 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003949/10, allocations: 3.188 MB / 3.838 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008131/10, allocations: 442.4 kB / 3.838 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003159/10, allocations: 18.5 kB / 3.838 GB, free: 14.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009568/10, allocations: 84.64 kB / 3.839 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/10.01, allocations: 70.14 kB / 3.839 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-05/10.01, allocations: 34.47 kB / 3.839 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001256/10.01, allocations: 0.8525 MB / 3.839 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.01e-07/10.01, allocations: 0 / 3.839 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007761/10.01, allocations: 1.678 MB / 3.841 GB, free: 13.92 MB / 0.5261 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.009606/10.02, allocations: 1.838 MB / 3.843 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00377/10.03, allocations: 1.785 MB / 3.845 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/10.03, allocations: 0.75 kB / 3.845 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/10.03, allocations: 0.8275 MB / 3.845 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/10.03, allocations: 454.6 kB / 3.846 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00688/10.04, allocations: 4.422 MB / 3.85 GB, free: 9.77 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/10.04, allocations: 1.402 MB / 3.852 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002055/10.04, allocations: 0.6979 MB / 3.852 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/10.04, allocations: 92.95 kB / 3.852 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of SimCode: time 1.733e-06/10.04, allocations: 0 / 3.852 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of Templates: time 0.4088/10.45, allocations: 49.86 MB / 3.901 GB, free: 69 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDCMotorHeatTransfer/TestWaterPumpDCMotorHeatTransfer.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches