Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009975/0.0009975, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 221.3 MB / 236 MB, free: 2.98 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 99.98 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2189/0.2189, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.026e-05, allocations: 0 / 451.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1341, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.34/6.475, allocations: 2.804 GB / 3.305 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/6.475, allocations: 82.97 kB / 3.306 GB, free: 131.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.433/7.908, allocations: 463.5 MB / 3.758 GB, free: 52.76 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/7.908, allocations: 7.281 kB / 3.758 GB, free: 52.76 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.577e-05/7.908, allocations: 33.77 kB / 3.758 GB, free: 52.76 MB / 0.5261 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.006023/7.914, allocations: 2.322 MB / 3.761 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/7.914, allocations: 7.5 kB / 3.761 GB, free: 51.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00248/7.917, allocations: 448.5 kB / 3.761 GB, free: 51.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/7.918, allocations: 0.9857 MB / 3.762 GB, free: 50.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.871e-05/7.918, allocations: 105.6 kB / 3.762 GB, free: 50.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/7.918, allocations: 130.1 kB / 3.762 GB, free: 50.63 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/7.921, allocations: 1.655 MB / 3.764 GB, free: 49.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/7.921, allocations: 8.719 kB / 3.764 GB, free: 49.83 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/7.921, allocations: 56.31 kB / 3.764 GB, free: 49.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/7.921, allocations: 45.42 kB / 3.764 GB, free: 49.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/7.924, allocations: 1.27 MB / 3.765 GB, free: 49.36 MB / 0.5261 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.007075/7.931, allocations: 7.845 MB / 3.773 GB, free: 43.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/7.932, allocations: 0.8658 MB / 3.774 GB, free: 43.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000394/7.933, allocations: 319.6 kB / 3.774 GB, free: 43.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03766/7.97, allocations: 24.24 MB / 3.798 GB, free: 27.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/7.971, allocations: 47.16 kB / 3.798 GB, free: 27.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=71): time 2.625e-06/7.971, allocations: 4 kB / 3.798 GB, free: 27.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.004792/7.975, allocations: 2.209 MB / 3.8 GB, free: 26.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/7.975, allocations: 136.5 kB / 3.8 GB, free: 25.99 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/7.976, allocations: 0.8426 MB / 3.801 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.985e-05/7.977, allocations: 41.36 kB / 3.801 GB, free: 25.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/7.977, allocations: 0.7038 MB / 3.801 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001456/7.977, allocations: 261 kB / 3.802 GB, free: 24.82 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/7.977, allocations: 27.09 kB / 3.802 GB, free: 24.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.958e-05/7.977, allocations: 347.1 kB / 3.802 GB, free: 24.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/7.978, allocations: 270.5 kB / 3.802 GB, free: 24.37 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005493/7.978, allocations: 0.712 MB / 3.803 GB, free: 23.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005024/7.979, allocations: 383.4 kB / 3.803 GB, free: 23.51 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/7.979, allocations: 3.906 kB / 3.803 GB, free: 23.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001569/7.98, allocations: 1.159 MB / 3.805 GB, free: 22.96 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001039/7.981, allocations: 5.663 MB / 3.81 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/7.981, allocations: 16 kB / 3.81 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/7.982, allocations: 228 kB / 3.81 GB, free: 16.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008818/7.983, allocations: 292.7 kB / 3.811 GB, free: 16.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005945/7.984, allocations: 0.707 MB / 3.811 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/7.985, allocations: 110.7 kB / 3.811 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.473e-05/7.985, allocations: 63.66 kB / 3.811 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/7.985, allocations: 4 kB / 3.811 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001403/7.987, allocations: 1.014 MB / 3.812 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/7.987, allocations: 16 kB / 3.812 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007827/7.987, allocations: 165.8 kB / 3.813 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008034/7.988, allocations: 285.2 kB / 3.813 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004499/7.989, allocations: 0.7071 MB / 3.814 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009451/7.99, allocations: 107 kB / 3.814 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.531e-05/7.99, allocations: 67.41 kB / 3.814 GB, free: 13.4 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.0002064/7.99, allocations: 182.4 kB / 3.814 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/7.99, allocations: 122.5 kB / 3.814 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/7.993, allocations: 3.03 MB / 3.817 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.958e-05/7.993, allocations: 34.67 kB / 3.817 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/7.993, allocations: 96 / 3.817 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/7.993, allocations: 7.641 kB / 3.817 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004216/7.997, allocations: 4.611 MB / 3.822 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/7.997, allocations: 4 kB / 3.822 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006043/7.998, allocations: 166.5 kB / 3.822 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001653/7.999, allocations: 1.26 MB / 3.823 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.076e-05/8, allocations: 23.89 kB / 3.823 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008995/8, allocations: 1.421 MB / 3.824 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/8, allocations: 0 / 3.824 GB, free: 3.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002849/8.003, allocations: 3.234 MB / 3.827 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005894/8.004, allocations: 434.9 kB / 3.828 GB, free: 308 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/8.004, allocations: 23.94 kB / 3.828 GB, free: 288 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007004/8.005, allocations: 84.73 kB / 3.828 GB, free: 220 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/8.005, allocations: 66.7 kB / 3.828 GB, free: 180 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.197e-05/8.005, allocations: 35.56 kB / 3.828 GB, free: 148 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003125/8.008, allocations: 0.9961 MB / 3.829 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.244e-06/8.008, allocations: 0 / 3.829 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006967/8.015, allocations: 1.686 MB / 3.831 GB, free: 14.05 MB / 0.5417 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.00672/8.022, allocations: 1.836 MB / 3.832 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002799/8.025, allocations: 1.609 MB / 3.834 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/8.025, allocations: 0 / 3.834 GB, free: 10.83 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009237/8.026, allocations: 0.7545 MB / 3.835 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/8.028, allocations: 462.8 kB / 3.835 GB, free: 9.637 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00415/8.032, allocations: 2.666 MB / 3.838 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009246/8.033, allocations: 1.395 MB / 3.839 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001655/8.035, allocations: 0.7479 MB / 3.84 GB, free: 4.766 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/8.035, allocations: 83.42 kB / 3.84 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of SimCode: time 5.81e-07/8.035, allocations: 0 / 3.84 GB, free: 4.684 MB / 0.5417 GB Notification: Performance of Templates: time 0.3523/8.387, allocations: 53.06 MB / 3.892 GB, free: 66.15 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDCMotorHeatTransfer/TestWaterPumpDCMotorHeatTransfer.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches