Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001232/0.001232, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.225/1.225, allocations: 227.2 MB / 245 MB, free: 5.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008875/0.0008876, allocations: 96.06 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3246/0.3246, allocations: 45.23 MB / 394.7 MB, free: 31.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002671, allocations: 11.98 kB / 468.4 MB, free: 7.719 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2639, allocations: 63.25 MB / 0.5192 GB, free: 37.66 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09424/0.3582, allocations: 86.08 MB / 0.6032 GB, free: 1.383 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.3584, allocations: 63.97 kB / 0.6033 GB, free: 1.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001677/0.3601, allocations: 0.6305 MB / 0.6039 GB, free: 0.6875 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3601, allocations: 4 kB / 0.6039 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.3601, allocations: 0 / 0.6039 GB, free: 0.6836 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002407/0.3604, allocations: 315.3 kB / 0.6042 GB, free: 336 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3604, allocations: 8.031 kB / 0.6042 GB, free: 328 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.3604, allocations: 7.938 kB / 0.6042 GB, free: 320 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.3606, allocations: 174.9 kB / 0.6044 GB, free: 104 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.3606, allocations: 4 kB / 0.6044 GB, free: 100 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.3606, allocations: 4 kB / 0.6044 GB, free: 96 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.413e-05/0.3607, allocations: 33.64 kB / 0.6045 GB, free: 56 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3607, allocations: 0 / 0.6045 GB, free: 56 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3607, allocations: 3.984 kB / 0.6045 GB, free: 52 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.3607, allocations: 0 / 0.6045 GB, free: 52 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.28e-05/0.3608, allocations: 8 kB / 0.6045 GB, free: 44 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001661/0.3609, allocations: 157.7 kB / 0.6046 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.3611, allocations: 30.58 kB / 0.6046 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002999/0.3614, allocations: 129.1 kB / 0.6048 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.3614, allocations: 38.5 kB / 0.6048 GB, free: 15.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.753e-06/0.3614, allocations: 0 / 0.6048 GB, free: 15.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.00124/0.3627, allocations: 197.4 kB / 0.605 GB, free: 15.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.3627, allocations: 63.34 kB / 0.6051 GB, free: 15.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.355e-05/0.3628, allocations: 88.98 kB / 0.6051 GB, free: 15.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.3628, allocations: 25.7 kB / 0.6052 GB, free: 15.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.665e-05/0.3629, allocations: 80.27 kB / 0.6052 GB, free: 15.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.3629, allocations: 23.75 kB / 0.6053 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-06/0.3629, allocations: 0 / 0.6053 GB, free: 15.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3631, allocations: 310.8 kB / 0.6056 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.114e-05/0.3631, allocations: 23.98 kB / 0.6056 GB, free: 14.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.3632, allocations: 19.97 kB / 0.6056 GB, free: 14.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.856e-05/0.3633, allocations: 35.94 kB / 0.6056 GB, free: 14.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3633, allocations: 0 / 0.6056 GB, free: 14.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001922/0.3635, allocations: 77.92 kB / 0.6057 GB, free: 14.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3635, allocations: 4 kB / 0.6057 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3635, allocations: 8 kB / 0.6057 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3636, allocations: 7.984 kB / 0.6057 GB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3637, allocations: 19.92 kB / 0.6057 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.3637, allocations: 0 / 0.6057 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.497e-05/0.3638, allocations: 4 kB / 0.6057 GB, free: 14.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.3638, allocations: 4 kB / 0.6058 GB, free: 14.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.448e-05/0.3639, allocations: 117.8 kB / 0.6059 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.3639, allocations: 0 / 0.6059 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.3642, allocations: 93.22 kB / 0.606 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3642, allocations: 7.938 kB / 0.606 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3642, allocations: 0 / 0.606 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3642, allocations: 7.984 kB / 0.606 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006713/0.3649, allocations: 363.2 kB / 0.6063 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3649, allocations: 4.031 kB / 0.6063 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.365, allocations: 23.86 kB / 0.6063 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.365, allocations: 0 / 0.6063 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.3651, allocations: 4 kB / 0.6063 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3651, allocations: 3.984 kB / 0.6064 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3651, allocations: 0 / 0.6064 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.3653, allocations: 198 kB / 0.6065 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.3654, allocations: 81.11 kB / 0.6066 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.3654, allocations: 4 kB / 0.6066 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3655, allocations: 4 kB / 0.6066 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.857e-05/0.3655, allocations: 11.98 kB / 0.6066 GB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.3655, allocations: 128 / 0.6066 GB, free: 13.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.947e-05/0.3656, allocations: 83.22 kB / 0.6067 GB, free: 13.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3656, allocations: 0 / 0.6067 GB, free: 13.48 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.3658, allocations: 11.95 kB / 0.6067 GB, free: 13.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001379/0.3659, allocations: 99.25 kB / 0.6068 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002019/0.3661, allocations: 56.05 kB / 0.6069 GB, free: 13.31 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3662, allocations: 0 / 0.6069 GB, free: 13.31 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/0.3663, allocations: 35.91 kB / 0.6069 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.3664, allocations: 4 kB / 0.6069 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004208/0.3668, allocations: 139.6 kB / 0.607 GB, free: 13.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.3671, allocations: 0.6809 MB / 0.6077 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.379e-05/0.3672, allocations: 8 kB / 0.6077 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.3672, allocations: 7.438 kB / 0.6077 GB, free: 12.38 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3672, allocations: 4 kB / 0.6077 GB, free: 12.38 MB / 426.7 MB Notification: Performance of Templates: time 0.00237/0.3696, allocations: 0.5908 MB / 0.6083 GB, free: 11.79 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches