Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 175.8 kB / 16.77 MB, free: 5.047 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.561/1.561, allocations: 205.4 MB / 222.9 MB, free: 9.016 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.000807/0.0008069, allocations: 81.09 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.4103/0.4103, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004188, allocations: 12 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1353, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.554/6.689, allocations: 2.798 GB / 3.278 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/6.69, allocations: 88.97 kB / 3.278 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.539/8.229, allocations: 439.5 MB / 3.707 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.214e-06/8.229, allocations: 3.969 kB / 3.707 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001523/8.229, allocations: 31.95 kB / 3.707 GB, free: 58.67 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.009644/8.239, allocations: 2.443 MB / 3.71 GB, free: 57.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/8.239, allocations: 10.03 kB / 3.71 GB, free: 57.45 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/8.242, allocations: 452.6 kB / 3.71 GB, free: 57.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002468/8.245, allocations: 1.003 MB / 3.711 GB, free: 57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/8.245, allocations: 107.7 kB / 3.711 GB, free: 57 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000394/8.245, allocations: 128.6 kB / 3.711 GB, free: 57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004596/8.25, allocations: 1.68 MB / 3.713 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.731e-05/8.25, allocations: 1.906 kB / 3.713 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/8.25, allocations: 62 kB / 3.713 GB, free: 56.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.818e-05/8.25, allocations: 56.98 kB / 3.713 GB, free: 56.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003718/8.254, allocations: 1.345 MB / 3.714 GB, free: 56.68 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.01186/8.266, allocations: 7.862 MB / 3.722 GB, free: 52.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/8.269, allocations: 0.9515 MB / 3.723 GB, free: 52.05 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00076/8.27, allocations: 373.8 kB / 3.723 GB, free: 52.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04023/8.31, allocations: 24.15 MB / 3.747 GB, free: 37.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/8.31, allocations: 40.72 kB / 3.747 GB, free: 37.24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 2.565e-06/8.31, allocations: 0 / 3.747 GB, free: 37.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71): time 0.01062/8.321, allocations: 3.157 MB / 3.75 GB, free: 36.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/8.321, allocations: 147 kB / 3.75 GB, free: 36.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/8.322, allocations: 0.9771 MB / 3.751 GB, free: 36.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/8.322, allocations: 40.11 kB / 3.751 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003626/8.322, allocations: 0.6976 MB / 3.752 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001693/8.323, allocations: 252.8 kB / 3.752 GB, free: 35.73 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/8.323, allocations: 20.72 kB / 3.752 GB, free: 35.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.084e-05/8.323, allocations: 347.5 kB / 3.752 GB, free: 35.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006627/8.323, allocations: 333.8 kB / 3.753 GB, free: 35.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008189/8.324, allocations: 0.788 MB / 3.753 GB, free: 34.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/8.326, allocations: 1.153 MB / 3.755 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/8.326, allocations: 6.969 kB / 3.755 GB, free: 34.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002318/8.328, allocations: 1.309 MB / 3.756 GB, free: 34.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002561/8.328, allocations: 0.517 MB / 3.756 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/8.328, allocations: 15.62 kB / 3.756 GB, free: 33.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/8.33, allocations: 357 kB / 3.757 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007796/8.331, allocations: 266.5 kB / 3.757 GB, free: 33.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/8.332, allocations: 0.8133 MB / 3.758 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/8.333, allocations: 99.45 kB / 3.758 GB, free: 33.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.273e-05/8.333, allocations: 66.47 kB / 3.758 GB, free: 33.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/8.333, allocations: 3.781 kB / 3.758 GB, free: 33.08 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002377/8.336, allocations: 1.195 MB / 3.759 GB, free: 33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/8.336, allocations: 14.66 kB / 3.759 GB, free: 33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009759/8.337, allocations: 223.3 kB / 3.759 GB, free: 32.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007832/8.338, allocations: 277.2 kB / 3.76 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009878/8.339, allocations: 0.7813 MB / 3.76 GB, free: 32.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/8.34, allocations: 98.8 kB / 3.76 GB, free: 32.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.908e-05/8.34, allocations: 63.08 kB / 3.761 GB, free: 32.41 MB / 0.5105 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.0008616/8.341, allocations: 407.2 kB / 3.761 GB, free: 32.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/8.341, allocations: 115.7 kB / 3.761 GB, free: 32.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/8.345, allocations: 3.112 MB / 3.764 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.04e-05/8.345, allocations: 38.19 kB / 3.764 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/8.345, allocations: 3.516 kB / 3.764 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/8.345, allocations: 2.672 kB / 3.764 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005981/8.351, allocations: 4.652 MB / 3.769 GB, free: 31.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/8.351, allocations: 3.156 kB / 3.769 GB, free: 31.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/8.351, allocations: 153.3 kB / 3.769 GB, free: 31.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001902/8.353, allocations: 1.078 MB / 3.77 GB, free: 30.98 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/8.353, allocations: 18.59 kB / 3.77 GB, free: 30.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/8.355, allocations: 1.446 MB / 3.771 GB, free: 30.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/8.355, allocations: 2.938 kB / 3.771 GB, free: 30.06 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/8.359, allocations: 2.905 MB / 3.774 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008626/8.359, allocations: 432.2 kB / 3.775 GB, free: 28.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/8.36, allocations: 19.09 kB / 3.775 GB, free: 28.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/8.36, allocations: 87.73 kB / 3.775 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/8.36, allocations: 72.89 kB / 3.775 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/8.361, allocations: 32.75 kB / 3.775 GB, free: 28.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001185/8.362, allocations: 0.8547 MB / 3.776 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.1e-07/8.362, allocations: 0 / 3.776 GB, free: 27.95 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007529/8.369, allocations: 1.663 MB / 3.777 GB, free: 27.64 MB / 0.5105 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.00863/8.378, allocations: 1.813 MB / 3.779 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004166/8.382, allocations: 1.777 MB / 3.781 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/8.382, allocations: 0 / 3.781 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/8.383, allocations: 0.8123 MB / 3.782 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002895/8.386, allocations: 459.1 kB / 3.782 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005994/8.392, allocations: 4.284 MB / 3.786 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009542/8.393, allocations: 1.35 MB / 3.787 GB, free: 22.85 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001686/8.395, allocations: 0.7382 MB / 3.788 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/8.395, allocations: 89.14 kB / 3.788 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/8.395, allocations: 0 / 3.788 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of Templates: time 0.07344/8.469, allocations: 52.01 MB / 3.839 GB, free: 13.76 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDCMotor/TestWaterPumpDCMotor.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches