Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007588/0.0007589, allocations: 90.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1921/0.1921, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003237/0.0003237, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1122, allocations: 58.87 MB / 490.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3229/0.4352, allocations: 85.36 MB / 0.5621 GB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.4354, allocations: 67.09 kB / 0.5622 GB, free: 14.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0254/0.4608, allocations: 8.231 MB / 0.5702 GB, free: 7.277 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4609, allocations: 0 / 0.5702 GB, free: 7.277 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.4609, allocations: 0 / 0.5702 GB, free: 7.277 MB / 378.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.0002935/0.4612, allocations: 343 kB / 0.5705 GB, free: 6.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4612, allocations: 8.031 kB / 0.5705 GB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.423e-05/0.4613, allocations: 3.984 kB / 0.5706 GB, free: 6.887 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.215e-05/0.4613, allocations: 167 kB / 0.5707 GB, free: 6.684 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.4614, allocations: 4 kB / 0.5707 GB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.4614, allocations: 3.5 kB / 0.5707 GB, free: 6.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.4615, allocations: 41.67 kB / 0.5708 GB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4615, allocations: 3.938 kB / 0.5708 GB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.4615, allocations: 0 / 0.5708 GB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.4615, allocations: 4 kB / 0.5708 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.252e-05/0.4616, allocations: 2.75 kB / 0.5708 GB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002924/0.4619, allocations: 242.3 kB / 0.571 GB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.259e-05/0.4619, allocations: 18.58 kB / 0.571 GB, free: 6.316 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.4619, allocations: 4 kB / 0.571 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.462, allocations: 37.94 kB / 0.5711 GB, free: 6.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.404e-06/0.462, allocations: 0 / 0.5711 GB, free: 6.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001243/0.4621, allocations: 33.64 kB / 0.5711 GB, free: 6.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.4621, allocations: 51.41 kB / 0.5711 GB, free: 6.168 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.782e-05/0.4622, allocations: 92.98 kB / 0.5712 GB, free: 6.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.4622, allocations: 29.14 kB / 0.5713 GB, free: 6.039 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.658e-05/0.4623, allocations: 88.05 kB / 0.5713 GB, free: 5.949 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.217e-06/0.4623, allocations: 7.906 kB / 0.5713 GB, free: 5.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.4623, allocations: 0 / 0.5713 GB, free: 5.941 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.4624, allocations: 314.8 kB / 0.5716 GB, free: 5.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.888e-06/0.4624, allocations: 2.938 kB / 0.5716 GB, free: 5.625 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/0.4624, allocations: 22.56 kB / 0.5717 GB, free: 5.594 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.495e-05/0.4625, allocations: 11.94 kB / 0.5717 GB, free: 5.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4625, allocations: 0 / 0.5717 GB, free: 5.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.523e-05/0.4625, allocations: 48.64 kB / 0.5717 GB, free: 5.531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.4626, allocations: 6.656 kB / 0.5717 GB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.4626, allocations: 3.984 kB / 0.5717 GB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.4626, allocations: 7.938 kB / 0.5717 GB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.285e-05/0.4626, allocations: 7 kB / 0.5718 GB, free: 5.512 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4627, allocations: 7.938 kB / 0.5718 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.4627, allocations: 96 / 0.5718 GB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.062e-06/0.4627, allocations: 4 kB / 0.5718 GB, free: 5.5 MB / 378.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 6.087e-05/0.4628, allocations: 117.8 kB / 0.5719 GB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.4628, allocations: 0 / 0.5719 GB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.768e-05/0.4629, allocations: 47.62 kB / 0.5719 GB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.4629, allocations: 0 / 0.5719 GB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4629, allocations: 0 / 0.5719 GB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.4629, allocations: 0 / 0.5719 GB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.463, allocations: 160.8 kB / 0.5721 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.463, allocations: 0 / 0.5721 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.4631, allocations: 0 / 0.5721 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.4631, allocations: 0 / 0.5721 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.4631, allocations: 4 kB / 0.5721 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4631, allocations: 0 / 0.5721 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.4631, allocations: 0 / 0.5721 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.358e-05/0.4632, allocations: 130.8 kB / 0.5722 GB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.004e-05/0.4632, allocations: 85.12 kB / 0.5723 GB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.4632, allocations: 0 / 0.5723 GB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.923e-05/0.4633, allocations: 0 / 0.5723 GB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.4633, allocations: 7.938 kB / 0.5723 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.4633, allocations: 0 / 0.5723 GB, free: 4.867 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.924e-05/0.4633, allocations: 75.28 kB / 0.5724 GB, free: 4.793 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4634, allocations: 0 / 0.5724 GB, free: 4.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002911/0.4636, allocations: 55.05 kB / 0.5724 GB, free: 4.742 MB / 378.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.0002673/0.4639, allocations: 147.3 kB / 0.5726 GB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.263e-05/0.464, allocations: 41 kB / 0.5726 GB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.464, allocations: 0 / 0.5726 GB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.942e-05/0.464, allocations: 33.64 kB / 0.5726 GB, free: 4.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001212/0.4642, allocations: 7.891 kB / 0.5726 GB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001973/0.4644, allocations: 83.7 kB / 0.5727 GB, free: 4.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.4646, allocations: 0.6734 MB / 0.5734 GB, free: 3.688 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.917e-05/0.4646, allocations: 11.98 kB / 0.5734 GB, free: 3.676 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.503e-05/0.4646, allocations: 7.438 kB / 0.5734 GB, free: 3.668 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4646, allocations: 0 / 0.5734 GB, free: 3.668 MB / 378.7 MB Notification: Performance of Templates: time 0.002547/0.4672, allocations: 0.8217 MB / 0.5742 GB, free: 2.859 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches