Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002086/0.002086, allocations: 188.4 kB / 16.41 MB, free: 5.723 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.939/1.939, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001114/0.001114, allocations: 92.42 kB / 270.9 MB, free: 8.371 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.5057/0.5057, allocations: 43.54 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006277/0.0006276, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1301, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.556/8.686, allocations: 2.797 GB / 3.276 GB, free: 10.36 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/8.686, allocations: 90.02 kB / 3.276 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.605/11.29, allocations: 459.4 MB / 3.725 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.557e-06/11.29, allocations: 0 / 3.725 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001769/11.29, allocations: 33.69 kB / 3.725 GB, free: 58.71 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.01145/11.3, allocations: 2.469 MB / 3.727 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/11.3, allocations: 8.844 kB / 3.727 GB, free: 57.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004492/11.31, allocations: 443.3 kB / 3.728 GB, free: 57.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003137/11.31, allocations: 0.9695 MB / 3.729 GB, free: 57.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/11.31, allocations: 105.4 kB / 3.729 GB, free: 57.06 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002784/11.31, allocations: 136.4 kB / 3.729 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005581/11.32, allocations: 1.671 MB / 3.731 GB, free: 56.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.527e-05/11.32, allocations: 6.844 kB / 3.731 GB, free: 56.76 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/11.32, allocations: 54.78 kB / 3.731 GB, free: 56.76 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.859e-05/11.32, allocations: 47.72 kB / 3.731 GB, free: 56.76 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005903/11.32, allocations: 1.359 MB / 3.732 GB, free: 56.73 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.01459/11.34, allocations: 7.849 MB / 3.74 GB, free: 52.17 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004032/11.34, allocations: 0.9408 MB / 3.741 GB, free: 52.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07568/11.42, allocations: 24.15 MB / 3.764 GB, free: 37.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.598e-05/11.42, allocations: 41.06 kB / 3.764 GB, free: 37.35 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 3.807e-06/11.42, allocations: 0.5625 kB / 3.764 GB, free: 37.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71): time 0.01459/11.43, allocations: 3.038 MB / 3.767 GB, free: 36.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/11.43, allocations: 136.5 kB / 3.767 GB, free: 36.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/11.43, allocations: 0.8618 MB / 3.768 GB, free: 36.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/11.43, allocations: 41.02 kB / 3.768 GB, free: 36.35 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/11.43, allocations: 0.6938 MB / 3.769 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/11.43, allocations: 256.1 kB / 3.769 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.764e-05/11.43, allocations: 23.56 kB / 3.769 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001/11.43, allocations: 352.2 kB / 3.769 GB, free: 35.48 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/11.44, allocations: 333.4 kB / 3.77 GB, free: 35.47 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/11.44, allocations: 0.7846 MB / 3.771 GB, free: 34.92 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001397/11.44, allocations: 449.7 kB / 3.771 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/11.44, allocations: 10.53 kB / 3.771 GB, free: 34.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003782/11.44, allocations: 1.229 MB / 3.772 GB, free: 34.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001383/11.44, allocations: 5.757 MB / 3.778 GB, free: 28.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/11.44, allocations: 15.84 kB / 3.778 GB, free: 28.85 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002617/11.45, allocations: 310.2 kB / 3.778 GB, free: 28.84 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/11.45, allocations: 267.2 kB / 3.778 GB, free: 28.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002056/11.45, allocations: 0.8144 MB / 3.779 GB, free: 28.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001934/11.45, allocations: 96.58 kB / 3.779 GB, free: 28.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/11.45, allocations: 64.67 kB / 3.779 GB, free: 28.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/11.45, allocations: 3.938 kB / 3.779 GB, free: 28.31 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004435/11.46, allocations: 1.184 MB / 3.78 GB, free: 28.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/11.46, allocations: 14.19 kB / 3.78 GB, free: 28.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001643/11.46, allocations: 211.7 kB / 3.781 GB, free: 28.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/11.46, allocations: 274.4 kB / 3.781 GB, free: 28.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001806/11.46, allocations: 0.7756 MB / 3.782 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/11.46, allocations: 101.7 kB / 3.782 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/11.46, allocations: 63.77 kB / 3.782 GB, free: 27.75 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.0009643/11.46, allocations: 398.6 kB / 3.782 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/11.47, allocations: 118.3 kB / 3.782 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006173/11.47, allocations: 3.124 MB / 3.785 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.656e-05/11.47, allocations: 41.83 kB / 3.785 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/11.47, allocations: 0 / 3.785 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/11.47, allocations: 3.656 kB / 3.785 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00875/11.48, allocations: 4.656 MB / 3.79 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/11.48, allocations: 3.625 kB / 3.79 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/11.48, allocations: 147 kB / 3.79 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003224/11.48, allocations: 1.077 MB / 3.791 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.97e-05/11.48, allocations: 22.69 kB / 3.791 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/11.49, allocations: 1.445 MB / 3.793 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/11.49, allocations: 3.938 kB / 3.793 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005983/11.49, allocations: 3.003 MB / 3.796 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009997/11.49, allocations: 432.6 kB / 3.796 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002733/11.49, allocations: 18.69 kB / 3.796 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/11.5, allocations: 82.05 kB / 3.796 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001802/11.5, allocations: 75.94 kB / 3.796 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.529e-05/11.5, allocations: 26.31 kB / 3.796 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00163/11.5, allocations: 0.8508 MB / 3.797 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.81e-07/11.5, allocations: 2.156 kB / 3.797 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008051/11.51, allocations: 1.668 MB / 3.799 GB, free: 24.93 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.01094/11.52, allocations: 1.815 MB / 3.8 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006433/11.52, allocations: 1.768 MB / 3.802 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/11.52, allocations: 0 / 3.802 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001892/11.53, allocations: 0.8088 MB / 3.803 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003845/11.53, allocations: 460 kB / 3.803 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008511/11.54, allocations: 4.331 MB / 3.808 GB, free: 22.16 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000964/11.54, allocations: 1.388 MB / 3.809 GB, free: 21.43 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005098/11.54, allocations: 99.06 kB / 3.809 GB, free: 21.42 MB / 0.5105 GB Notification: Performance of SimCode: time 1.052e-06/11.54, allocations: 4 kB / 3.809 GB, free: 21.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.09456/11.63, allocations: 48.73 MB / 3.857 GB, free: 12.14 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches