Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_trunk_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009878/0.0009878, allocations: 198.9 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 226.5 MB / 244.1 MB, free: 8.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008595/0.0008596, allocations: 101.2 kB / 296.1 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.367/0.367, allocations: 44.82 MB / 393 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003023, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3779, allocations: 62.95 MB / 0.5165 GB, free: 37.01 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.329/6.707, allocations: 2.805 GB / 3.321 GB, free: 167.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/6.707, allocations: 88 kB / 3.321 GB, free: 167.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.609/8.317, allocations: 444.2 MB / 3.755 GB, free: 67 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.605e-06/8.317, allocations: 1.25 kB / 3.755 GB, free: 67 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001355/8.317, allocations: 35.58 kB / 3.755 GB, free: 67 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.01109/8.328, allocations: 2.455 MB / 3.758 GB, free: 65.78 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/8.328, allocations: 13.03 kB / 3.758 GB, free: 65.78 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00352/8.332, allocations: 440 kB / 3.758 GB, free: 65.7 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002738/8.334, allocations: 1.011 MB / 3.759 GB, free: 65.34 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.281e-05/8.334, allocations: 104.2 kB / 3.759 GB, free: 65.33 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001906/8.335, allocations: 134.4 kB / 3.759 GB, free: 65.32 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0041/8.339, allocations: 1.68 MB / 3.761 GB, free: 65.03 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.927e-05/8.339, allocations: 5.906 kB / 3.761 GB, free: 65.03 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/8.339, allocations: 58.86 kB / 3.761 GB, free: 65.03 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.679e-05/8.339, allocations: 44.84 kB / 3.761 GB, free: 65.02 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003595/8.343, allocations: 1.356 MB / 3.762 GB, free: 65.01 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.01133/8.354, allocations: 7.855 MB / 3.77 GB, free: 60.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/8.357, allocations: 0.9406 MB / 3.771 GB, free: 60.4 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007705/8.358, allocations: 373.9 kB / 3.771 GB, free: 60.38 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04355/8.401, allocations: 26.72 MB / 3.797 GB, free: 43.01 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.419e-05/8.401, allocations: 40.94 kB / 3.797 GB, free: 42.97 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=68): time 2.354e-06/8.401, allocations: 0 / 3.797 GB, free: 42.97 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71): time 0.01187/8.413, allocations: 3.152 MB / 3.8 GB, free: 42.32 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/8.413, allocations: 143 kB / 3.801 GB, free: 42.16 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/8.415, allocations: 0.9824 MB / 3.802 GB, free: 41.99 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.976e-05/8.415, allocations: 40.3 kB / 3.802 GB, free: 41.96 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005065/8.416, allocations: 0.6939 MB / 3.802 GB, free: 41.61 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002448/8.416, allocations: 258.1 kB / 3.802 GB, free: 41.46 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/8.416, allocations: 22.28 kB / 3.803 GB, free: 41.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001145/8.416, allocations: 351.5 kB / 3.803 GB, free: 41.15 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007843/8.417, allocations: 331 kB / 3.803 GB, free: 41.15 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009948/8.418, allocations: 0.788 MB / 3.804 GB, free: 40.59 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/8.42, allocations: 1.159 MB / 3.805 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/8.42, allocations: 5.062 kB / 3.805 GB, free: 40.06 MB / 0.5417 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002827/8.423, allocations: 1.31 MB / 3.806 GB, free: 39.94 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003492/8.423, allocations: 0.5196 MB / 3.807 GB, free: 39.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.684e-05/8.423, allocations: 14.28 kB / 3.807 GB, free: 39.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001901/8.425, allocations: 356 kB / 3.807 GB, free: 39.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00084/8.426, allocations: 267.5 kB / 3.807 GB, free: 39.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/8.427, allocations: 0.8172 MB / 3.808 GB, free: 38.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/8.428, allocations: 98.41 kB / 3.808 GB, free: 38.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/8.429, allocations: 60.77 kB / 3.808 GB, free: 38.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/8.429, allocations: 3.625 kB / 3.808 GB, free: 38.8 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002673/8.431, allocations: 1.19 MB / 3.81 GB, free: 38.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.668e-05/8.431, allocations: 14.12 kB / 3.81 GB, free: 38.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001014/8.432, allocations: 225 kB / 3.81 GB, free: 38.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008188/8.433, allocations: 276.1 kB / 3.81 GB, free: 38.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/8.434, allocations: 0.7843 MB / 3.811 GB, free: 38.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/8.435, allocations: 89.75 kB / 3.811 GB, free: 38.24 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/8.436, allocations: 78.11 kB / 3.811 GB, free: 38.23 MB / 0.5417 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.0008585/8.436, allocations: 392.2 kB / 3.811 GB, free: 38.04 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/8.437, allocations: 126.8 kB / 3.811 GB, free: 37.97 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004514/8.441, allocations: 3.117 MB / 3.815 GB, free: 37.64 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-05/8.441, allocations: 38.61 kB / 3.815 GB, free: 37.63 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/8.441, allocations: 0 / 3.815 GB, free: 37.63 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/8.441, allocations: 7.531 kB / 3.815 GB, free: 37.63 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008269/8.45, allocations: 4.652 MB / 3.819 GB, free: 37.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/8.45, allocations: 0 / 3.819 GB, free: 37.09 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/8.45, allocations: 149.2 kB / 3.819 GB, free: 37.08 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002076/8.452, allocations: 1.081 MB / 3.82 GB, free: 37.02 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.621e-05/8.452, allocations: 22.56 kB / 3.82 GB, free: 37.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/8.454, allocations: 1.444 MB / 3.822 GB, free: 36.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/8.454, allocations: 0.75 kB / 3.822 GB, free: 36.47 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003933/8.458, allocations: 2.897 MB / 3.825 GB, free: 36.05 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/8.459, allocations: 437.5 kB / 3.825 GB, free: 35.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004533/8.459, allocations: 18.25 kB / 3.825 GB, free: 35.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/8.46, allocations: 84.52 kB / 3.825 GB, free: 35.82 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/8.461, allocations: 71.47 kB / 3.825 GB, free: 35.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.041e-05/8.461, allocations: 30.06 kB / 3.825 GB, free: 35.81 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001553/8.462, allocations: 0.8501 MB / 3.826 GB, free: 35.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/8.462, allocations: 0 / 3.826 GB, free: 35.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008342/8.471, allocations: 1.673 MB / 3.828 GB, free: 35.51 MB / 0.5417 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.009723/8.48, allocations: 1.832 MB / 3.829 GB, free: 35.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004345/8.485, allocations: 1.776 MB / 3.831 GB, free: 34.93 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/8.485, allocations: 3.938 kB / 3.831 GB, free: 34.93 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001198/8.486, allocations: 0.8168 MB / 3.832 GB, free: 34.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/8.489, allocations: 453.8 kB / 3.832 GB, free: 34.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006132/8.495, allocations: 4.333 MB / 3.837 GB, free: 32.48 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008126/8.496, allocations: 1.344 MB / 3.838 GB, free: 31.73 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/8.496, allocations: 108.8 kB / 3.838 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of SimCode: time 1.523e-06/8.496, allocations: 0 / 3.838 GB, free: 31.71 MB / 0.5417 GB Notification: Performance of Templates: time 0.07244/8.569, allocations: 46.61 MB / 3.884 GB, free: 20.7 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches