Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 201.2 kB / 18.11 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 226.5 MB / 245.4 MB, free: 8.238 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 107 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3774/0.3774, allocations: 44.82 MB / 394.3 MB, free: 35.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.000292, allocations: 8 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4006, allocations: 62.95 MB / 0.5184 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1266/0.5273, allocations: 87.35 MB / 0.6037 GB, free: 1.992 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.5275, allocations: 75.94 kB / 0.6038 GB, free: 1.922 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02614/0.5537, allocations: 8.376 MB / 0.612 GB, free: 9.531 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5537, allocations: 0 / 0.612 GB, free: 9.531 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.5538, allocations: 0 / 0.612 GB, free: 9.531 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004309/0.5542, allocations: 351.4 kB / 0.6123 GB, free: 9.137 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.5543, allocations: 12.03 kB / 0.6123 GB, free: 9.125 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.5543, allocations: 4.938 kB / 0.6123 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.5544, allocations: 164.4 kB / 0.6125 GB, free: 8.922 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.5545, allocations: 384 / 0.6125 GB, free: 8.922 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.5545, allocations: 384 / 0.6125 GB, free: 8.922 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.5546, allocations: 34.2 kB / 0.6125 GB, free: 8.883 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.5546, allocations: 192 / 0.6125 GB, free: 8.883 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.5546, allocations: 3.938 kB / 0.6125 GB, free: 8.879 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.5546, allocations: 0 / 0.6125 GB, free: 8.879 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.598e-05/0.5547, allocations: 4 kB / 0.6125 GB, free: 8.875 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.5549, allocations: 153.7 kB / 0.6127 GB, free: 8.676 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.779e-05/0.5549, allocations: 18.61 kB / 0.6127 GB, free: 8.648 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.617e-05/0.555, allocations: 4.859 kB / 0.6127 GB, free: 8.641 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.357e-05/0.555, allocations: 8 kB / 0.6127 GB, free: 8.633 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.5551, allocations: 34.5 kB / 0.6127 GB, free: 8.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.373e-06/0.5551, allocations: 0 / 0.6127 GB, free: 8.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001732/0.5552, allocations: 49.62 kB / 0.6128 GB, free: 8.535 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.5553, allocations: 51.41 kB / 0.6128 GB, free: 8.473 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.444e-05/0.5554, allocations: 89.86 kB / 0.6129 GB, free: 8.375 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.5554, allocations: 29.7 kB / 0.6129 GB, free: 8.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.5554, allocations: 80.14 kB / 0.613 GB, free: 8.258 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.5555, allocations: 0 / 0.613 GB, free: 8.258 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.5555, allocations: 0 / 0.613 GB, free: 8.258 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5556, allocations: 319.1 kB / 0.6133 GB, free: 7.938 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.5556, allocations: 8 kB / 0.6133 GB, free: 7.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.666e-06/0.5556, allocations: 3.938 kB / 0.6133 GB, free: 7.926 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.221e-05/0.5557, allocations: 8.859 kB / 0.6133 GB, free: 7.914 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.5557, allocations: 0 / 0.6133 GB, free: 7.914 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.822e-05/0.5557, allocations: 37.61 kB / 0.6134 GB, free: 7.871 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.5558, allocations: 7.938 kB / 0.6134 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.5558, allocations: 0 / 0.6134 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.5558, allocations: 0 / 0.6134 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.5558, allocations: 4.094 kB / 0.6134 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.5558, allocations: 4 kB / 0.6134 GB, free: 7.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.5559, allocations: 3.984 kB / 0.6134 GB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.5559, allocations: 0 / 0.6134 GB, free: 7.852 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 (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 prepare postOptimizeDAE: time 7.8e-05/0.556, allocations: 109.8 kB / 0.6135 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.556, allocations: 7.938 kB / 0.6135 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.5561, allocations: 48.34 kB / 0.6136 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.5561, allocations: 4 kB / 0.6136 GB, free: 7.676 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5561, allocations: 0 / 0.6136 GB, free: 7.676 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5561, allocations: 7.922 kB / 0.6136 GB, free: 7.668 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.5563, allocations: 145.7 kB / 0.6137 GB, free: 7.477 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.5563, allocations: 4 kB / 0.6137 GB, free: 7.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.325e-06/0.5563, allocations: 3.984 kB / 0.6137 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.5563, allocations: 3.938 kB / 0.6137 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.5563, allocations: 4 kB / 0.6137 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5563, allocations: 0 / 0.6137 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.5563, allocations: 0 / 0.6137 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.5565, allocations: 69.05 kB / 0.6138 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.5565, allocations: 77.11 kB / 0.6139 GB, free: 7.281 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.5565, allocations: 11.92 kB / 0.6139 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.515e-05/0.5566, allocations: 0 / 0.6139 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.5566, allocations: 0 / 0.6139 GB, free: 7.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.5566, allocations: 4 kB / 0.6139 GB, free: 7.266 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.673e-05/0.5567, allocations: 79.31 kB / 0.6139 GB, free: 7.188 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5567, allocations: 0 / 0.6139 GB, free: 7.188 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003346/0.557, allocations: 51.92 kB / 0.614 GB, free: 7.137 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.0003021/0.5573, allocations: 147.2 kB / 0.6141 GB, free: 6.984 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.094e-05/0.5574, allocations: 29.7 kB / 0.6142 GB, free: 6.949 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5574, allocations: 0 / 0.6142 GB, free: 6.949 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.768e-05/0.5575, allocations: 33.69 kB / 0.6142 GB, free: 6.91 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001601/0.5576, allocations: 8.094 kB / 0.6142 GB, free: 6.902 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.5579, allocations: 86.77 kB / 0.6143 GB, free: 6.789 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.5582, allocations: 0.6731 MB / 0.6149 GB, free: 6.09 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.27e-05/0.5582, allocations: 0 / 0.6149 GB, free: 6.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.266e-05/0.5582, allocations: 7.438 kB / 0.615 GB, free: 6.082 MB / 426.7 MB Notification: Performance of SimCode: time 7.82e-07/0.5582, allocations: 4 kB / 0.615 GB, free: 6.078 MB / 426.7 MB Notification: Performance of Templates: time 0.00341/0.5616, allocations: 0.9729 MB / 0.6159 GB, free: 5.105 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches