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.001069/0.001069, allocations: 202.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.204/1.204, allocations: 227.2 MB / 245 MB, free: 5.785 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008231/0.0008231, allocations: 112.8 kB / 297.3 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.283/0.283, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002299/0.0002299, allocations: 8 kB / 468.4 MB, free: 7.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.253, allocations: 63.25 MB / 0.5192 GB, free: 37.63 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09617/0.3492, allocations: 87.5 MB / 0.6046 GB, free: 15.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/0.3494, allocations: 67.97 kB / 0.6047 GB, free: 15.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02563/0.3751, allocations: 8.375 MB / 0.6129 GB, free: 7.516 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3751, allocations: 0 / 0.6129 GB, free: 7.516 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3751, allocations: 0 / 0.6129 GB, free: 7.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003288/0.3755, allocations: 343.3 kB / 0.6132 GB, free: 7.133 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3755, allocations: 11.97 kB / 0.6132 GB, free: 7.121 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.3756, allocations: 4 kB / 0.6132 GB, free: 7.117 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.982e-05/0.3757, allocations: 175 kB / 0.6134 GB, free: 6.906 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.3757, allocations: 0 / 0.6134 GB, free: 6.906 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.3757, allocations: 4 kB / 0.6134 GB, free: 6.902 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.357e-05/0.3758, allocations: 33.69 kB / 0.6134 GB, free: 6.863 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.3758, allocations: 3.984 kB / 0.6134 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.3758, allocations: 0 / 0.6134 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.3758, allocations: 0 / 0.6134 GB, free: 6.859 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.587e-05/0.3758, allocations: 4 kB / 0.6134 GB, free: 6.855 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.376, allocations: 153.6 kB / 0.6136 GB, free: 6.656 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.696e-05/0.376, allocations: 26.55 kB / 0.6136 GB, free: 6.621 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.376, allocations: 3.938 kB / 0.6136 GB, free: 6.617 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.3761, allocations: 30.56 kB / 0.6136 GB, free: 6.578 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.3761, allocations: 0 / 0.6136 GB, free: 6.578 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001079/0.3762, allocations: 33.77 kB / 0.6137 GB, free: 6.539 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.3762, allocations: 51.41 kB / 0.6137 GB, free: 6.477 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.21e-05/0.3763, allocations: 105 kB / 0.6138 GB, free: 6.367 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.3763, allocations: 25.7 kB / 0.6138 GB, free: 6.336 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.535e-05/0.3763, allocations: 80.14 kB / 0.6139 GB, free: 6.254 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.729e-05/0.3763, allocations: 0 / 0.6139 GB, free: 6.254 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-06/0.3764, allocations: 0 / 0.6139 GB, free: 6.254 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.648e-05/0.3765, allocations: 314.8 kB / 0.6142 GB, free: 5.938 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-06/0.3765, allocations: 0 / 0.6142 GB, free: 5.938 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-06/0.3765, allocations: 0 / 0.6142 GB, free: 5.938 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.665e-05/0.3765, allocations: 12.14 kB / 0.6142 GB, free: 5.926 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3765, allocations: 0 / 0.6142 GB, free: 5.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.639e-05/0.3766, allocations: 45.59 kB / 0.6143 GB, free: 5.875 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.3766, allocations: 4 kB / 0.6143 GB, free: 5.871 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3766, allocations: 3.984 kB / 0.6143 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.3766, allocations: 0 / 0.6143 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.3766, allocations: 0 / 0.6143 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3766, allocations: 4 kB / 0.6143 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.3767, allocations: 0 / 0.6143 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.3767, allocations: 0 / 0.6143 GB, free: 5.863 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 5.96e-05/0.3767, allocations: 117.8 kB / 0.6144 GB, free: 5.738 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.3767, allocations: 4 kB / 0.6144 GB, free: 5.734 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.3769, allocations: 44.41 kB / 0.6144 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3769, allocations: 4 kB / 0.6144 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.3769, allocations: 0 / 0.6144 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.3769, allocations: 0 / 0.6144 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.755e-05/0.377, allocations: 149.7 kB / 0.6146 GB, free: 5.492 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.377, allocations: 7.953 kB / 0.6146 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.377, allocations: 0 / 0.6146 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.377, allocations: 3.938 kB / 0.6146 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.377, allocations: 0 / 0.6146 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.377, allocations: 0 / 0.6146 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.377, allocations: 0 / 0.6146 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.351e-05/0.3771, allocations: 69 kB / 0.6147 GB, free: 5.395 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.179e-05/0.3771, allocations: 85.09 kB / 0.6147 GB, free: 5.293 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.729e-06/0.3771, allocations: 4 kB / 0.6147 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.551e-05/0.3772, allocations: 4 kB / 0.6148 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.3772, allocations: 0 / 0.6148 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.3772, allocations: 4 kB / 0.6148 GB, free: 5.281 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.515e-05/0.3773, allocations: 79.27 kB / 0.6148 GB, free: 5.203 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3773, allocations: 0 / 0.6148 GB, free: 5.203 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002578/0.3775, allocations: 51.94 kB / 0.6149 GB, free: 5.152 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.0002582/0.3778, allocations: 151.2 kB / 0.615 GB, free: 4.992 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.774e-05/0.3779, allocations: 29.7 kB / 0.6151 GB, free: 4.957 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3779, allocations: 0 / 0.6151 GB, free: 4.957 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.24e-05/0.3779, allocations: 37.64 kB / 0.6151 GB, free: 4.914 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.429e-05/0.378, allocations: 3.938 kB / 0.6151 GB, free: 4.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/0.3782, allocations: 78.75 kB / 0.6152 GB, free: 4.805 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.3784, allocations: 0.6733 MB / 0.6158 GB, free: 4.105 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.14e-05/0.3784, allocations: 4 kB / 0.6158 GB, free: 4.102 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.796e-06/0.3785, allocations: 11.44 kB / 0.6158 GB, free: 4.09 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3785, allocations: 0 / 0.6158 GB, free: 4.09 MB / 426.7 MB Notification: Performance of Templates: time 0.002609/0.3811, allocations: 0.831 MB / 0.6167 GB, free: 3.258 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/jenkins/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