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.001949/0.001949, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.518/1.518, allocations: 226.5 MB / 245.4 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008501/0.0008498, allocations: 100.3 kB / 297.5 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.3898/0.3898, allocations: 44.81 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004309, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5046/0.5051, allocations: 62.96 MB / 0.5184 GB, free: 37.36 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.6385, allocations: 85.93 MB / 0.6023 GB, free: 3.359 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.6388, allocations: 67.95 kB / 0.6024 GB, free: 3.297 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001682/0.6405, allocations: 0.6307 MB / 0.603 GB, free: 2.664 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.235e-06/0.6405, allocations: 0 / 0.603 GB, free: 2.664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.6405, allocations: 0 / 0.603 GB, free: 2.664 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.0003153/0.6409, allocations: 319.5 kB / 0.6033 GB, free: 2.301 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.6409, allocations: 8.031 kB / 0.6033 GB, free: 2.293 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.641, allocations: 0.9375 kB / 0.6033 GB, free: 2.293 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.6411, allocations: 176.2 kB / 0.6035 GB, free: 2.082 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.6411, allocations: 4.375 kB / 0.6035 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.6412, allocations: 4.375 kB / 0.6035 GB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.6413, allocations: 34.27 kB / 0.6035 GB, free: 2.035 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.6413, allocations: 192 / 0.6035 GB, free: 2.035 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.6413, allocations: 11.86 kB / 0.6035 GB, free: 2.023 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.6413, allocations: 0 / 0.6035 GB, free: 2.023 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.313e-05/0.6414, allocations: 4 kB / 0.6035 GB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001756/0.6415, allocations: 153.7 kB / 0.6037 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.6418, allocations: 38.58 kB / 0.6037 GB, free: 1.773 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.6418, allocations: 12.94 kB / 0.6037 GB, free: 1.758 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003011/0.6421, allocations: 117.1 kB / 0.6039 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.6422, allocations: 38.5 kB / 0.6039 GB, free: 1.578 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.365e-06/0.6422, allocations: 0 / 0.6039 GB, free: 1.578 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.001407/0.6436, allocations: 209.4 kB / 0.6041 GB, free: 1.367 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.6436, allocations: 55.34 kB / 0.6041 GB, free: 1.301 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.365e-05/0.6437, allocations: 93.86 kB / 0.6042 GB, free: 1.199 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.6437, allocations: 29.7 kB / 0.6043 GB, free: 1.164 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.6438, allocations: 80.14 kB / 0.6043 GB, free: 1.082 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.6438, allocations: 19.73 kB / 0.6044 GB, free: 1.062 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-06/0.6438, allocations: 0 / 0.6044 GB, free: 1.062 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.6439, allocations: 318.8 kB / 0.6047 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.771e-05/0.644, allocations: 19.98 kB / 0.6047 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.6441, allocations: 28.11 kB / 0.6047 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.6443, allocations: 48.83 kB / 0.6048 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.6443, allocations: 0 / 0.6048 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002052/0.6445, allocations: 89.66 kB / 0.6048 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.6445, allocations: 15.88 kB / 0.6049 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.6445, allocations: 0 / 0.6049 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.6445, allocations: 0 / 0.6049 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.6447, allocations: 19.92 kB / 0.6049 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.6447, allocations: 0 / 0.6049 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.279e-05/0.6448, allocations: 7.984 kB / 0.6049 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.6448, allocations: 8 kB / 0.6049 GB, free: 0.5 MB / 410.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 7.437e-05/0.6449, allocations: 105.8 kB / 0.605 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.767e-05/0.6449, allocations: 11.94 kB / 0.605 GB, free: 384 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.6452, allocations: 105.4 kB / 0.6051 GB, free: 272 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.6452, allocations: 3.938 kB / 0.6051 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6452, allocations: 0 / 0.6051 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6452, allocations: 0 / 0.6051 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000752/0.646, allocations: 363.2 kB / 0.6055 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.646, allocations: 4.266 kB / 0.6055 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001/0.6461, allocations: 15.98 kB / 0.6055 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.6461, allocations: 4 kB / 0.6055 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.6461, allocations: 0 / 0.6055 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.6461, allocations: 0 / 0.6055 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6461, allocations: 4.031 kB / 0.6055 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.6464, allocations: 188.3 kB / 0.6057 GB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.033e-05/0.6464, allocations: 81.11 kB / 0.6057 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.6465, allocations: 4 kB / 0.6057 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.6466, allocations: 11.98 kB / 0.6058 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.125e-05/0.6466, allocations: 7.938 kB / 0.6058 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.6466, allocations: 4 kB / 0.6058 GB, free: 15.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.496e-05/0.6467, allocations: 75.28 kB / 0.6058 GB, free: 15.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6467, allocations: 0 / 0.6058 GB, free: 15.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000221/0.6469, allocations: 8 kB / 0.6058 GB, free: 15.41 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.00017/0.6471, allocations: 103.3 kB / 0.6059 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.6473, allocations: 51.91 kB / 0.606 GB, free: 15.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.6473, allocations: 4 kB / 0.606 GB, free: 15.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.183e-05/0.6474, allocations: 35.97 kB / 0.606 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.6476, allocations: 4 kB / 0.606 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004483/0.6481, allocations: 146.4 kB / 0.6062 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.6484, allocations: 0.6809 MB / 0.6068 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.715e-05/0.6485, allocations: 4 kB / 0.6068 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.6485, allocations: 7.438 kB / 0.6068 GB, free: 14.31 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.6485, allocations: 8 kB / 0.6069 GB, free: 14.3 MB / 426.7 MB Notification: Performance of Templates: time 0.002849/0.6514, allocations: 0.6066 MB / 0.6074 GB, free: 13.7 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/jenkins1/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