Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 183 kB / 18.09 MB, free: 3.73 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.405/1.405, allocations: 223.3 MB / 242.1 MB, free: 9.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008141/0.0008142, allocations: 92.91 kB / 293.3 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3386/0.3386, allocations: 44.16 MB / 388.5 MB, free: 38.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004047, allocations: 12 kB / 461.1 MB, free: 1.316 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4163, allocations: 61.88 MB / 0.5107 GB, free: 37.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.473/6.889, allocations: 2.804 GB / 3.315 GB, free: 47.73 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/6.89, allocations: 95.94 kB / 3.315 GB, free: 47.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.588/8.478, allocations: 444.1 MB / 3.748 GB, free: 21.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.374e-06/8.478, allocations: 0 / 3.748 GB, free: 21.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001652/8.478, allocations: 36.66 kB / 3.748 GB, free: 21.3 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.01014/8.488, allocations: 2.447 MB / 3.751 GB, free: 18.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/8.489, allocations: 15.97 kB / 3.751 GB, free: 18.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/8.492, allocations: 442.6 kB / 3.751 GB, free: 18.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002674/8.495, allocations: 1.006 MB / 3.752 GB, free: 17.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/8.495, allocations: 106.5 kB / 3.752 GB, free: 17.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004307/8.495, allocations: 131.9 kB / 3.753 GB, free: 17.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004326/8.499, allocations: 1.68 MB / 3.754 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.778e-05/8.5, allocations: 4 kB / 3.754 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002134/8.5, allocations: 56 kB / 3.754 GB, free: 15.26 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/8.5, allocations: 54.3 kB / 3.754 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003615/8.503, allocations: 1.355 MB / 3.756 GB, free: 13.84 MB / 0.5261 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.01177/8.515, allocations: 7.852 MB / 3.763 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/8.518, allocations: 0.9261 MB / 3.764 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006806/8.518, allocations: 374.4 kB / 3.765 GB, free: 4.172 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3904/8.909, allocations: 24.16 MB / 3.788 GB, free: 32.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/8.909, allocations: 40.84 kB / 3.788 GB, free: 32.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 3.016e-06/8.909, allocations: 0 / 3.788 GB, free: 32.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.009431/8.918, allocations: 3.161 MB / 3.791 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/8.918, allocations: 137.3 kB / 3.791 GB, free: 31.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/8.92, allocations: 0.9781 MB / 3.792 GB, free: 31.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/8.92, allocations: 42.64 kB / 3.792 GB, free: 31.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003881/8.92, allocations: 0.6977 MB / 3.793 GB, free: 31.44 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/8.92, allocations: 253.4 kB / 3.793 GB, free: 31.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.222e-05/8.92, allocations: 20.09 kB / 3.793 GB, free: 31.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.014e-05/8.921, allocations: 349.7 kB / 3.794 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006379/8.921, allocations: 335.1 kB / 3.794 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008489/8.922, allocations: 0.7817 MB / 3.795 GB, free: 30.47 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/8.924, allocations: 1.16 MB / 3.796 GB, free: 29.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/8.924, allocations: 4.875 kB / 3.796 GB, free: 29.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002222/8.926, allocations: 1.312 MB / 3.797 GB, free: 29.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002294/8.926, allocations: 0.5194 MB / 3.798 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/8.926, allocations: 16.59 kB / 3.798 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00171/8.928, allocations: 347 kB / 3.798 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007647/8.929, allocations: 272 kB / 3.798 GB, free: 29.21 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/8.93, allocations: 0.8084 MB / 3.799 GB, free: 28.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/8.931, allocations: 113.1 kB / 3.799 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-05/8.931, allocations: 64.83 kB / 3.799 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/8.931, allocations: 3.875 kB / 3.799 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002439/8.933, allocations: 1.185 MB / 3.8 GB, free: 28.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/8.933, allocations: 14.47 kB / 3.8 GB, free: 28.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009403/8.934, allocations: 230 kB / 3.801 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007462/8.935, allocations: 274.5 kB / 3.801 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009798/8.936, allocations: 0.7842 MB / 3.802 GB, free: 28.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009839/8.937, allocations: 98.17 kB / 3.802 GB, free: 28.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/8.937, allocations: 60.12 kB / 3.802 GB, free: 28.11 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * 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 (128): * Single equations (assignments): 127 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0007546/8.938, allocations: 404.8 kB / 3.802 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/8.938, allocations: 119 kB / 3.802 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003652/8.942, allocations: 3.114 MB / 3.805 GB, free: 27.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.762e-05/8.942, allocations: 40.55 kB / 3.805 GB, free: 27.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/8.942, allocations: 3.938 kB / 3.805 GB, free: 27.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/8.942, allocations: 3.234 kB / 3.805 GB, free: 27.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005456/8.947, allocations: 4.649 MB / 3.81 GB, free: 27.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/8.947, allocations: 3.422 kB / 3.81 GB, free: 27.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005292/8.948, allocations: 155 kB / 3.81 GB, free: 27.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002075/8.95, allocations: 1.072 MB / 3.811 GB, free: 27.05 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/8.95, allocations: 23.66 kB / 3.811 GB, free: 27.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/8.951, allocations: 1.453 MB / 3.813 GB, free: 26.49 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/8.951, allocations: 1.25 kB / 3.813 GB, free: 26.49 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003626/8.955, allocations: 2.887 MB / 3.815 GB, free: 26.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007499/8.956, allocations: 435.5 kB / 3.816 GB, free: 25.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/8.956, allocations: 17.47 kB / 3.816 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006621/8.957, allocations: 94.23 kB / 3.816 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/8.957, allocations: 65.31 kB / 3.816 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/8.957, allocations: 29.55 kB / 3.816 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00115/8.958, allocations: 0.8497 MB / 3.817 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/8.958, allocations: 0 / 3.817 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00747/8.966, allocations: 1.673 MB / 3.818 GB, free: 25.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i) * 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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (65): * Single equations (assignments): 58 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.009393/8.975, allocations: 1.84 MB / 3.82 GB, free: 25.63 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004482/8.979, allocations: 1.764 MB / 3.822 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/8.98, allocations: 0.9688 kB / 3.822 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/8.981, allocations: 0.8184 MB / 3.823 GB, free: 25.59 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/8.985, allocations: 460 kB / 3.823 GB, free: 25.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006037/8.991, allocations: 4.288 MB / 3.827 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008985/8.991, allocations: 1.357 MB / 3.829 GB, free: 22.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001665/8.993, allocations: 0.7313 MB / 3.829 GB, free: 22.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001956/8.993, allocations: 89.33 kB / 3.83 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of SimCode: time 6.82e-07/8.993, allocations: 0 / 3.83 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of Templates: time 0.06795/9.061, allocations: 52.09 MB / 3.88 GB, free: 20.28 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDCMotor/TestWaterPumpDCMotor.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches