Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001046, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001084/0.001085, allocations: 104.2 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2105/0.2105, allocations: 45.15 MB / 383.8 MB, free: 256 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.662e-05/1.66e-05, allocations: 0 / 453.2 MB, free: 75.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1216, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.551/6.672, allocations: 2.804 GB / 3.308 GB, free: 40.77 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001901/6.673, allocations: 80.8 kB / 3.309 GB, free: 40.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.474/8.146, allocations: 459.2 MB / 3.757 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.783e-06/8.146, allocations: 0.6562 kB / 3.757 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001578/8.147, allocations: 32 kB / 3.757 GB, free: 10.83 MB / 0.5417 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.009786/8.156, allocations: 2.335 MB / 3.759 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/8.156, allocations: 8.031 kB / 3.759 GB, free: 8.445 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003619/8.16, allocations: 445.6 kB / 3.76 GB, free: 8.008 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/8.163, allocations: 0.9799 MB / 3.761 GB, free: 7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/8.163, allocations: 48 kB / 3.761 GB, free: 6.953 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004608/8.164, allocations: 76 kB / 3.761 GB, free: 6.879 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002642/8.166, allocations: 0.9581 MB / 3.762 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002924/8.169, allocations: 1.229 MB / 3.763 GB, free: 4.586 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.813e-05/8.169, allocations: 15.84 kB / 3.763 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/8.17, allocations: 7.953 kB / 3.763 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.012e-05/8.17, allocations: 50.36 kB / 3.763 GB, free: 4.512 MB / 0.5417 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.4872/8.657, allocations: 95.54 MB / 3.856 GB, free: 29.34 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008281/8.658, allocations: 0.5077 MB / 3.857 GB, free: 29.31 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/8.658, allocations: 264.5 kB / 3.857 GB, free: 29.3 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03147/8.69, allocations: 18.48 MB / 3.875 GB, free: 32.62 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/8.69, allocations: 46.94 kB / 3.875 GB, free: 32.58 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=63): time 2.975e-06/8.69, allocations: 0 / 3.875 GB, free: 32.58 MB / 0.5886 GB Notification: Performance of matching and sorting (n=66): time 0.006248/8.696, allocations: 2.045 MB / 3.877 GB, free: 32.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/8.696, allocations: 140.6 kB / 3.877 GB, free: 31.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/8.697, allocations: 0.7362 MB / 3.878 GB, free: 31.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.235e-05/8.697, allocations: 25.7 kB / 3.878 GB, free: 31.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004224/8.698, allocations: 0.7297 MB / 3.879 GB, free: 31.47 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/8.698, allocations: 231.8 kB / 3.879 GB, free: 31.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/8.698, allocations: 0 / 3.879 GB, free: 31.35 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001305/8.698, allocations: 345 kB / 3.879 GB, free: 31.05 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/8.699, allocations: 256.9 kB / 3.879 GB, free: 31.05 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/8.699, allocations: 0.6945 MB / 3.88 GB, free: 30.49 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/8.7, allocations: 455.2 kB / 3.881 GB, free: 30.46 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.09e-05/8.7, allocations: 3.969 kB / 3.881 GB, free: 30.46 MB / 0.5886 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002416/8.703, allocations: 1.129 MB / 3.882 GB, free: 30.34 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001811/8.705, allocations: 5.668 MB / 3.887 GB, free: 24.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/8.705, allocations: 14.88 kB / 3.887 GB, free: 24.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005244/8.705, allocations: 150.2 kB / 3.887 GB, free: 24.39 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008722/8.706, allocations: 277.2 kB / 3.888 GB, free: 24.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009194/8.707, allocations: 0.7739 MB / 3.888 GB, free: 23.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/8.708, allocations: 125.9 kB / 3.889 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/8.708, allocations: 67.81 kB / 3.889 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/8.708, allocations: 3.938 kB / 3.889 GB, free: 23.85 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001952/8.71, allocations: 0.927 MB / 3.89 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.991e-05/8.71, allocations: 15.84 kB / 3.89 GB, free: 23.81 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007136/8.711, allocations: 159.8 kB / 3.89 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008274/8.712, allocations: 284.3 kB / 3.89 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006019/8.713, allocations: 0.6938 MB / 3.891 GB, free: 23.28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/8.714, allocations: 100.3 kB / 3.891 GB, free: 23.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/8.714, allocations: 59.23 kB / 3.891 GB, free: 23.27 MB / 0.5886 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.0003273/8.714, allocations: 154.2 kB / 3.891 GB, free: 23.16 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/8.714, allocations: 108.4 kB / 3.891 GB, free: 23.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003466/8.718, allocations: 2.243 MB / 3.893 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/8.718, allocations: 32.08 kB / 3.893 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/8.718, allocations: 0 / 3.893 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/8.718, allocations: 11.55 kB / 3.893 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004482/8.723, allocations: 3.219 MB / 3.896 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/8.723, allocations: 6 kB / 3.896 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004789/8.723, allocations: 121.8 kB / 3.897 GB, free: 22.49 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/8.724, allocations: 1.21 MB / 3.898 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/8.724, allocations: 9.609 kB / 3.898 GB, free: 22.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/8.726, allocations: 1.57 MB / 3.899 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/8.726, allocations: 11.33 kB / 3.899 GB, free: 21.88 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/8.728, allocations: 2.438 MB / 3.902 GB, free: 21.43 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006021/8.729, allocations: 334.4 kB / 3.902 GB, free: 21.26 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/8.729, allocations: 7.578 kB / 3.902 GB, free: 21.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007934/8.73, allocations: 78.98 kB / 3.902 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/8.73, allocations: 52.8 kB / 3.902 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.514e-05/8.73, allocations: 25.11 kB / 3.902 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001186/8.731, allocations: 0.6684 MB / 3.903 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.51e-07/8.731, allocations: 3.625 kB / 3.903 GB, free: 21.13 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007505/8.739, allocations: 1.589 MB / 3.904 GB, free: 21.13 MB / 0.5886 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.009307/8.748, allocations: 1.946 MB / 3.906 GB, free: 20.91 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002655/8.751, allocations: 1.345 MB / 3.908 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/8.751, allocations: 0 / 3.908 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007367/8.752, allocations: 0.5024 MB / 3.908 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002069/8.754, allocations: 359.9 kB / 3.908 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/8.758, allocations: 2.134 MB / 3.91 GB, free: 20.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/8.759, allocations: 1.288 MB / 3.912 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001853/8.761, allocations: 0.8698 MB / 3.913 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/8.762, allocations: 75.19 kB / 3.913 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of SimCode: time 5.81e-07/8.762, allocations: 4 kB / 3.913 GB, free: 35.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.06082/8.822, allocations: 42.35 MB / 3.954 GB, free: 30.05 MB / 0.6042 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches