Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002291/0.002291, allocations: 196.5 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 226.5 MB / 245.4 MB, free: 8.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009312/0.0009317, allocations: 97.52 kB / 297.5 MB, free: 6.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3773/0.3773, allocations: 44.82 MB / 394.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003174, allocations: 8 kB / 467.9 MB, free: 12.06 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4194/0.4197, allocations: 62.95 MB / 0.5184 GB, free: 37.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1203/0.54, allocations: 87.36 MB / 0.6037 GB, free: 1.977 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/0.5403, allocations: 75.89 kB / 0.6038 GB, free: 1.906 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02536/0.5656, allocations: 8.373 MB / 0.612 GB, free: 9.516 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5657, allocations: 0 / 0.612 GB, free: 9.516 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.5657, allocations: 0 / 0.612 GB, free: 9.516 MB / 426.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.000383/0.5661, allocations: 343.5 kB / 0.6123 GB, free: 9.129 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.5661, allocations: 8.031 kB / 0.6123 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.5662, allocations: 8.844 kB / 0.6123 GB, free: 9.113 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.152e-05/0.5663, allocations: 164.4 kB / 0.6125 GB, free: 8.914 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.5663, allocations: 384 / 0.6125 GB, free: 8.914 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.5663, allocations: 4.312 kB / 0.6125 GB, free: 8.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.5664, allocations: 38.25 kB / 0.6125 GB, free: 8.867 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5664, allocations: 192 / 0.6125 GB, free: 8.867 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.5665, allocations: 7.938 kB / 0.6125 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.5665, allocations: 4 kB / 0.6125 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.708e-05/0.5665, allocations: 7.984 kB / 0.6125 GB, free: 8.848 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003183/0.5668, allocations: 233 kB / 0.6128 GB, free: 8.57 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.409e-05/0.5669, allocations: 22.45 kB / 0.6128 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.953e-05/0.5669, allocations: 12.92 kB / 0.6128 GB, free: 8.523 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.5669, allocations: 3.938 kB / 0.6128 GB, free: 8.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.567, allocations: 38.55 kB / 0.6128 GB, free: 8.473 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.843e-06/0.567, allocations: 0 / 0.6128 GB, free: 8.473 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001559/0.5672, allocations: 33.7 kB / 0.6129 GB, free: 8.434 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.5672, allocations: 51.41 kB / 0.6129 GB, free: 8.371 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/0.5673, allocations: 97.86 kB / 0.613 GB, free: 8.266 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.5673, allocations: 25.7 kB / 0.613 GB, free: 8.234 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.059e-05/0.5674, allocations: 88.03 kB / 0.6131 GB, free: 8.145 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.5674, allocations: 12.12 kB / 0.6131 GB, free: 8.133 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.385e-06/0.5674, allocations: 0 / 0.6131 GB, free: 8.133 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.5675, allocations: 314.8 kB / 0.6134 GB, free: 7.816 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.026e-05/0.5675, allocations: 0 / 0.6134 GB, free: 7.816 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.5675, allocations: 22.58 kB / 0.6134 GB, free: 7.785 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.391e-05/0.5676, allocations: 34.5 kB / 0.6135 GB, free: 7.742 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.5676, allocations: 0 / 0.6135 GB, free: 7.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.512e-05/0.5677, allocations: 49.58 kB / 0.6135 GB, free: 7.688 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.5677, allocations: 4 kB / 0.6135 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.5677, allocations: 4 kB / 0.6135 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.5677, allocations: 0 / 0.6135 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.658e-05/0.5678, allocations: 7.984 kB / 0.6135 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5678, allocations: 0 / 0.6135 GB, free: 7.672 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.901e-05/0.5678, allocations: 3.906 kB / 0.6135 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.5678, allocations: 8.094 kB / 0.6136 GB, free: 7.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.17e-05/0.5679, allocations: 113.8 kB / 0.6137 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.568, allocations: 7.938 kB / 0.6137 GB, free: 7.531 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.5681, allocations: 48.42 kB / 0.6137 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.5681, allocations: 4 kB / 0.6137 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.5681, allocations: 0 / 0.6137 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.5681, allocations: 0 / 0.6137 GB, free: 7.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.5682, allocations: 153.7 kB / 0.6139 GB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.5683, allocations: 11.98 kB / 0.6139 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.5683, allocations: 0 / 0.6139 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5683, allocations: 0 / 0.6139 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.5683, allocations: 0 / 0.6139 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.5683, allocations: 0 / 0.6139 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5683, allocations: 0 / 0.6139 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.31e-05/0.5684, allocations: 135.4 kB / 0.614 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.5684, allocations: 85.12 kB / 0.6141 GB, free: 7.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.5685, allocations: 4 kB / 0.6141 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.196e-05/0.5685, allocations: 0 / 0.6141 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.5685, allocations: 0 / 0.6141 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.5685, allocations: 0 / 0.6141 GB, free: 7.016 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.418e-05/0.5686, allocations: 79.28 kB / 0.6142 GB, free: 6.938 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5686, allocations: 3.938 kB / 0.6142 GB, free: 6.934 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003331/0.5689, allocations: 47.94 kB / 0.6142 GB, free: 6.887 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0003221/0.5693, allocations: 151.2 kB / 0.6144 GB, free: 6.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.814e-05/0.5694, allocations: 33.7 kB / 0.6144 GB, free: 6.691 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5694, allocations: 4 kB / 0.6144 GB, free: 6.688 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.8e-05/0.5694, allocations: 29.69 kB / 0.6144 GB, free: 6.652 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.5696, allocations: 14.44 kB / 0.6144 GB, free: 6.641 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002206/0.5698, allocations: 78.7 kB / 0.6145 GB, free: 6.535 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.5701, allocations: 0.6812 MB / 0.6152 GB, free: 5.828 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.992e-05/0.5701, allocations: 0 / 0.6152 GB, free: 5.828 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.174e-05/0.5701, allocations: 7.438 kB / 0.6152 GB, free: 5.82 MB / 426.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5701, allocations: 0 / 0.6152 GB, free: 5.82 MB / 426.7 MB Notification: Performance of Templates: time 0.003263/0.5734, allocations: 0.9784 MB / 0.6161 GB, free: 4.848 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches