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.001273/0.001273, allocations: 184.7 kB / 15.76 MB, free: 6.367 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.766/1.766, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001009/0.001009, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.244/0.244, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003866, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1552, allocations: 58.85 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.275/7.43, allocations: 2.798 GB / 3.277 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/7.431, allocations: 88.11 kB / 3.277 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.781/9.212, allocations: 460.2 MB / 3.726 GB, free: 49.13 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.645e-06/9.212, allocations: 0 / 3.726 GB, free: 49.13 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001037/9.212, allocations: 36.39 kB / 3.726 GB, free: 49.12 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.0102/9.222, allocations: 2.493 MB / 3.729 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/9.222, allocations: 7.406 kB / 3.729 GB, free: 47.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/9.226, allocations: 444.8 kB / 3.729 GB, free: 47.56 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003031/9.229, allocations: 0.9795 MB / 3.73 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/9.229, allocations: 103.4 kB / 3.73 GB, free: 46.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/9.23, allocations: 134 kB / 3.73 GB, free: 46.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003825/9.233, allocations: 1.704 MB / 3.732 GB, free: 46.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.437e-05/9.233, allocations: 3.938 kB / 3.732 GB, free: 46.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/9.234, allocations: 55.81 kB / 3.732 GB, free: 46.06 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.578e-05/9.234, allocations: 57.5 kB / 3.732 GB, free: 46.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/9.237, allocations: 1.371 MB / 3.733 GB, free: 45.64 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.009168/9.246, allocations: 7.821 MB / 3.741 GB, free: 39.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002347/9.248, allocations: 0.9516 MB / 3.742 GB, free: 39.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04099/9.289, allocations: 24.17 MB / 3.765 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.802e-05/9.289, allocations: 47.22 kB / 3.765 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=71): time 4.438e-06/9.289, allocations: 0 / 3.765 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=74): time 0.009936/9.299, allocations: 2.975 MB / 3.768 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/9.299, allocations: 137.2 kB / 3.768 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0014/9.301, allocations: 0.8611 MB / 3.769 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.964e-05/9.301, allocations: 37.7 kB / 3.769 GB, free: 9.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/9.301, allocations: 0.7002 MB / 3.77 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/9.302, allocations: 260.1 kB / 3.77 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/9.302, allocations: 24 kB / 3.77 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001107/9.302, allocations: 349.9 kB / 3.771 GB, free: 8.512 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006694/9.302, allocations: 342.4 kB / 3.771 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008118/9.303, allocations: 0.7833 MB / 3.772 GB, free: 7.188 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007542/9.304, allocations: 455 kB / 3.772 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/9.304, allocations: 4 kB / 3.772 GB, free: 6.742 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002296/9.306, allocations: 1.305 MB / 3.773 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0014/9.308, allocations: 5.66 MB / 3.779 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/9.308, allocations: 16 kB / 3.779 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/9.309, allocations: 272.3 kB / 3.779 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009612/9.31, allocations: 287.5 kB / 3.78 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009309/9.311, allocations: 0.7552 MB / 3.78 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/9.312, allocations: 103.9 kB / 3.78 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/9.313, allocations: 67.94 kB / 3.78 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/9.313, allocations: 7.938 kB / 3.78 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002344/9.315, allocations: 1.172 MB / 3.782 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/9.315, allocations: 12 kB / 3.782 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/9.316, allocations: 189.2 kB / 3.782 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008763/9.317, allocations: 291.7 kB / 3.782 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000851/9.318, allocations: 0.7317 MB / 3.783 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/9.319, allocations: 107.8 kB / 3.783 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.143e-05/9.319, allocations: 63.98 kB / 3.783 GB, free: 11.21 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.0008937/9.32, allocations: 408.7 kB / 3.783 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001946/9.32, allocations: 122.4 kB / 3.783 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004229/9.324, allocations: 3.1 MB / 3.786 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.855e-05/9.324, allocations: 43.94 kB / 3.787 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/9.324, allocations: 0 / 3.787 GB, free: 7.516 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/9.324, allocations: 3.984 kB / 3.787 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006657/9.331, allocations: 4.689 MB / 3.791 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/9.331, allocations: 4 kB / 3.791 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006628/9.332, allocations: 163.8 kB / 3.791 GB, free: 2.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/9.334, allocations: 1.044 MB / 3.792 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.428e-05/9.334, allocations: 23.98 kB / 3.792 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/9.335, allocations: 1.368 MB / 3.794 GB, free: 128 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/9.335, allocations: 0 / 3.794 GB, free: 128 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3908/9.726, allocations: 3.195 MB / 3.797 GB, free: 70.98 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001117/9.727, allocations: 434.7 kB / 3.797 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/9.728, allocations: 15.47 kB / 3.797 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007877/9.728, allocations: 88.7 kB / 3.797 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/9.729, allocations: 75.11 kB / 3.797 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.426e-05/9.729, allocations: 34.59 kB / 3.797 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001292/9.73, allocations: 0.8553 MB / 3.798 GB, free: 70.78 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/9.73, allocations: 1.75 kB / 3.798 GB, free: 70.78 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008238/9.738, allocations: 1.675 MB / 3.8 GB, free: 70.78 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.009583/9.748, allocations: 1.827 MB / 3.802 GB, free: 70.66 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004319/9.752, allocations: 1.775 MB / 3.803 GB, free: 70.64 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/9.752, allocations: 0.8438 kB / 3.803 GB, free: 70.64 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001482/9.754, allocations: 0.8224 MB / 3.804 GB, free: 70.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002777/9.757, allocations: 456 kB / 3.805 GB, free: 70.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006771/9.763, allocations: 4.412 MB / 3.809 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/9.764, allocations: 1.398 MB / 3.81 GB, free: 67.94 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001948/9.766, allocations: 0.7035 MB / 3.811 GB, free: 67.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/9.767, allocations: 103.1 kB / 3.811 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/9.767, allocations: 0 / 3.811 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of Templates: time 0.07407/9.841, allocations: 49.67 MB / 3.86 GB, free: 65.94 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/jenkins/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