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.001342/0.001342, allocations: 179.8 kB / 14.15 MB, free: 1.172 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.394/1.394, allocations: 221.3 MB / 236 MB, free: 2.977 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 91.34 kB / 287 MB, free: 256 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2303/0.2303, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.339e-05/3.342e-05, allocations: 224 / 451.8 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1502, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.963/6.114, allocations: 2.803 GB / 3.305 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/6.114, allocations: 83.48 kB / 3.305 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.372/7.486, allocations: 462.8 MB / 3.757 GB, free: 52.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.754e-06/7.486, allocations: 0 / 3.757 GB, free: 52.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.543e-05/7.486, allocations: 31.12 kB / 3.757 GB, free: 52.98 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.006578/7.492, allocations: 2.3 MB / 3.759 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/7.492, allocations: 11.31 kB / 3.759 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002789/7.495, allocations: 438.9 kB / 3.76 GB, free: 51.56 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/7.497, allocations: 0.974 MB / 3.761 GB, free: 50.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.004e-05/7.497, allocations: 104.5 kB / 3.761 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/7.497, allocations: 129 kB / 3.761 GB, free: 50.87 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/7.5, allocations: 1.632 MB / 3.763 GB, free: 50.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/7.5, allocations: 10 kB / 3.763 GB, free: 50.08 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/7.501, allocations: 61.84 kB / 3.763 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/7.501, allocations: 47.66 kB / 3.763 GB, free: 50.03 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/7.503, allocations: 1.243 MB / 3.764 GB, free: 49.62 MB / 0.5261 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.007934/7.511, allocations: 7.859 MB / 3.772 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/7.513, allocations: 0.8503 MB / 3.772 GB, free: 43.43 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003742/7.513, allocations: 302.8 kB / 3.773 GB, free: 43.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03904/7.552, allocations: 24.25 MB / 3.796 GB, free: 27.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/7.552, allocations: 46.34 kB / 3.796 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 2.385e-06/7.552, allocations: 0 / 3.796 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71): time 0.004931/7.557, allocations: 2.201 MB / 3.799 GB, free: 26.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/7.557, allocations: 136.3 kB / 3.799 GB, free: 26.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/7.558, allocations: 0.8509 MB / 3.8 GB, free: 25.83 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/7.559, allocations: 37.55 kB / 3.8 GB, free: 25.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003245/7.559, allocations: 0.7021 MB / 3.8 GB, free: 25.23 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/7.559, allocations: 247.8 kB / 3.8 GB, free: 25.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.337e-05/7.559, allocations: 23.22 kB / 3.8 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.054e-05/7.559, allocations: 351 kB / 3.801 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/7.559, allocations: 266.5 kB / 3.801 GB, free: 24.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/7.56, allocations: 0.7096 MB / 3.802 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/7.561, allocations: 380.3 kB / 3.802 GB, free: 23.72 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/7.561, allocations: 10.55 kB / 3.802 GB, free: 23.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001501/7.562, allocations: 1.15 MB / 3.803 GB, free: 23.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000944/7.563, allocations: 5.751 MB / 3.809 GB, free: 17.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/7.563, allocations: 15.59 kB / 3.809 GB, free: 17.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/7.564, allocations: 280.7 kB / 3.809 GB, free: 17.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007955/7.565, allocations: 272.6 kB / 3.809 GB, free: 16.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008563/7.566, allocations: 0.7628 MB / 3.81 GB, free: 16.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009736/7.567, allocations: 104.8 kB / 3.81 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/7.567, allocations: 59.56 kB / 3.81 GB, free: 16.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/7.567, allocations: 4 kB / 3.81 GB, free: 16.06 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001661/7.569, allocations: 1.041 MB / 3.811 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/7.569, allocations: 12 kB / 3.811 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007881/7.57, allocations: 193.7 kB / 3.812 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007397/7.57, allocations: 268.1 kB / 3.812 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006669/7.571, allocations: 0.7373 MB / 3.813 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008185/7.572, allocations: 111 kB / 3.813 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.031e-05/7.572, allocations: 55.66 kB / 3.813 GB, free: 13.85 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.0001888/7.572, allocations: 184.5 kB / 3.813 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/7.572, allocations: 114.6 kB / 3.813 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/7.575, allocations: 3.055 MB / 3.816 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.583e-05/7.575, allocations: 37.59 kB / 3.816 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/7.575, allocations: 3.375 kB / 3.816 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/7.575, allocations: 3.562 kB / 3.816 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/7.579, allocations: 4.645 MB / 3.821 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/7.579, allocations: 4.219 kB / 3.821 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/7.58, allocations: 152.8 kB / 3.821 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001728/7.581, allocations: 1.231 MB / 3.822 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.334e-05/7.582, allocations: 20 kB / 3.822 GB, free: 5.566 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009734/7.583, allocations: 1.486 MB / 3.823 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/7.583, allocations: 0 / 3.823 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/7.585, allocations: 2.923 MB / 3.826 GB, free: 1.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005272/7.585, allocations: 433.4 kB / 3.827 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/7.586, allocations: 23.8 kB / 3.827 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006821/7.586, allocations: 78.52 kB / 3.827 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/7.586, allocations: 63.42 kB / 3.827 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/7.587, allocations: 31.75 kB / 3.827 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009483/7.587, allocations: 0.8453 MB / 3.828 GB, free: 8 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/7.587, allocations: 0 / 3.828 GB, free: 8 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006888/7.594, allocations: 1.698 MB / 3.829 GB, free: 14.45 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 () * 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.007416/7.602, allocations: 1.814 MB / 3.831 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003309/7.605, allocations: 1.592 MB / 3.833 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/7.605, allocations: 0 / 3.833 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009269/7.606, allocations: 0.7517 MB / 3.833 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/7.608, allocations: 462.1 kB / 3.834 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003864/7.612, allocations: 2.573 MB / 3.836 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008339/7.613, allocations: 1.395 MB / 3.838 GB, free: 6.707 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001648/7.615, allocations: 0.7755 MB / 3.838 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/7.615, allocations: 79.42 kB / 3.838 GB, free: 5.871 MB / 0.5417 GB Notification: Performance of SimCode: time 5.11e-07/7.615, allocations: 4 kB / 3.839 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of Templates: time 0.3552/7.97, allocations: 52.89 MB / 3.89 GB, free: 66.87 MB / 0.5417 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/jenkins/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