Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.0009399/0.0009396, allocations: 175.7 kB / 16.76 MB, free: 5.02 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.569/1.569, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0008152/0.0008153, allocations: 94.39 kB / 271.3 MB, free: 8.246 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.3922/0.3922, allocations: 43.55 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003706, allocations: 12 kB / 432.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1355, allocations: 58.84 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.667/6.802, allocations: 2.798 GB / 3.278 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000314/6.803, allocations: 94.39 kB / 3.278 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.594/8.397, allocations: 440.3 MB / 3.708 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.316e-06/8.397, allocations: 0 / 3.708 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002088/8.397, allocations: 34.75 kB / 3.708 GB, free: 58.78 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.01268/8.41, allocations: 2.472 MB / 3.711 GB, free: 57.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/8.41, allocations: 8.25 kB / 3.711 GB, free: 57.53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004017/8.414, allocations: 443.5 kB / 3.711 GB, free: 57.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003717/8.418, allocations: 1.021 MB / 3.712 GB, free: 57.08 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002799/8.418, allocations: 103.2 kB / 3.712 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008867/8.419, allocations: 136.4 kB / 3.712 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008878/8.428, allocations: 1.709 MB / 3.714 GB, free: 56.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/8.428, allocations: 6.469 kB / 3.714 GB, free: 56.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005201/8.429, allocations: 57.38 kB / 3.714 GB, free: 56.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001511/8.429, allocations: 49.39 kB / 3.714 GB, free: 56.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004908/8.434, allocations: 1.372 MB / 3.716 GB, free: 56.75 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.01197/8.446, allocations: 7.833 MB / 3.723 GB, free: 52.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002761/8.448, allocations: 0.9575 MB / 3.724 GB, free: 52.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006988/8.449, allocations: 389.3 kB / 3.725 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04202/8.491, allocations: 24.15 MB / 3.748 GB, free: 37.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.432e-05/8.491, allocations: 45.53 kB / 3.748 GB, free: 37.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=71): time 2.414e-06/8.491, allocations: 0 / 3.748 GB, free: 37.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=74): time 0.009614/8.501, allocations: 3.032 MB / 3.751 GB, free: 36.75 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/8.501, allocations: 142.7 kB / 3.751 GB, free: 36.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/8.502, allocations: 0.9753 MB / 3.752 GB, free: 36.43 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.788e-05/8.502, allocations: 40.11 kB / 3.752 GB, free: 36.39 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/8.503, allocations: 0.6959 MB / 3.753 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/8.503, allocations: 266.5 kB / 3.753 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/8.503, allocations: 26.56 kB / 3.753 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.994e-05/8.503, allocations: 350.8 kB / 3.754 GB, free: 35.58 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006457/8.504, allocations: 340.5 kB / 3.754 GB, free: 35.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008257/8.505, allocations: 0.7842 MB / 3.755 GB, free: 35.03 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/8.506, allocations: 1.166 MB / 3.756 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/8.506, allocations: 7.875 kB / 3.756 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002294/8.509, allocations: 1.304 MB / 3.757 GB, free: 34.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002336/8.509, allocations: 0.5129 MB / 3.758 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/8.509, allocations: 13.38 kB / 3.758 GB, free: 33.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/8.51, allocations: 278.6 kB / 3.758 GB, free: 33.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008355/8.511, allocations: 284.1 kB / 3.758 GB, free: 33.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007485/8.512, allocations: 0.7612 MB / 3.759 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/8.513, allocations: 99.42 kB / 3.759 GB, free: 33.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/8.513, allocations: 66.53 kB / 3.759 GB, free: 33.24 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/8.513, allocations: 3 kB / 3.759 GB, free: 33.24 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002041/8.515, allocations: 1.176 MB / 3.76 GB, free: 33.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/8.515, allocations: 14.78 kB / 3.76 GB, free: 33.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009256/8.516, allocations: 203.6 kB / 3.76 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008099/8.517, allocations: 281.8 kB / 3.761 GB, free: 33.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006655/8.518, allocations: 0.7364 MB / 3.761 GB, free: 32.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/8.519, allocations: 108.4 kB / 3.761 GB, free: 32.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-05/8.519, allocations: 66.19 kB / 3.762 GB, free: 32.54 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.0008017/8.52, allocations: 403.4 kB / 3.762 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/8.52, allocations: 125 kB / 3.762 GB, free: 32.26 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003785/8.524, allocations: 3.1 MB / 3.765 GB, free: 31.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.851e-05/8.524, allocations: 37.81 kB / 3.765 GB, free: 31.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/8.524, allocations: 0 / 3.765 GB, free: 31.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/8.524, allocations: 6.281 kB / 3.765 GB, free: 31.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006175/8.53, allocations: 4.689 MB / 3.77 GB, free: 31.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/8.53, allocations: 3.312 kB / 3.77 GB, free: 31.14 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006215/8.53, allocations: 164.7 kB / 3.77 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001783/8.532, allocations: 1.035 MB / 3.771 GB, free: 30.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.069e-05/8.532, allocations: 22.84 kB / 3.771 GB, free: 30.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/8.534, allocations: 1.378 MB / 3.772 GB, free: 30.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/8.534, allocations: 0 / 3.772 GB, free: 30.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003964/8.538, allocations: 3.104 MB / 3.775 GB, free: 28.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008497/8.538, allocations: 444 kB / 3.776 GB, free: 28.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/8.539, allocations: 17.56 kB / 3.776 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009974/8.54, allocations: 86.89 kB / 3.776 GB, free: 28.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/8.54, allocations: 65.12 kB / 3.776 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/8.54, allocations: 35.34 kB / 3.776 GB, free: 28.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00141/8.541, allocations: 0.8533 MB / 3.777 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.91e-07/8.542, allocations: 0 / 3.777 GB, free: 27.85 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007694/8.549, allocations: 1.677 MB / 3.778 GB, free: 27.54 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.009549/8.559, allocations: 1.837 MB / 3.78 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004185/8.563, allocations: 1.778 MB / 3.782 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/8.563, allocations: 3.938 kB / 3.782 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/8.564, allocations: 0.8204 MB / 3.783 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003902/8.568, allocations: 462.5 kB / 3.783 GB, free: 26 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00711/8.575, allocations: 4.424 MB / 3.787 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/8.577, allocations: 1.36 MB / 3.789 GB, free: 22.65 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001811/8.578, allocations: 0.6898 MB / 3.789 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003168/8.579, allocations: 102.5 kB / 3.79 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of SimCode: time 1.163e-06/8.579, allocations: 7.406 kB / 3.79 GB, free: 22.58 MB / 0.5105 GB Notification: Performance of Templates: time 0.08081/8.66, allocations: 52.16 MB / 3.84 GB, free: 11.99 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches