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.001789/0.001789, allocations: 200 kB / 18.11 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.566/1.566, allocations: 226.5 MB / 245.4 MB, free: 8.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009841/0.0009839, allocations: 100.4 kB / 297.5 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4587/0.4587, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003956/0.0003957, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4677, allocations: 62.96 MB / 0.5184 GB, free: 37.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.361/8.829, allocations: 2.805 GB / 3.324 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003671/8.829, allocations: 92.55 kB / 3.324 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.783/10.61, allocations: 445 MB / 3.758 GB, free: 69.49 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.065e-06/10.61, allocations: 2.781 kB / 3.758 GB, free: 69.49 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002308/10.61, allocations: 35.7 kB / 3.758 GB, free: 69.49 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.01232/10.63, allocations: 2.481 MB / 3.761 GB, free: 68.31 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/10.63, allocations: 8.594 kB / 3.761 GB, free: 68.31 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00367/10.63, allocations: 452.7 kB / 3.761 GB, free: 68.23 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003322/10.63, allocations: 1.019 MB / 3.762 GB, free: 67.86 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001721/10.63, allocations: 102.1 kB / 3.762 GB, free: 67.86 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005715/10.63, allocations: 134.5 kB / 3.762 GB, free: 67.86 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005429/10.64, allocations: 1.708 MB / 3.764 GB, free: 67.56 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/10.64, allocations: 10.56 kB / 3.764 GB, free: 67.56 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/10.64, allocations: 54.47 kB / 3.764 GB, free: 67.56 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.373e-05/10.64, allocations: 47.95 kB / 3.764 GB, free: 67.55 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004367/10.64, allocations: 1.372 MB / 3.765 GB, free: 67.54 MB / 0.5417 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.01325/10.66, allocations: 7.829 MB / 3.773 GB, free: 63.05 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/10.66, allocations: 0.9492 MB / 3.774 GB, free: 63.02 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007642/10.66, allocations: 397.5 kB / 3.774 GB, free: 63 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0498/10.71, allocations: 26.72 MB / 3.8 GB, free: 45.63 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/10.71, allocations: 42.34 kB / 3.801 GB, free: 45.59 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=71): time 4.218e-06/10.71, allocations: 3.312 kB / 3.801 GB, free: 45.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=74): time 0.01151/10.72, allocations: 3.026 MB / 3.803 GB, free: 44.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/10.72, allocations: 137.6 kB / 3.804 GB, free: 44.77 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/10.72, allocations: 0.9887 MB / 3.805 GB, free: 44.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/10.72, allocations: 37.98 kB / 3.805 GB, free: 44.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005257/10.72, allocations: 0.7015 MB / 3.805 GB, free: 44.23 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/10.72, allocations: 260 kB / 3.806 GB, free: 44.07 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/10.72, allocations: 21.53 kB / 3.806 GB, free: 44.07 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001082/10.73, allocations: 355.7 kB / 3.806 GB, free: 43.76 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007548/10.73, allocations: 342.3 kB / 3.806 GB, free: 43.76 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/10.73, allocations: 0.7793 MB / 3.807 GB, free: 43.21 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001774/10.73, allocations: 1.173 MB / 3.808 GB, free: 42.69 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/10.73, allocations: 14.14 kB / 3.808 GB, free: 42.69 MB / 0.5417 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002709/10.73, allocations: 1.307 MB / 3.809 GB, free: 42.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002941/10.73, allocations: 0.5114 MB / 3.81 GB, free: 41.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.814e-05/10.73, allocations: 15.06 kB / 3.81 GB, free: 41.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001395/10.73, allocations: 276.1 kB / 3.81 GB, free: 41.97 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009009/10.73, allocations: 282.2 kB / 3.81 GB, free: 41.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000861/10.73, allocations: 0.7733 MB / 3.811 GB, free: 41.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/10.74, allocations: 100.7 kB / 3.811 GB, free: 41.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/10.74, allocations: 63.97 kB / 3.811 GB, free: 41.44 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/10.74, allocations: 3.719 kB / 3.811 GB, free: 41.44 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002178/10.74, allocations: 1.169 MB / 3.813 GB, free: 41.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-05/10.74, allocations: 17.47 kB / 3.813 GB, free: 41.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000947/10.74, allocations: 190.4 kB / 3.813 GB, free: 41.41 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008418/10.74, allocations: 287.2 kB / 3.813 GB, free: 41.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007053/10.74, allocations: 0.7352 MB / 3.814 GB, free: 40.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/10.74, allocations: 102.4 kB / 3.814 GB, free: 40.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/10.74, allocations: 64.05 kB / 3.814 GB, free: 40.88 MB / 0.5417 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 () * Number of clocked 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.0008802/10.74, allocations: 402.8 kB / 3.814 GB, free: 40.68 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/10.74, allocations: 123.7 kB / 3.814 GB, free: 40.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/10.75, allocations: 3.111 MB / 3.817 GB, free: 40.29 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.435e-05/10.75, allocations: 40.8 kB / 3.817 GB, free: 40.29 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/10.75, allocations: 0 / 3.817 GB, free: 40.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/10.75, allocations: 6.047 kB / 3.817 GB, free: 40.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006145/10.75, allocations: 4.689 MB / 3.822 GB, free: 39.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/10.75, allocations: 0 / 3.822 GB, free: 39.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006182/10.75, allocations: 170.7 kB / 3.822 GB, free: 39.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00179/10.76, allocations: 1.035 MB / 3.823 GB, free: 39.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.11e-05/10.76, allocations: 18.91 kB / 3.823 GB, free: 39.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/10.76, allocations: 1.38 MB / 3.825 GB, free: 39.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/10.76, allocations: 7.656 kB / 3.825 GB, free: 39.16 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003984/10.76, allocations: 3.106 MB / 3.828 GB, free: 38.76 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009221/10.76, allocations: 425 kB / 3.828 GB, free: 38.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000416/10.76, allocations: 24.48 kB / 3.828 GB, free: 38.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/10.76, allocations: 95.47 kB / 3.828 GB, free: 38.53 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/10.76, allocations: 68.95 kB / 3.828 GB, free: 38.52 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.348e-05/10.76, allocations: 27.06 kB / 3.828 GB, free: 38.52 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001514/10.77, allocations: 0.8564 MB / 3.829 GB, free: 38.41 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/10.77, allocations: 0 / 3.829 GB, free: 38.41 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00812/10.77, allocations: 1.684 MB / 3.831 GB, free: 38.22 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 () * Number of clocked 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.01073/10.78, allocations: 1.847 MB / 3.833 GB, free: 37.86 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004096/10.79, allocations: 1.776 MB / 3.834 GB, free: 37.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/10.79, allocations: 1.797 kB / 3.834 GB, free: 37.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001275/10.79, allocations: 0.8219 MB / 3.835 GB, free: 37.83 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003407/10.79, allocations: 476.3 kB / 3.835 GB, free: 37.82 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006787/10.8, allocations: 4.423 MB / 3.84 GB, free: 35.64 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00119/10.8, allocations: 1.363 MB / 3.841 GB, free: 34.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001954/10.8, allocations: 0.6944 MB / 3.842 GB, free: 34.85 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003553/10.8, allocations: 94.64 kB / 3.842 GB, free: 34.84 MB / 0.5417 GB Notification: Performance of SimCode: time 1.172e-06/10.8, allocations: 3.656 kB / 3.842 GB, free: 34.84 MB / 0.5417 GB Notification: Performance of Templates: time 0.07842/10.88, allocations: 52.3 MB / 3.893 GB, free: 26.86 MB / 0.5417 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/jenkins1/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