Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 180.9 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.4 MB / 223.6 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008441/0.0008441, allocations: 86.38 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3543/0.3543, allocations: 43.56 MB / 363.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000394/0.000394, allocations: 20 kB / 432.6 MB, free: 5.867 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1391, allocations: 58.85 MB / 491.5 MB, free: 10.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.249/6.388, allocations: 2.798 GB / 3.278 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/6.389, allocations: 91.67 kB / 3.278 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.522/7.91, allocations: 439.5 MB / 3.707 GB, free: 58.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.877e-06/7.91, allocations: 7.172 kB / 3.707 GB, free: 58.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.982e-05/7.91, allocations: 32.41 kB / 3.707 GB, free: 58.28 MB / 0.5105 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.01023/7.921, allocations: 2.438 MB / 3.71 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/7.921, allocations: 9.906 kB / 3.71 GB, free: 57.07 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003161/7.924, allocations: 447.6 kB / 3.71 GB, free: 56.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/7.926, allocations: 1.005 MB / 3.711 GB, free: 56.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.309e-05/7.926, allocations: 110.1 kB / 3.711 GB, free: 56.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/7.926, allocations: 124.7 kB / 3.711 GB, free: 56.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003798/7.93, allocations: 1.679 MB / 3.713 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.624e-05/7.93, allocations: 10.38 kB / 3.713 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/7.93, allocations: 57.98 kB / 3.713 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.667e-05/7.93, allocations: 45.84 kB / 3.713 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003502/7.934, allocations: 1.356 MB / 3.714 GB, free: 56.3 MB / 0.5105 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.00965/7.944, allocations: 7.861 MB / 3.722 GB, free: 51.72 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/7.946, allocations: 0.9399 MB / 3.723 GB, free: 51.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007978/7.947, allocations: 374.6 kB / 3.723 GB, free: 51.68 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04073/7.988, allocations: 24.16 MB / 3.747 GB, free: 36.92 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/7.988, allocations: 46.28 kB / 3.747 GB, free: 36.88 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 2.705e-06/7.988, allocations: 0 / 3.747 GB, free: 36.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71): time 0.01122/7.999, allocations: 3.169 MB / 3.75 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/7.999, allocations: 140.5 kB / 3.75 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00167/8.001, allocations: 0.9795 MB / 3.751 GB, free: 35.89 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.27e-05/8.001, allocations: 39.98 kB / 3.751 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004445/8.002, allocations: 0.6919 MB / 3.752 GB, free: 35.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/8.002, allocations: 249.2 kB / 3.752 GB, free: 35.37 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-05/8.002, allocations: 22.81 kB / 3.752 GB, free: 35.37 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.556e-05/8.002, allocations: 356.2 kB / 3.752 GB, free: 35.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007438/8.003, allocations: 330.8 kB / 3.753 GB, free: 35.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009745/8.004, allocations: 0.7877 MB / 3.753 GB, free: 34.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/8.005, allocations: 1.157 MB / 3.755 GB, free: 33.97 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/8.005, allocations: 3.469 kB / 3.755 GB, free: 33.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002499/8.008, allocations: 1.314 MB / 3.756 GB, free: 33.86 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002425/8.008, allocations: 0.5166 MB / 3.756 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/8.008, allocations: 14.19 kB / 3.756 GB, free: 33.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/8.01, allocations: 361.5 kB / 3.757 GB, free: 33.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007986/8.011, allocations: 269.4 kB / 3.757 GB, free: 33.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/8.012, allocations: 0.8087 MB / 3.758 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/8.013, allocations: 105.8 kB / 3.758 GB, free: 32.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.101e-05/8.013, allocations: 61.02 kB / 3.758 GB, free: 32.71 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/8.013, allocations: 3.969 kB / 3.758 GB, free: 32.71 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002496/8.016, allocations: 1.191 MB / 3.759 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/8.016, allocations: 17.75 kB / 3.759 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/8.017, allocations: 224.7 kB / 3.759 GB, free: 32.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007933/8.018, allocations: 276.4 kB / 3.76 GB, free: 32.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/8.019, allocations: 0.7808 MB / 3.76 GB, free: 32.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/8.02, allocations: 97.14 kB / 3.76 GB, free: 32.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.881e-05/8.02, allocations: 66.94 kB / 3.761 GB, free: 32.03 MB / 0.5105 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.0008085/8.021, allocations: 396.1 kB / 3.761 GB, free: 31.82 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/8.021, allocations: 116.5 kB / 3.761 GB, free: 31.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003893/8.025, allocations: 3.113 MB / 3.764 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.07e-05/8.025, allocations: 36.42 kB / 3.764 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/8.025, allocations: 3.469 kB / 3.764 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/8.025, allocations: 10.19 kB / 3.764 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00553/8.031, allocations: 4.661 MB / 3.769 GB, free: 30.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/8.031, allocations: 0 / 3.769 GB, free: 30.81 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005542/8.031, allocations: 156.9 kB / 3.769 GB, free: 30.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001909/8.033, allocations: 1.074 MB / 3.77 GB, free: 30.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/8.033, allocations: 24.08 kB / 3.77 GB, free: 30.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/8.034, allocations: 1.443 MB / 3.771 GB, free: 29.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/8.034, allocations: 7.969 kB / 3.771 GB, free: 29.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003543/8.038, allocations: 2.891 MB / 3.774 GB, free: 28.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006994/8.039, allocations: 432.9 kB / 3.775 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/8.039, allocations: 19.09 kB / 3.775 GB, free: 28.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007222/8.04, allocations: 89.45 kB / 3.775 GB, free: 28.19 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/8.04, allocations: 71.09 kB / 3.775 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-05/8.04, allocations: 27.38 kB / 3.775 GB, free: 28.17 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001102/8.041, allocations: 0.8585 MB / 3.776 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.81e-07/8.041, allocations: 0 / 3.776 GB, free: 27.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006536/8.048, allocations: 1.669 MB / 3.777 GB, free: 27.51 MB / 0.5105 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.007758/8.055, allocations: 1.814 MB / 3.779 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004083/8.059, allocations: 1.761 MB / 3.781 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/8.059, allocations: 5.781 kB / 3.781 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/8.061, allocations: 0.8162 MB / 3.781 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/8.063, allocations: 467 kB / 3.782 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005674/8.069, allocations: 4.34 MB / 3.786 GB, free: 23.43 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000807/8.07, allocations: 1.347 MB / 3.787 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003572/8.07, allocations: 96.84 kB / 3.788 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/8.07, allocations: 0 / 3.788 GB, free: 22.67 MB / 0.5105 GB Notification: Performance of Templates: time 0.05701/8.127, allocations: 46.45 MB / 3.833 GB, free: 5.18 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDCMotor/TestWaterPumpDCMotor.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches