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.001011/0.001011, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.3 MB / 213.7 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009344/0.0009344, allocations: 86.62 kB / 261.7 MB, free: 1.617 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.2033/0.2033, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.506e-05/1.508e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09401/0.09403, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.449/5.543, allocations: 2.797 GB / 3.263 GB, free: 159.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/5.543, allocations: 95.06 kB / 3.263 GB, free: 159.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.5/7.043, allocations: 453.7 MB / 3.706 GB, free: 59.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.242e-06/7.043, allocations: 0 / 3.706 GB, free: 59.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000145/7.043, allocations: 36.28 kB / 3.706 GB, free: 59.09 MB / 0.4948 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.008449/7.051, allocations: 2.295 MB / 3.708 GB, free: 57.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/7.052, allocations: 13.53 kB / 3.708 GB, free: 57.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003244/7.055, allocations: 441.8 kB / 3.708 GB, free: 57.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/7.057, allocations: 0.9727 MB / 3.709 GB, free: 57.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.381e-05/7.057, allocations: 50.78 kB / 3.709 GB, free: 57.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003173/7.058, allocations: 74 kB / 3.71 GB, free: 57.07 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001935/7.06, allocations: 0.9356 MB / 3.71 GB, free: 56.71 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/7.062, allocations: 1.214 MB / 3.712 GB, free: 56.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/7.062, allocations: 6.594 kB / 3.712 GB, free: 56.08 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/7.062, allocations: 3.906 kB / 3.712 GB, free: 56.08 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/7.062, allocations: 54.67 kB / 3.712 GB, free: 56.07 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.1413/7.203, allocations: 86.74 MB / 3.796 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000942/7.204, allocations: 0.4925 MB / 3.797 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/7.205, allocations: 258.4 kB / 3.797 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3839/7.589, allocations: 16.63 MB / 3.813 GB, free: 87.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.106e-05/7.589, allocations: 42.5 kB / 3.813 GB, free: 87.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=60): time 2.966e-06/7.589, allocations: 3.844 kB / 3.813 GB, free: 87.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=63): time 0.006456/7.595, allocations: 2.015 MB / 3.815 GB, free: 86.94 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/7.595, allocations: 135.9 kB / 3.816 GB, free: 86.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/7.597, allocations: 0.7305 MB / 3.816 GB, free: 86.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/7.597, allocations: 26.89 kB / 3.816 GB, free: 86.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000557/7.597, allocations: 0.7252 MB / 3.817 GB, free: 86.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000164/7.597, allocations: 224 kB / 3.817 GB, free: 86.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/7.597, allocations: 3.906 kB / 3.817 GB, free: 86.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/7.598, allocations: 344.5 kB / 3.818 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004498/7.598, allocations: 250.9 kB / 3.818 GB, free: 85.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007162/7.599, allocations: 0.6838 MB / 3.818 GB, free: 85.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/7.6, allocations: 447.9 kB / 3.819 GB, free: 85.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/7.6, allocations: 4.844 kB / 3.819 GB, free: 85.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002572/7.603, allocations: 1.132 MB / 3.82 GB, free: 85.23 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001302/7.604, allocations: 5.754 MB / 3.826 GB, free: 79.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/7.604, allocations: 14.78 kB / 3.826 GB, free: 79.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008434/7.605, allocations: 198.7 kB / 3.826 GB, free: 79.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000904/7.606, allocations: 269.9 kB / 3.826 GB, free: 79.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/7.607, allocations: 0.8329 MB / 3.827 GB, free: 78.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/7.608, allocations: 110.6 kB / 3.827 GB, free: 78.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/7.608, allocations: 69.06 kB / 3.827 GB, free: 78.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/7.608, allocations: 6.906 kB / 3.827 GB, free: 78.72 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002544/7.611, allocations: 0.951 MB / 3.828 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/7.611, allocations: 18.98 kB / 3.828 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009198/7.612, allocations: 179.1 kB / 3.828 GB, free: 78.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009555/7.613, allocations: 276.1 kB / 3.828 GB, free: 78.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/7.614, allocations: 0.7454 MB / 3.829 GB, free: 78.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/7.615, allocations: 89.67 kB / 3.829 GB, free: 78.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/7.615, allocations: 63.42 kB / 3.829 GB, free: 78.16 MB / 0.5261 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 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete 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.0003131/7.616, allocations: 150.1 kB / 3.829 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/7.616, allocations: 106.9 kB / 3.83 GB, free: 78 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004098/7.62, allocations: 2.21 MB / 3.832 GB, free: 77.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.251e-05/7.62, allocations: 27.38 kB / 3.832 GB, free: 77.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/7.62, allocations: 0.9062 kB / 3.832 GB, free: 77.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/7.62, allocations: 6.875 kB / 3.832 GB, free: 77.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005215/7.625, allocations: 3.178 MB / 3.835 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/7.625, allocations: 1.938 kB / 3.835 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004433/7.626, allocations: 105.4 kB / 3.835 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/7.628, allocations: 1.126 MB / 3.836 GB, free: 77.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/7.628, allocations: 10.34 kB / 3.836 GB, free: 77.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001683/7.629, allocations: 1.648 MB / 3.838 GB, free: 76.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/7.629, allocations: 0.9375 kB / 3.838 GB, free: 76.81 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/7.632, allocations: 2.321 MB / 3.84 GB, free: 76.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006303/7.633, allocations: 328.5 kB / 3.84 GB, free: 76.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/7.633, allocations: 7.188 kB / 3.84 GB, free: 76.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006495/7.634, allocations: 65.14 kB / 3.84 GB, free: 76.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/7.634, allocations: 53.44 kB / 3.84 GB, free: 76.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.681e-05/7.634, allocations: 25.25 kB / 3.84 GB, free: 76.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009869/7.635, allocations: 0.6717 MB / 3.841 GB, free: 76.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.91e-07/7.635, allocations: 0 / 3.841 GB, free: 76.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007663/7.642, allocations: 1.575 MB / 3.843 GB, free: 76.02 MB / 0.5261 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: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.008836/7.651, allocations: 1.92 MB / 3.844 GB, free: 75.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003298/7.655, allocations: 1.322 MB / 3.846 GB, free: 75.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/7.655, allocations: 3.781 kB / 3.846 GB, free: 75.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006791/7.655, allocations: 0.4977 MB / 3.846 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002171/7.658, allocations: 341.7 kB / 3.847 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/7.661, allocations: 2.048 MB / 3.849 GB, free: 75.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/7.662, allocations: 1.279 MB / 3.85 GB, free: 74.48 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001542/7.663, allocations: 0.8986 MB / 3.851 GB, free: 74.46 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/7.663, allocations: 72.08 kB / 3.851 GB, free: 74.45 MB / 0.5261 GB Notification: Performance of SimCode: time 9.61e-07/7.663, allocations: 3.812 kB / 3.851 GB, free: 74.45 MB / 0.5261 GB Notification: Performance of Templates: time 0.05815/7.722, allocations: 42.17 MB / 3.892 GB, free: 72.47 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/jenkins/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