Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001165, allocations: 177 kB / 17.06 MB, free: 5.098 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.463/1.463, allocations: 223.2 MB / 241 MB, free: 10.13 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.0009749/0.0009747, allocations: 95.03 kB / 292.2 MB, free: 10.68 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.4233/0.4233, allocations: 44.21 MB / 387.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003345/0.0003345, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3912, allocations: 61.9 MB / 0.5096 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.095/7.487, allocations: 2.803 GB / 3.313 GB, free: 48.55 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/7.487, allocations: 95.92 kB / 3.313 GB, free: 48.46 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.798/9.285, allocations: 464 MB / 3.766 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.204e-06/9.285, allocations: 0 / 3.766 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001568/9.285, allocations: 35.98 kB / 3.766 GB, free: 4.363 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.01087/9.296, allocations: 2.462 MB / 3.769 GB, free: 1.848 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/9.296, allocations: 12.03 kB / 3.769 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004451/9.3, allocations: 441.7 kB / 3.769 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003752/9.304, allocations: 0.9766 MB / 3.77 GB, free: 388 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/9.304, allocations: 102.6 kB / 3.77 GB, free: 284 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005478/9.305, allocations: 135.9 kB / 3.77 GB, free: 148 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4157/9.721, allocations: 1.658 MB / 3.772 GB, free: 40.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/9.721, allocations: 13 kB / 3.772 GB, free: 40.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/9.721, allocations: 56.81 kB / 3.772 GB, free: 40.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.592e-05/9.721, allocations: 49.59 kB / 3.772 GB, free: 40.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/9.724, allocations: 1.351 MB / 3.773 GB, free: 40.61 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.009196/9.733, allocations: 7.842 MB / 3.781 GB, free: 36.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/9.736, allocations: 0.9411 MB / 3.782 GB, free: 36.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04569/9.781, allocations: 24.16 MB / 3.806 GB, free: 37.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/9.782, allocations: 42.56 kB / 3.806 GB, free: 37.36 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=68): time 3.056e-06/9.782, allocations: 0 / 3.806 GB, free: 37.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71): time 0.009344/9.791, allocations: 3.033 MB / 3.809 GB, free: 36.76 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/9.791, allocations: 138.9 kB / 3.809 GB, free: 36.61 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/9.792, allocations: 0.8658 MB / 3.809 GB, free: 36.45 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.475e-05/9.792, allocations: 39.7 kB / 3.81 GB, free: 36.42 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004517/9.793, allocations: 0.6944 MB / 3.81 GB, free: 36.15 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/9.793, allocations: 252.4 kB / 3.81 GB, free: 36.03 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/9.793, allocations: 19.25 kB / 3.81 GB, free: 36.03 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001651/9.793, allocations: 347.3 kB / 3.811 GB, free: 35.73 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006741/9.794, allocations: 336.3 kB / 3.811 GB, free: 35.73 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008777/9.795, allocations: 0.7811 MB / 3.812 GB, free: 35.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007808/9.796, allocations: 448 kB / 3.812 GB, free: 35.17 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/9.796, allocations: 2.656 kB / 3.812 GB, free: 35.17 MB / 0.5417 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002458/9.798, allocations: 1.311 MB / 3.814 GB, free: 35.05 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002502/9.801, allocations: 5.746 MB / 3.819 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/9.801, allocations: 19.41 kB / 3.819 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001621/9.802, allocations: 305.2 kB / 3.82 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/9.803, allocations: 268.8 kB / 3.82 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/9.805, allocations: 0.8117 MB / 3.821 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/9.806, allocations: 107.8 kB / 3.821 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/9.806, allocations: 61.34 kB / 3.821 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/9.806, allocations: 8.031 kB / 3.821 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002949/9.809, allocations: 1.189 MB / 3.822 GB, free: 28.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.997e-05/9.809, allocations: 14.58 kB / 3.822 GB, free: 28.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/9.811, allocations: 220.6 kB / 3.822 GB, free: 28.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009257/9.812, allocations: 270 kB / 3.822 GB, free: 28.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/9.813, allocations: 0.7923 MB / 3.823 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/9.814, allocations: 92.34 kB / 3.823 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/9.814, allocations: 62.69 kB / 3.823 GB, free: 27.98 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.001015/9.815, allocations: 400 kB / 3.824 GB, free: 27.79 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002789/9.816, allocations: 121 kB / 3.824 GB, free: 27.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004669/9.82, allocations: 3.127 MB / 3.827 GB, free: 27.44 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-05/9.82, allocations: 37.53 kB / 3.827 GB, free: 27.44 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/9.82, allocations: 3.062 kB / 3.827 GB, free: 27.44 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/9.82, allocations: 8.625 kB / 3.827 GB, free: 27.44 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006593/9.827, allocations: 4.649 MB / 3.831 GB, free: 26.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/9.827, allocations: 3.75 kB / 3.831 GB, free: 26.94 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/9.828, allocations: 147.4 kB / 3.832 GB, free: 26.94 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002544/9.83, allocations: 1.082 MB / 3.833 GB, free: 26.89 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.585e-05/9.83, allocations: 23.72 kB / 3.833 GB, free: 26.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/9.832, allocations: 1.439 MB / 3.834 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/9.832, allocations: 5.594 kB / 3.834 GB, free: 26.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004722/9.837, allocations: 2.997 MB / 3.837 GB, free: 25.82 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/9.838, allocations: 430.1 kB / 3.837 GB, free: 25.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/9.838, allocations: 20.84 kB / 3.837 GB, free: 25.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007551/9.839, allocations: 87.89 kB / 3.838 GB, free: 25.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/9.839, allocations: 69.92 kB / 3.838 GB, free: 25.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.647e-05/9.839, allocations: 33.41 kB / 3.838 GB, free: 25.61 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001438/9.841, allocations: 0.8546 MB / 3.838 GB, free: 25.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.91e-07/9.841, allocations: 0 / 3.838 GB, free: 25.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00855/9.849, allocations: 1.663 MB / 3.84 GB, free: 25.5 MB / 0.5417 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.009253/9.858, allocations: 1.834 MB / 3.842 GB, free: 25.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004339/9.863, allocations: 1.768 MB / 3.844 GB, free: 25.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/9.863, allocations: 0 / 3.844 GB, free: 25.27 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/9.864, allocations: 0.8112 MB / 3.844 GB, free: 25.26 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/9.866, allocations: 459.4 kB / 3.845 GB, free: 25.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005467/9.872, allocations: 4.273 MB / 3.849 GB, free: 23.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/9.873, allocations: 1.389 MB / 3.85 GB, free: 22.58 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001859/9.875, allocations: 0.7317 MB / 3.851 GB, free: 22.57 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/9.875, allocations: 96.03 kB / 3.851 GB, free: 22.56 MB / 0.5417 GB Notification: Performance of SimCode: time 7.61e-07/9.875, allocations: 0 / 3.851 GB, free: 22.56 MB / 0.5417 GB Notification: Performance of Templates: time 0.06745/9.943, allocations: 49.61 MB / 3.9 GB, free: 19.85 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches