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.0009725/0.0009724, allocations: 178.5 kB / 18.09 MB, free: 3.75 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.354/1.354, allocations: 223.3 MB / 242.1 MB, free: 9.949 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.00101/0.00101, allocations: 90.55 kB / 293.3 MB, free: 10.56 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.3753/0.3753, allocations: 44.14 MB / 388.5 MB, free: 38.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004683, allocations: 12 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3814, allocations: 61.88 MB / 0.5107 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.366/6.747, allocations: 2.804 GB / 3.315 GB, free: 46.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/6.748, allocations: 95.94 kB / 3.315 GB, free: 46.51 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.588/8.336, allocations: 444.9 MB / 3.75 GB, free: 20.53 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.464e-06/8.336, allocations: 0.6562 kB / 3.75 GB, free: 20.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001632/8.336, allocations: 34.66 kB / 3.75 GB, free: 20.5 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.009535/8.346, allocations: 2.471 MB / 3.752 GB, free: 17.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/8.346, allocations: 11.97 kB / 3.752 GB, free: 17.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003347/8.349, allocations: 446.6 kB / 3.752 GB, free: 17.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/8.352, allocations: 1.021 MB / 3.753 GB, free: 16.49 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001224/8.352, allocations: 102.7 kB / 3.754 GB, free: 16.39 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003834/8.352, allocations: 135.9 kB / 3.754 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004031/8.356, allocations: 1.702 MB / 3.755 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.308e-05/8.356, allocations: 7.938 kB / 3.755 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/8.356, allocations: 56 kB / 3.755 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.57e-05/8.356, allocations: 46.36 kB / 3.755 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003283/8.36, allocations: 1.375 MB / 3.757 GB, free: 12.95 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.009503/8.369, allocations: 7.828 MB / 3.764 GB, free: 4.629 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002298/8.372, allocations: 0.9496 MB / 3.765 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006561/8.372, allocations: 391.5 kB / 3.766 GB, free: 3.289 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3907/8.763, allocations: 24.15 MB / 3.789 GB, free: 31.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.931e-05/8.763, allocations: 40.41 kB / 3.789 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=71): time 3.166e-06/8.763, allocations: 0 / 3.789 GB, free: 31.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.00974/8.773, allocations: 3.028 MB / 3.792 GB, free: 31.11 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/8.773, allocations: 138.3 kB / 3.792 GB, free: 30.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001705/8.775, allocations: 0.9834 MB / 3.793 GB, free: 30.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.89e-05/8.775, allocations: 38.23 kB / 3.793 GB, free: 30.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004775/8.775, allocations: 0.7014 MB / 3.794 GB, free: 30.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/8.776, allocations: 261.2 kB / 3.794 GB, free: 30.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/8.776, allocations: 27.59 kB / 3.794 GB, free: 30.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.324e-05/8.776, allocations: 348.5 kB / 3.795 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007301/8.776, allocations: 346.6 kB / 3.795 GB, free: 30.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009687/8.777, allocations: 0.7833 MB / 3.796 GB, free: 29.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/8.779, allocations: 1.169 MB / 3.797 GB, free: 29 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/8.779, allocations: 2.719 kB / 3.797 GB, free: 29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00269/8.782, allocations: 1.31 MB / 3.798 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003764/8.782, allocations: 0.5061 MB / 3.799 GB, free: 28.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/8.782, allocations: 12.09 kB / 3.799 GB, free: 28.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001405/8.784, allocations: 281.5 kB / 3.799 GB, free: 28.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008764/8.785, allocations: 287.8 kB / 3.799 GB, free: 28.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008039/8.785, allocations: 0.755 MB / 3.8 GB, free: 27.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/8.787, allocations: 102.2 kB / 3.8 GB, free: 27.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/8.787, allocations: 66.5 kB / 3.8 GB, free: 27.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/8.787, allocations: 2.969 kB / 3.8 GB, free: 27.76 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002186/8.789, allocations: 1.17 MB / 3.801 GB, free: 27.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.996e-05/8.789, allocations: 13.81 kB / 3.801 GB, free: 27.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009696/8.79, allocations: 199.2 kB / 3.802 GB, free: 27.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008475/8.791, allocations: 285.9 kB / 3.802 GB, free: 27.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007259/8.792, allocations: 0.7379 MB / 3.803 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/8.793, allocations: 106.8 kB / 3.803 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/8.793, allocations: 60.2 kB / 3.803 GB, free: 27.2 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.0008755/8.794, allocations: 407.8 kB / 3.803 GB, free: 27.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003046/8.794, allocations: 117.6 kB / 3.803 GB, free: 26.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003918/8.798, allocations: 3.107 MB / 3.806 GB, free: 26.67 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.137e-05/8.798, allocations: 41.08 kB / 3.806 GB, free: 26.67 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/8.798, allocations: 3.062 kB / 3.806 GB, free: 26.67 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/8.798, allocations: 6.938 kB / 3.806 GB, free: 26.67 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007056/8.805, allocations: 4.688 MB / 3.811 GB, free: 26.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/8.805, allocations: 1.5 kB / 3.811 GB, free: 26.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006794/8.806, allocations: 167.7 kB / 3.811 GB, free: 26.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002223/8.808, allocations: 1.042 MB / 3.812 GB, free: 26.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.008e-05/8.808, allocations: 25.31 kB / 3.812 GB, free: 26.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/8.81, allocations: 1.376 MB / 3.813 GB, free: 25.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/8.81, allocations: 1.25 kB / 3.813 GB, free: 25.58 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004522/8.814, allocations: 3.101 MB / 3.816 GB, free: 25.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009388/8.815, allocations: 434.9 kB / 3.817 GB, free: 24.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003908/8.815, allocations: 17.28 kB / 3.817 GB, free: 24.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/8.817, allocations: 90.73 kB / 3.817 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/8.817, allocations: 75.19 kB / 3.817 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.772e-05/8.817, allocations: 29.7 kB / 3.817 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001539/8.818, allocations: 0.8539 MB / 3.818 GB, free: 24.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/8.818, allocations: 3.531 kB / 3.818 GB, free: 24.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009393/8.828, allocations: 1.678 MB / 3.82 GB, free: 24.87 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.01097/8.839, allocations: 1.839 MB / 3.821 GB, free: 24.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004785/8.844, allocations: 1.778 MB / 3.823 GB, free: 24.69 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/8.844, allocations: 4.312 kB / 3.823 GB, free: 24.69 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/8.845, allocations: 0.8168 MB / 3.824 GB, free: 24.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004058/8.849, allocations: 466.8 kB / 3.824 GB, free: 24.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007806/8.857, allocations: 4.424 MB / 3.829 GB, free: 22.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/8.859, allocations: 1.356 MB / 3.83 GB, free: 21.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00202/8.861, allocations: 0.7066 MB / 3.831 GB, free: 21.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/8.861, allocations: 96.33 kB / 3.831 GB, free: 21.94 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/8.861, allocations: 0 / 3.831 GB, free: 21.94 MB / 0.5261 GB Notification: Performance of Templates: time 0.07954/8.94, allocations: 52.24 MB / 3.882 GB, free: 19.23 MB / 0.5261 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/jenkins1/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