Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 203.2 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.253/1.253, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001022/0.001022, allocations: 96.75 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3322/0.3322, allocations: 45.22 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002587/0.0002588, allocations: 8 kB / 468.4 MB, free: 7.727 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3561, allocations: 63.24 MB / 0.5192 GB, free: 43.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.397/6.753, allocations: 2.804 GB / 3.324 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/6.753, allocations: 90.83 kB / 3.324 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.631/8.384, allocations: 464.1 MB / 3.777 GB, free: 54.54 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.104e-06/8.384, allocations: 3.938 kB / 3.777 GB, free: 54.54 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001597/8.384, allocations: 39.44 kB / 3.777 GB, free: 54.52 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.009553/8.394, allocations: 2.47 MB / 3.779 GB, free: 53.08 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/8.394, allocations: 6.844 kB / 3.779 GB, free: 53.08 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003288/8.397, allocations: 441.6 kB / 3.78 GB, free: 52.97 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/8.4, allocations: 0.9782 MB / 3.781 GB, free: 52.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/8.4, allocations: 100.4 kB / 3.781 GB, free: 52.34 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003393/8.4, allocations: 130.9 kB / 3.781 GB, free: 52.29 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003814/8.404, allocations: 1.668 MB / 3.783 GB, free: 51.53 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.988e-05/8.404, allocations: 11.75 kB / 3.783 GB, free: 51.52 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/8.404, allocations: 58.91 kB / 3.783 GB, free: 51.48 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/8.404, allocations: 46.27 kB / 3.783 GB, free: 51.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003029/8.407, allocations: 1.352 MB / 3.784 GB, free: 51.07 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.008362/8.416, allocations: 7.845 MB / 3.792 GB, free: 45.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/8.418, allocations: 0.9432 MB / 3.793 GB, free: 44.91 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0414/8.459, allocations: 26.73 MB / 3.819 GB, free: 26.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/8.459, allocations: 38.72 kB / 3.819 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=68): time 2.945e-06/8.459, allocations: 0 / 3.819 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71): time 0.009854/8.469, allocations: 3.034 MB / 3.822 GB, free: 25.08 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/8.469, allocations: 143.6 kB / 3.822 GB, free: 24.91 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/8.471, allocations: 0.8656 MB / 3.823 GB, free: 24.54 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.519e-05/8.471, allocations: 41.67 kB / 3.823 GB, free: 24.49 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/8.471, allocations: 0.6918 MB / 3.823 GB, free: 23.89 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/8.472, allocations: 249.2 kB / 3.824 GB, free: 23.67 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/8.472, allocations: 24 kB / 3.824 GB, free: 23.65 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.354e-05/8.472, allocations: 344.1 kB / 3.824 GB, free: 23.32 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006463/8.472, allocations: 339.8 kB / 3.824 GB, free: 23.04 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008516/8.473, allocations: 0.7741 MB / 3.825 GB, free: 22.12 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007642/8.474, allocations: 451.4 kB / 3.826 GB, free: 21.71 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/8.474, allocations: 4 kB / 3.826 GB, free: 21.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002258/8.476, allocations: 1.308 MB / 3.827 GB, free: 20.51 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00118/8.478, allocations: 5.745 MB / 3.832 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/8.478, allocations: 15.94 kB / 3.832 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001522/8.479, allocations: 314.4 kB / 3.833 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007832/8.48, allocations: 272.5 kB / 3.833 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/8.481, allocations: 0.8147 MB / 3.834 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/8.482, allocations: 98.25 kB / 3.834 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.229e-05/8.482, allocations: 67.94 kB / 3.834 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/8.482, allocations: 6.656 kB / 3.834 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002394/8.485, allocations: 1.184 MB / 3.835 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/8.485, allocations: 20.75 kB / 3.835 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/8.486, allocations: 224 kB / 3.835 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007414/8.487, allocations: 276.8 kB / 3.836 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009877/8.488, allocations: 0.7832 MB / 3.836 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/8.489, allocations: 93.45 kB / 3.836 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/8.489, allocations: 63 kB / 3.837 GB, free: 10.55 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (128): * Single equations (assignments): 127 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007081/8.489, allocations: 400.4 kB / 3.837 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/8.49, allocations: 118.5 kB / 3.837 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003627/8.493, allocations: 3.123 MB / 3.84 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.753e-05/8.493, allocations: 43.42 kB / 3.84 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/8.493, allocations: 0 / 3.84 GB, free: 7.238 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/8.493, allocations: 7.875 kB / 3.84 GB, free: 7.234 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005106/8.498, allocations: 4.65 MB / 3.845 GB, free: 3.219 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/8.498, allocations: 7.938 kB / 3.845 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/8.499, allocations: 147.2 kB / 3.845 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/8.501, allocations: 1.073 MB / 3.846 GB, free: 2.184 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/8.501, allocations: 20 kB / 3.846 GB, free: 2.164 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/8.502, allocations: 1.444 MB / 3.847 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/8.502, allocations: 3.797 kB / 3.847 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004486/8.507, allocations: 3.052 MB / 3.85 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000907/8.507, allocations: 429.6 kB / 3.851 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/8.508, allocations: 16 kB / 3.851 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007067/8.508, allocations: 90.59 kB / 3.851 GB, free: 13.61 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/8.509, allocations: 70.86 kB / 3.851 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/8.509, allocations: 28 kB / 3.851 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00124/8.51, allocations: 0.8509 MB / 3.852 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/8.51, allocations: 0 / 3.852 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007263/8.517, allocations: 1.678 MB / 3.853 GB, free: 11.17 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i) * 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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (65): * Single equations (assignments): 58 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01007/8.527, allocations: 1.827 MB / 3.855 GB, free: 9.734 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004969/8.532, allocations: 1.774 MB / 3.857 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/8.532, allocations: 0 / 3.857 GB, free: 8.086 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/8.534, allocations: 0.8141 MB / 3.858 GB, free: 7.273 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/8.536, allocations: 464.5 kB / 3.858 GB, free: 6.832 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007158/8.544, allocations: 4.274 MB / 3.862 GB, free: 2.52 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/8.545, allocations: 1.389 MB / 3.864 GB, free: 1.098 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001685/8.546, allocations: 0.7294 MB / 3.864 GB, free: 388 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/8.547, allocations: 91.42 kB / 3.864 GB, free: 296 kB / 0.5573 GB Notification: Performance of SimCode: time 1.052e-06/8.547, allocations: 4 kB / 3.864 GB, free: 292 kB / 0.5573 GB Notification: Performance of Templates: time 0.3936/8.94, allocations: 49.65 MB / 3.913 GB, free: 68.88 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDCMotor/TestWaterPumpDCMotor.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches