Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_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.001551/0.00155, allocations: 182.8 kB / 15.76 MB, free: 6.367 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.826/1.826, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009727/0.0009727, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.2377/0.2377, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1574, allocations: 58.86 MB / 490.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.422/7.579, allocations: 2.797 GB / 3.276 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/7.58, allocations: 96.23 kB / 3.276 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.857/9.437, allocations: 459.4 MB / 3.725 GB, free: 49.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.835e-06/9.437, allocations: 0 / 3.725 GB, free: 49.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002099/9.437, allocations: 29.72 kB / 3.725 GB, free: 49.79 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.01264/9.45, allocations: 2.474 MB / 3.727 GB, free: 48.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.431e-05/9.45, allocations: 9.938 kB / 3.727 GB, free: 48.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004171/9.454, allocations: 437.9 kB / 3.728 GB, free: 48.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003578/9.458, allocations: 0.9813 MB / 3.729 GB, free: 47.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/9.458, allocations: 101.4 kB / 3.729 GB, free: 47.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005028/9.459, allocations: 122.3 kB / 3.729 GB, free: 47.56 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004635/9.463, allocations: 1.675 MB / 3.731 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.195e-05/9.463, allocations: 0 / 3.731 GB, free: 46.79 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002194/9.463, allocations: 60.2 kB / 3.731 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.198e-05/9.464, allocations: 62.34 kB / 3.731 GB, free: 46.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003628/9.467, allocations: 1.351 MB / 3.732 GB, free: 46.33 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.01099/9.478, allocations: 7.854 MB / 3.74 GB, free: 40.42 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002582/9.481, allocations: 0.9346 MB / 3.741 GB, free: 40.15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04273/9.524, allocations: 24.17 MB / 3.764 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/9.524, allocations: 39.12 kB / 3.764 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 3.587e-06/9.524, allocations: 0 / 3.764 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=71): time 0.01021/9.534, allocations: 3.044 MB / 3.767 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/9.534, allocations: 137.2 kB / 3.767 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/9.536, allocations: 0.8611 MB / 3.768 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.803e-05/9.536, allocations: 37.7 kB / 3.768 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004436/9.536, allocations: 0.7006 MB / 3.769 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/9.536, allocations: 246.9 kB / 3.769 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/9.536, allocations: 24 kB / 3.769 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/9.537, allocations: 349.9 kB / 3.769 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007501/9.537, allocations: 330.4 kB / 3.77 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009265/9.538, allocations: 0.7802 MB / 3.771 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/9.539, allocations: 450.9 kB / 3.771 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/9.539, allocations: 4 kB / 3.771 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002666/9.542, allocations: 1.309 MB / 3.772 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001438/9.543, allocations: 5.742 MB / 3.778 GB, free: 304 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/9.543, allocations: 16 kB / 3.778 GB, free: 288 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001743/9.545, allocations: 312.5 kB / 3.778 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/9.546, allocations: 267.5 kB / 3.778 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/9.548, allocations: 0.8187 MB / 3.779 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/9.55, allocations: 99.81 kB / 3.779 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/9.55, allocations: 63.98 kB / 3.779 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/9.55, allocations: 4 kB / 3.779 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003569/9.553, allocations: 1.183 MB / 3.781 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-05/9.553, allocations: 16.81 kB / 3.781 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001275/9.555, allocations: 232.5 kB / 3.781 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009159/9.556, allocations: 271.5 kB / 3.781 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/9.557, allocations: 0.7786 MB / 3.782 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/9.558, allocations: 107.8 kB / 3.782 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/9.559, allocations: 63.98 kB / 3.782 GB, free: 12.03 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.001013/9.56, allocations: 388.7 kB / 3.782 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/9.56, allocations: 122.5 kB / 3.782 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005267/9.565, allocations: 3.122 MB / 3.786 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.802e-05/9.565, allocations: 43.94 kB / 3.786 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/9.565, allocations: 0 / 3.786 GB, free: 8.328 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/9.565, allocations: 4.125 kB / 3.786 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007407/9.573, allocations: 4.664 MB / 3.79 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/9.573, allocations: 0 / 3.79 GB, free: 3.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005841/9.573, allocations: 148.1 kB / 3.79 GB, free: 3.445 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002221/9.576, allocations: 1.075 MB / 3.791 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-05/9.576, allocations: 16 kB / 3.791 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/9.577, allocations: 1.446 MB / 3.793 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/9.577, allocations: 4.031 kB / 3.793 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3813/9.959, allocations: 2.995 MB / 3.796 GB, free: 71.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/9.96, allocations: 429 kB / 3.796 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/9.96, allocations: 17.69 kB / 3.796 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/9.962, allocations: 89.81 kB / 3.796 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002198/9.962, allocations: 65.39 kB / 3.796 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/9.962, allocations: 32.16 kB / 3.796 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002269/9.965, allocations: 0.8587 MB / 3.797 GB, free: 71.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.9e-07/9.965, allocations: 0 / 3.797 GB, free: 71.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0109/9.975, allocations: 1.657 MB / 3.799 GB, free: 71.05 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.01291/9.988, allocations: 1.813 MB / 3.801 GB, free: 70.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007959/9.996, allocations: 1.765 MB / 3.802 GB, free: 70.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/9.996, allocations: 0 / 3.802 GB, free: 70.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002744/9.999, allocations: 0.814 MB / 3.803 GB, free: 70.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004733/10, allocations: 455.5 kB / 3.803 GB, free: 70.89 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009842/10.01, allocations: 4.286 MB / 3.808 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/10.01, allocations: 1.394 MB / 3.809 GB, free: 68.24 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002066/10.02, allocations: 0.7179 MB / 3.81 GB, free: 68.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/10.02, allocations: 94.61 kB / 3.81 GB, free: 68.22 MB / 0.5261 GB Notification: Performance of SimCode: time 7.32e-07/10.02, allocations: 0 / 3.81 GB, free: 68.22 MB / 0.5261 GB Notification: Performance of Templates: time 0.06951/10.09, allocations: 49.51 MB / 3.858 GB, free: 66.31 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat","/var/lib/jenkins/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_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches