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.002133/0.002137, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.351/2.351, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001115/0.001115, allocations: 90.64 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2733/0.2733, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.851e-05/3.879e-05, allocations: 3.984 kB / 425.3 MB, free: 23.39 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1221, allocations: 58.86 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.12/8.242, allocations: 2.797 GB / 3.27 GB, free: 47.38 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/8.243, allocations: 86.14 kB / 3.27 GB, free: 47.33 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.185/10.43, allocations: 458.1 MB / 3.718 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.455e-06/10.43, allocations: 0 / 3.718 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001296/10.43, allocations: 35.91 kB / 3.718 GB, free: 9.578 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.009431/10.44, allocations: 2.3 MB / 3.72 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/10.44, allocations: 8.031 kB / 3.72 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004293/10.44, allocations: 440.8 kB / 3.72 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/10.44, allocations: 0.9681 MB / 3.721 GB, free: 5.801 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/10.45, allocations: 106.6 kB / 3.721 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003045/10.45, allocations: 127.9 kB / 3.722 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004719/10.45, allocations: 1.639 MB / 3.723 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.078e-05/10.45, allocations: 7.938 kB / 3.723 GB, free: 3.816 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002011/10.45, allocations: 60 kB / 3.723 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-05/10.45, allocations: 46.27 kB / 3.723 GB, free: 3.711 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004249/10.45, allocations: 1.25 MB / 3.724 GB, free: 2.453 MB / 0.5105 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.3994/10.85, allocations: 7.837 MB / 3.732 GB, free: 43.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003286/10.86, allocations: 0.8671 MB / 3.733 GB, free: 43.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/10.86, allocations: 307.2 kB / 3.733 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0785/10.94, allocations: 24.23 MB / 3.757 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/10.94, allocations: 48.5 kB / 3.757 GB, free: 28.72 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 4.358e-06/10.94, allocations: 0 / 3.757 GB, free: 28.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71): time 0.008051/10.95, allocations: 2.21 MB / 3.759 GB, free: 28.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/10.95, allocations: 141.1 kB / 3.759 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/10.95, allocations: 0.8435 MB / 3.76 GB, free: 27.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/10.95, allocations: 39.2 kB / 3.76 GB, free: 27.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004602/10.95, allocations: 0.6951 MB / 3.761 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002724/10.95, allocations: 252.9 kB / 3.761 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.511e-05/10.95, allocations: 23.94 kB / 3.761 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009125/10.95, allocations: 350.8 kB / 3.761 GB, free: 43.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007799/10.95, allocations: 263.7 kB / 3.762 GB, free: 43.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009117/10.95, allocations: 0.7089 MB / 3.762 GB, free: 42.56 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000877/10.95, allocations: 381.8 kB / 3.763 GB, free: 42.55 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/10.95, allocations: 3.969 kB / 3.763 GB, free: 42.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002598/10.95, allocations: 1.09 MB / 3.764 GB, free: 42.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002448/10.96, allocations: 5.741 MB / 3.769 GB, free: 36.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.46e-05/10.96, allocations: 13.94 kB / 3.769 GB, free: 36.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002347/10.96, allocations: 277.1 kB / 3.77 GB, free: 36.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/10.96, allocations: 268.5 kB / 3.77 GB, free: 36.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/10.96, allocations: 0.7759 MB / 3.771 GB, free: 35.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/10.96, allocations: 101.7 kB / 3.771 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/10.96, allocations: 61.77 kB / 3.771 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/10.96, allocations: 3.969 kB / 3.771 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003151/10.97, allocations: 1.036 MB / 3.772 GB, free: 35.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/10.97, allocations: 15.12 kB / 3.772 GB, free: 35.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001294/10.97, allocations: 175.8 kB / 3.772 GB, free: 35.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/10.97, allocations: 279.8 kB / 3.772 GB, free: 35.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/10.97, allocations: 0.7322 MB / 3.773 GB, free: 35.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/10.97, allocations: 93.2 kB / 3.773 GB, free: 35.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001256/10.97, allocations: 62.19 kB / 3.773 GB, free: 35.39 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 () * 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.0004278/10.97, allocations: 185.1 kB / 3.773 GB, free: 35.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003718/10.97, allocations: 121.3 kB / 3.773 GB, free: 35.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005161/10.98, allocations: 3.054 MB / 3.776 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.432e-05/10.98, allocations: 32.36 kB / 3.776 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/10.98, allocations: 0 / 3.776 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/10.98, allocations: 7.062 kB / 3.776 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007639/10.99, allocations: 4.637 MB / 3.781 GB, free: 34.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/10.99, allocations: 0 / 3.781 GB, free: 34.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/10.99, allocations: 153.3 kB / 3.781 GB, free: 34.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003098/10.99, allocations: 1.239 MB / 3.782 GB, free: 34.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/10.99, allocations: 20.06 kB / 3.782 GB, free: 34.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/10.99, allocations: 1.482 MB / 3.784 GB, free: 33.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/10.99, allocations: 3 kB / 3.784 GB, free: 33.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004513/11, allocations: 2.918 MB / 3.787 GB, free: 33.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/11, allocations: 436.6 kB / 3.787 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002695/11, allocations: 15.69 kB / 3.787 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/11, allocations: 86.44 kB / 3.787 GB, free: 33.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001971/11, allocations: 67.83 kB / 3.787 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.82e-05/11, allocations: 27.83 kB / 3.787 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001633/11, allocations: 0.8423 MB / 3.788 GB, free: 32.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.91e-07/11, allocations: 3.062 kB / 3.788 GB, free: 32.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008005/11.01, allocations: 1.664 MB / 3.79 GB, free: 32.95 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 () * 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.01067/11.02, allocations: 1.824 MB / 3.791 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004893/11.03, allocations: 1.558 MB / 3.793 GB, free: 32.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/11.03, allocations: 0 / 3.793 GB, free: 32.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001412/11.03, allocations: 0.7482 MB / 3.794 GB, free: 32.75 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00376/11.03, allocations: 445.6 kB / 3.794 GB, free: 32.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005871/11.04, allocations: 2.605 MB / 3.797 GB, free: 32.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/11.04, allocations: 1.389 MB / 3.798 GB, free: 31.31 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000487/11.04, allocations: 98.83 kB / 3.798 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.142e-06/11.04, allocations: 0 / 3.798 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.09278/11.13, allocations: 48.46 MB / 3.845 GB, free: 27.78 MB / 0.5261 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