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.00148/0.001484, allocations: 177.8 kB / 8.36 MB, free: 0.7148 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.964/1.964, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001108/0.001107, allocations: 84.33 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2906/0.2906, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.854e-05, allocations: 4.219 kB / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4049, allocations: 58.85 MB / 477.1 MB, free: 5.277 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.283/8.688, allocations: 2.797 GB / 3.263 GB, free: 95.32 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/8.688, allocations: 87.25 kB / 3.263 GB, free: 95.32 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.343/11.03, allocations: 454.4 MB / 3.707 GB, free: 61.76 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.795e-06/11.03, allocations: 0 / 3.707 GB, free: 61.76 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001622/11.03, allocations: 33.19 kB / 3.707 GB, free: 61.75 MB / 0.5108 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.01028/11.04, allocations: 2.327 MB / 3.709 GB, free: 60.61 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/11.04, allocations: 7.438 kB / 3.709 GB, free: 60.61 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004509/11.05, allocations: 447.8 kB / 3.71 GB, free: 60.52 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/11.05, allocations: 0.9834 MB / 3.711 GB, free: 60.18 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/11.05, allocations: 51.62 kB / 3.711 GB, free: 60.18 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004336/11.05, allocations: 83.03 kB / 3.711 GB, free: 60.18 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003113/11.05, allocations: 0.954 MB / 3.712 GB, free: 60.17 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003658/11.06, allocations: 1.23 MB / 3.713 GB, free: 59.89 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.812e-05/11.06, allocations: 13.59 kB / 3.713 GB, free: 59.88 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/11.06, allocations: 3.938 kB / 3.713 GB, free: 59.88 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.026e-05/11.06, allocations: 46.08 kB / 3.713 GB, free: 59.88 MB / 0.5108 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.2645/11.32, allocations: 86.71 MB / 3.798 GB, free: 22.02 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/11.32, allocations: 0.5099 MB / 3.798 GB, free: 21.99 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000619/11.32, allocations: 274.3 kB / 3.798 GB, free: 21.98 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05387/11.38, allocations: 16.64 MB / 3.815 GB, free: 27.16 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/11.38, allocations: 43.16 kB / 3.815 GB, free: 27.12 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=63): time 3.306e-06/11.38, allocations: 0 / 3.815 GB, free: 27.12 MB / 0.5421 GB Notification: Performance of matching and sorting (n=66): time 0.009665/11.39, allocations: 2.044 MB / 3.817 GB, free: 26.57 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.219e-05/11.39, allocations: 136.9 kB / 3.817 GB, free: 26.41 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/11.39, allocations: 0.731 MB / 3.817 GB, free: 26.25 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0002026/11.39, allocations: 25.7 kB / 3.817 GB, free: 26.22 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005217/11.39, allocations: 0.7394 MB / 3.818 GB, free: 25.77 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.000282/11.39, allocations: 234.9 kB / 3.818 GB, free: 25.62 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.663e-05/11.39, allocations: 0 / 3.818 GB, free: 25.62 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001731/11.39, allocations: 353.3 kB / 3.819 GB, free: 25.3 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006495/11.39, allocations: 256.3 kB / 3.819 GB, free: 25.3 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008752/11.39, allocations: 0.6948 MB / 3.82 GB, free: 24.74 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/11.39, allocations: 459.8 kB / 3.82 GB, free: 24.71 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/11.39, allocations: 3.719 kB / 3.82 GB, free: 24.71 MB / 0.5421 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003991/11.4, allocations: 1.076 MB / 3.821 GB, free: 24.62 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.002325/11.4, allocations: 5.657 MB / 3.827 GB, free: 18.68 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-05/11.4, allocations: 11.53 kB / 3.827 GB, free: 18.68 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009369/11.4, allocations: 153 kB / 3.827 GB, free: 18.67 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/11.4, allocations: 280.8 kB / 3.827 GB, free: 18.67 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/11.41, allocations: 0.7831 MB / 3.828 GB, free: 34.14 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002501/11.41, allocations: 116.4 kB / 3.828 GB, free: 34.12 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000349/11.41, allocations: 64.67 kB / 3.828 GB, free: 34.12 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/11.41, allocations: 6.562 kB / 3.828 GB, free: 34.12 MB / 0.5577 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003574/11.41, allocations: 0.9275 MB / 3.829 GB, free: 34.09 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-05/11.41, allocations: 19.69 kB / 3.829 GB, free: 34.09 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/11.41, allocations: 139.3 kB / 3.829 GB, free: 34.08 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/11.42, allocations: 293.3 kB / 3.829 GB, free: 34.07 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000959/11.42, allocations: 0.6944 MB / 3.83 GB, free: 33.55 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/11.42, allocations: 92.25 kB / 3.83 GB, free: 33.54 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000189/11.42, allocations: 66.17 kB / 3.83 GB, free: 33.54 MB / 0.5577 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 (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 (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.0004202/11.42, allocations: 150.4 kB / 3.83 GB, free: 33.42 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003534/11.42, allocations: 107.9 kB / 3.83 GB, free: 33.37 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005711/11.43, allocations: 2.241 MB / 3.833 GB, free: 33.15 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.707e-05/11.43, allocations: 23.33 kB / 3.833 GB, free: 33.15 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/11.43, allocations: 4 kB / 3.833 GB, free: 33.14 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.753e-05/11.43, allocations: 2.766 kB / 3.833 GB, free: 33.14 MB / 0.5577 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007298/11.43, allocations: 3.232 MB / 3.836 GB, free: 32.71 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/11.43, allocations: 0 / 3.836 GB, free: 32.71 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/11.43, allocations: 120.8 kB / 3.836 GB, free: 32.71 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002081/11.44, allocations: 1.205 MB / 3.837 GB, free: 32.16 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/11.44, allocations: 12.09 kB / 3.837 GB, free: 32.16 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002335/11.44, allocations: 1.575 MB / 3.839 GB, free: 31.12 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/11.44, allocations: 5.125 kB / 3.839 GB, free: 31.11 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00474/11.44, allocations: 2.453 MB / 3.841 GB, free: 29.66 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009977/11.44, allocations: 327.6 kB / 3.841 GB, free: 29.42 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/11.45, allocations: 4 kB / 3.841 GB, free: 29.41 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/11.45, allocations: 73.59 kB / 3.841 GB, free: 29.36 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000179/11.45, allocations: 60.61 kB / 3.842 GB, free: 29.33 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.25e-05/11.45, allocations: 35 kB / 3.842 GB, free: 29.31 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.001348/11.45, allocations: 0.6629 MB / 3.842 GB, free: 28.89 MB / 0.5577 GB Notification: Performance of sort global known variables: time 1.012e-06/11.45, allocations: 0 / 3.842 GB, free: 28.89 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.00839/11.46, allocations: 1.58 MB / 3.844 GB, free: 27.42 MB / 0.5577 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: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01138/11.47, allocations: 1.928 MB / 3.846 GB, free: 25.91 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.003496/11.47, allocations: 1.314 MB / 3.847 GB, free: 25.07 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/11.47, allocations: 4.125 kB / 3.847 GB, free: 25.06 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/11.47, allocations: 0.5056 MB / 3.847 GB, free: 24.79 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003278/11.48, allocations: 347.4 kB / 3.848 GB, free: 24.6 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/11.48, allocations: 2.168 MB / 3.85 GB, free: 22.86 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/11.48, allocations: 1.286 MB / 3.851 GB, free: 21.77 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005631/11.48, allocations: 98.95 kB / 3.851 GB, free: 21.68 MB / 0.5577 GB Notification: Performance of SimCode: time 1.493e-06/11.48, allocations: 0 / 3.851 GB, free: 21.68 MB / 0.5577 GB Notification: Performance of Templates: time 0.4839/11.97, allocations: 46.45 MB / 3.897 GB, free: 104.8 MB / 0.5577 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