Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009169/0.0009169, allocations: 99.77 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3168/0.3168, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002761/0.0002762, allocations: 4 kB / 468.4 MB, free: 7.746 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4017, allocations: 63.24 MB / 0.5192 GB, free: 43.64 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.244/6.645, allocations: 2.805 GB / 3.324 GB, free: 158.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/6.646, allocations: 90.34 kB / 3.324 GB, free: 158.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.656/8.301, allocations: 464.9 MB / 3.778 GB, free: 63.42 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.825e-06/8.301, allocations: 3.938 kB / 3.778 GB, free: 63.41 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001832/8.302, allocations: 32.44 kB / 3.778 GB, free: 63.41 MB / 0.5417 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.01052/8.312, allocations: 2.495 MB / 3.781 GB, free: 62.13 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/8.312, allocations: 10.72 kB / 3.781 GB, free: 62.13 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/8.316, allocations: 457.6 kB / 3.781 GB, free: 62.04 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002862/8.319, allocations: 0.9776 MB / 3.782 GB, free: 61.71 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/8.319, allocations: 107.5 kB / 3.782 GB, free: 61.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004031/8.319, allocations: 135.7 kB / 3.782 GB, free: 61.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003886/8.323, allocations: 1.694 MB / 3.784 GB, free: 61.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-05/8.323, allocations: 1.562 kB / 3.784 GB, free: 61.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000215/8.324, allocations: 60.88 kB / 3.784 GB, free: 61.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.928e-05/8.324, allocations: 48.05 kB / 3.784 GB, free: 61.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003147/8.327, allocations: 1.383 MB / 3.785 GB, free: 61.38 MB / 0.5417 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.009777/8.337, allocations: 7.819 MB / 3.793 GB, free: 56.89 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/8.339, allocations: 0.9462 MB / 3.794 GB, free: 56.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04274/8.382, allocations: 26.73 MB / 3.82 GB, free: 39.48 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.035e-05/8.382, allocations: 44.5 kB / 3.82 GB, free: 39.44 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=71): time 2.935e-06/8.382, allocations: 0 / 3.82 GB, free: 39.44 MB / 0.5417 GB Notification: Performance of matching and sorting (n=74): time 0.008896/8.391, allocations: 2.967 MB / 3.823 GB, free: 38.78 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/8.391, allocations: 139.4 kB / 3.823 GB, free: 38.62 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/8.392, allocations: 0.8608 MB / 3.824 GB, free: 38.46 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.304e-05/8.393, allocations: 38.27 kB / 3.824 GB, free: 38.43 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004866/8.393, allocations: 0.6925 MB / 3.825 GB, free: 38.09 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/8.393, allocations: 261.3 kB / 3.825 GB, free: 37.93 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/8.393, allocations: 26.22 kB / 3.825 GB, free: 37.93 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.983e-05/8.393, allocations: 343 kB / 3.825 GB, free: 37.62 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007249/8.394, allocations: 350.5 kB / 3.826 GB, free: 37.62 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000898/8.395, allocations: 0.7802 MB / 3.826 GB, free: 37.06 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008999/8.396, allocations: 447.9 kB / 3.827 GB, free: 37.03 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/8.396, allocations: 3.906 kB / 3.827 GB, free: 37.03 MB / 0.5417 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002427/8.398, allocations: 1.314 MB / 3.828 GB, free: 36.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001097/8.4, allocations: 5.67 MB / 3.834 GB, free: 30.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.932e-05/8.4, allocations: 14.97 kB / 3.834 GB, free: 30.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/8.401, allocations: 261.9 kB / 3.834 GB, free: 30.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008906/8.402, allocations: 290.5 kB / 3.834 GB, free: 30.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007632/8.403, allocations: 0.7545 MB / 3.835 GB, free: 30.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/8.404, allocations: 109.5 kB / 3.835 GB, free: 30.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/8.404, allocations: 65.88 kB / 3.835 GB, free: 30.39 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/8.404, allocations: 3.969 kB / 3.835 GB, free: 30.39 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002091/8.406, allocations: 1.162 MB / 3.836 GB, free: 30.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/8.406, allocations: 20.42 kB / 3.836 GB, free: 30.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009604/8.407, allocations: 203 kB / 3.836 GB, free: 30.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008537/8.408, allocations: 283.7 kB / 3.837 GB, free: 30.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006718/8.409, allocations: 0.7339 MB / 3.837 GB, free: 29.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/8.41, allocations: 103.6 kB / 3.837 GB, free: 29.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/8.41, allocations: 61.17 kB / 3.837 GB, free: 29.69 MB / 0.5417 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.0007446/8.411, allocations: 406.1 kB / 3.838 GB, free: 29.47 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002492/8.411, allocations: 115.2 kB / 3.838 GB, free: 29.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003487/8.415, allocations: 3.124 MB / 3.841 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.963e-05/8.415, allocations: 39.95 kB / 3.841 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/8.415, allocations: 0 / 3.841 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/8.415, allocations: 6.844 kB / 3.841 GB, free: 29.03 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005653/8.42, allocations: 4.676 MB / 3.846 GB, free: 28.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/8.42, allocations: 3.625 kB / 3.846 GB, free: 28.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006266/8.421, allocations: 168.4 kB / 3.846 GB, free: 28.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001781/8.423, allocations: 1.036 MB / 3.847 GB, free: 27.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-05/8.423, allocations: 28.53 kB / 3.847 GB, free: 27.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/8.424, allocations: 1.377 MB / 3.848 GB, free: 26.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/8.424, allocations: 3.938 kB / 3.848 GB, free: 26.93 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003724/8.428, allocations: 3.193 MB / 3.851 GB, free: 25.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000747/8.428, allocations: 435.5 kB / 3.852 GB, free: 24.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003108/8.429, allocations: 23.52 kB / 3.852 GB, free: 24.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009163/8.43, allocations: 81.8 kB / 3.852 GB, free: 24.95 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/8.43, allocations: 76.61 kB / 3.852 GB, free: 24.94 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/8.43, allocations: 36.2 kB / 3.852 GB, free: 24.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001227/8.431, allocations: 0.8495 MB / 3.853 GB, free: 24.58 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/8.431, allocations: 0 / 3.853 GB, free: 24.58 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008343/8.44, allocations: 1.693 MB / 3.854 GB, free: 24.27 MB / 0.5417 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.0088/8.448, allocations: 1.851 MB / 3.856 GB, free: 23.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003541/8.452, allocations: 1.781 MB / 3.858 GB, free: 23.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/8.452, allocations: 0 / 3.858 GB, free: 23.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001193/8.453, allocations: 0.8236 MB / 3.859 GB, free: 22.85 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002949/8.456, allocations: 457.7 kB / 3.859 GB, free: 22.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00686/8.463, allocations: 4.411 MB / 3.863 GB, free: 20.14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/8.464, allocations: 1.397 MB / 3.865 GB, free: 19.39 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001578/8.466, allocations: 0.7012 MB / 3.866 GB, free: 19.34 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/8.466, allocations: 108 kB / 3.866 GB, free: 19.32 MB / 0.5417 GB Notification: Performance of SimCode: time 7.61e-07/8.466, allocations: 0 / 3.866 GB, free: 19.32 MB / 0.5417 GB Notification: Performance of Templates: time 0.06512/8.531, allocations: 49.82 MB / 3.914 GB, free: 9.965 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches