Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.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.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|housing.T|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|housing.T|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001517/0.001517, allocations: 181.2 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001097/0.001097, allocations: 82.7 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2727/0.2727, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.645e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.138/8.259, allocations: 2.798 GB / 3.271 GB, free: 46.76 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/8.26, allocations: 97.39 kB / 3.271 GB, free: 46.71 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.217/10.48, allocations: 458.9 MB / 3.719 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/10.48, allocations: 0 / 3.719 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000128/10.48, allocations: 39.64 kB / 3.719 GB, free: 9.586 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.009656/10.49, allocations: 2.317 MB / 3.721 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/10.49, allocations: 8.031 kB / 3.721 GB, free: 7.219 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004262/10.49, allocations: 445.6 kB / 3.722 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/10.49, allocations: 0.9767 MB / 3.722 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/10.49, allocations: 106.7 kB / 3.723 GB, free: 5.672 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/10.49, allocations: 132 kB / 3.723 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004921/10.5, allocations: 1.658 MB / 3.724 GB, free: 3.781 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.337e-05/10.5, allocations: 11.84 kB / 3.724 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002055/10.5, allocations: 56 kB / 3.724 GB, free: 3.715 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.2e-05/10.5, allocations: 50.31 kB / 3.724 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004391/10.5, allocations: 1.27 MB / 3.726 GB, free: 2.387 MB / 0.5105 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.3926/10.9, allocations: 7.82 MB / 3.733 GB, free: 43.55 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003538/10.9, allocations: 0.8679 MB / 3.734 GB, free: 43.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008302/10.9, allocations: 318.3 kB / 3.734 GB, free: 43.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07945/10.98, allocations: 24.23 MB / 3.758 GB, free: 28.79 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.798e-05/10.98, allocations: 49.8 kB / 3.758 GB, free: 28.75 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=71): time 4.389e-06/10.98, allocations: 3.906 kB / 3.758 GB, free: 28.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=74): time 0.008336/10.99, allocations: 2.215 MB / 3.76 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/10.99, allocations: 136.8 kB / 3.76 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/10.99, allocations: 0.8503 MB / 3.761 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002133/10.99, allocations: 39.14 kB / 3.761 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005183/10.99, allocations: 0.6961 MB / 3.762 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003618/10.99, allocations: 259.9 kB / 3.762 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.505e-05/10.99, allocations: 27.12 kB / 3.762 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001117/10.99, allocations: 353.8 kB / 3.763 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008012/10.99, allocations: 271.7 kB / 3.763 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/10.99, allocations: 0.709 MB / 3.764 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/11, allocations: 389.6 kB / 3.764 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/11, allocations: 3.875 kB / 3.764 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002894/11, allocations: 1.083 MB / 3.765 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002745/11, allocations: 5.66 MB / 3.771 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.127e-05/11, allocations: 14.34 kB / 3.771 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00211/11, allocations: 242.1 kB / 3.771 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/11.01, allocations: 288.9 kB / 3.771 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/11.01, allocations: 0.7077 MB / 3.772 GB, free: 36.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/11.01, allocations: 107.5 kB / 3.772 GB, free: 36.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002599/11.01, allocations: 68.61 kB / 3.772 GB, free: 36.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/11.01, allocations: 7.734 kB / 3.772 GB, free: 36.04 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002819/11.01, allocations: 1.012 MB / 3.773 GB, free: 36.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.826e-05/11.01, allocations: 16.06 kB / 3.773 GB, free: 36.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001332/11.01, allocations: 153.6 kB / 3.773 GB, free: 36.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/11.02, allocations: 285.5 kB / 3.773 GB, free: 36.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008573/11.02, allocations: 0.6784 MB / 3.774 GB, free: 35.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/11.02, allocations: 97.81 kB / 3.774 GB, free: 35.49 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/11.02, allocations: 64.59 kB / 3.774 GB, free: 35.49 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 133 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004234/11.02, allocations: 192.1 kB / 3.774 GB, free: 35.38 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003782/11.02, allocations: 120 kB / 3.774 GB, free: 35.32 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004863/11.02, allocations: 3.038 MB / 3.777 GB, free: 35.02 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.116e-05/11.02, allocations: 35.31 kB / 3.777 GB, free: 35.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/11.02, allocations: 3.281 kB / 3.777 GB, free: 35.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.503e-05/11.02, allocations: 7.078 kB / 3.777 GB, free: 35.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008685/11.03, allocations: 4.612 MB / 3.782 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/11.03, allocations: 0 / 3.782 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001391/11.03, allocations: 169.4 kB / 3.782 GB, free: 34.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002974/11.04, allocations: 1.258 MB / 3.783 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/11.04, allocations: 30.08 kB / 3.783 GB, free: 34.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/11.04, allocations: 1.411 MB / 3.785 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/11.04, allocations: 6.438 kB / 3.785 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005358/11.04, allocations: 3.239 MB / 3.788 GB, free: 33.37 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/11.05, allocations: 437.5 kB / 3.788 GB, free: 33.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/11.05, allocations: 13.09 kB / 3.788 GB, free: 33.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/11.05, allocations: 95.12 kB / 3.788 GB, free: 33.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001883/11.05, allocations: 68.98 kB / 3.789 GB, free: 33.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.07e-05/11.05, allocations: 31.69 kB / 3.789 GB, free: 33.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001671/11.05, allocations: 0.8338 MB / 3.789 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.92e-07/11.05, allocations: 0 / 3.789 GB, free: 33.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008289/11.06, allocations: 1.682 MB / 3.791 GB, free: 33.05 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i,housing.T) * 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,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 65 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01108/11.07, allocations: 1.835 MB / 3.793 GB, free: 32.89 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003959/11.07, allocations: 1.571 MB / 3.794 GB, free: 32.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/11.07, allocations: 3.406 kB / 3.794 GB, free: 32.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/11.07, allocations: 0.7559 MB / 3.795 GB, free: 32.85 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00396/11.08, allocations: 458.1 kB / 3.796 GB, free: 32.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/11.08, allocations: 2.687 MB / 3.798 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001141/11.09, allocations: 1.393 MB / 3.8 GB, free: 31.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005719/11.09, allocations: 108.5 kB / 3.8 GB, free: 31.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.082e-06/11.09, allocations: 0 / 3.8 GB, free: 31.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.1016/11.19, allocations: 48.96 MB / 3.847 GB, free: 27.8 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDCMotorHeatTransfer/TestWaterPumpDCMotorHeatTransfer.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches