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.001035/0.001035, allocations: 183 kB / 16.63 MB, free: 5.137 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.199/1.199, allocations: 205.1 MB / 222.5 MB, free: 8.473 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.0009562/0.0009562, allocations: 103.6 kB / 269.9 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2909/0.2909, allocations: 43.49 MB / 360.7 MB, free: 51.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009556/0.0009557, allocations: 59.91 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08916/0.09013, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001676/0.09186, allocations: 0.5581 MB / 487.6 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.09365, allocations: 1.455 MB / 489 MB, free: 10.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.603e-05/0.09369, allocations: 3.938 kB / 489 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.09371, allocations: 3.938 kB / 489 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.514e-05/0.09376, allocations: 0 / 489 MB, free: 10.51 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005292/0.0943, allocations: 139.7 kB / 489.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 3.949e-05/0.09435, allocations: 11.98 kB / 489.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.525e-05/0.09439, allocations: 0 / 489.2 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.839e-05/0.09441, allocations: 7.984 kB / 489.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.242e-05/0.09446, allocations: 7.938 kB / 489.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.09448, allocations: 4 kB / 489.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.09488, allocations: 267.6 kB / 489.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.0949, allocations: 0 / 489.5 MB, free: 10.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.09492, allocations: 8 kB / 489.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.09514, allocations: 139.7 kB / 489.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.09515, allocations: 0 / 489.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09516, allocations: 0 / 489.6 MB, free: 9.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.09517, allocations: 0 / 489.6 MB, free: 9.934 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.0003153/0.09549, allocations: 335.5 kB / 489.9 MB, free: 9.559 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.09553, allocations: 12.03 kB / 489.9 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.09557, allocations: 12.84 kB / 490 MB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.448e-05/0.09565, allocations: 160.4 kB / 490.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.09566, allocations: 384 / 490.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-06/0.09568, allocations: 384 / 490.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.09578, allocations: 42 kB / 490.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.0958, allocations: 0 / 490.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.09581, allocations: 4 kB / 490.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.09582, allocations: 0 / 490.2 MB, free: 9.289 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.18e-05/0.09586, allocations: 11.92 kB / 490.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.09616, allocations: 241.2 kB / 490.4 MB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.841e-05/0.09621, allocations: 22.58 kB / 490.4 MB, free: 8.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.508e-05/0.09624, allocations: 4.859 kB / 490.4 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.124e-05/0.09625, allocations: 4.031 kB / 490.4 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.09628, allocations: 30.56 kB / 490.5 MB, free: 8.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.09629, allocations: 4 kB / 490.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.09642, allocations: 37.7 kB / 490.5 MB, free: 8.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.712e-05/0.09645, allocations: 51.41 kB / 490.6 MB, free: 8.801 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.527e-05/0.09652, allocations: 101.8 kB / 490.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.09654, allocations: 29.69 kB / 490.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.745e-05/0.09658, allocations: 84.05 kB / 490.8 MB, free: 8.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-06/0.0966, allocations: 0 / 490.8 MB, free: 8.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.09663, allocations: 17.97 kB / 490.8 MB, free: 8.547 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.191e-05/0.09672, allocations: 318.8 kB / 491.1 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.137e-05/0.09674, allocations: 4 kB / 491.1 MB, free: 8.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/0.09677, allocations: 30.48 kB / 491.1 MB, free: 8.184 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.131e-05/0.09681, allocations: 26.52 kB / 491.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.09681, allocations: 4 kB / 491.2 MB, free: 8.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.465e-05/0.09689, allocations: 57.53 kB / 491.2 MB, free: 8.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.09691, allocations: 4 kB / 491.2 MB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.09692, allocations: 0 / 491.2 MB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.09694, allocations: 0 / 491.2 MB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.716e-05/0.09699, allocations: 12 kB / 491.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.097, allocations: 0 / 491.2 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.09702, allocations: 3.938 kB / 491.2 MB, free: 8.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.09705, allocations: 4 kB / 491.2 MB, free: 8.059 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): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.953e-05/0.09711, allocations: 117.8 kB / 491.4 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.154e-05/0.09714, allocations: 0 / 491.4 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.09724, allocations: 44.81 kB / 491.4 MB, free: 7.883 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.09726, allocations: 4 kB / 491.4 MB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.09727, allocations: 0 / 491.4 MB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.09727, allocations: 0 / 491.4 MB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.0974, allocations: 153.6 kB / 491.5 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.09742, allocations: 4 kB / 491.6 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-07/0.09742, allocations: 0 / 491.6 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.09743, allocations: 0 / 491.6 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.09744, allocations: 4 kB / 491.6 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.09745, allocations: 0 / 491.6 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.09745, allocations: 0 / 491.6 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.09773, allocations: 0.6733 MB / 492.2 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.09777, allocations: 85.09 kB / 492.3 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-06/0.09779, allocations: 0 / 492.3 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.09785, allocations: 0 / 492.3 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.09787, allocations: 7.875 kB / 492.3 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.09788, allocations: 0 / 492.3 MB, free: 6.832 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.526e-05/0.09791, allocations: 79.28 kB / 492.4 MB, free: 6.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09791, allocations: 0 / 492.4 MB, free: 6.754 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000373/0.09829, allocations: 48.08 kB / 492.4 MB, free: 6.707 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002514/0.09855, allocations: 143.1 kB / 492.6 MB, free: 6.559 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.878e-05/0.09862, allocations: 8 kB / 492.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.09863, allocations: 0 / 492.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.429e-05/0.09867, allocations: 41.62 kB / 492.6 MB, free: 6.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.09886, allocations: 0 / 492.6 MB, free: 6.504 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002482/0.09911, allocations: 205.8 kB / 492.8 MB, free: 6.266 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001784/0.0993, allocations: 0.677 MB / 493.5 MB, free: 5.562 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.221e-05/0.09933, allocations: 0 / 493.5 MB, free: 5.562 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.09e-05/0.09935, allocations: 11.38 kB / 493.5 MB, free: 5.551 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.09936, allocations: 0 / 493.5 MB, free: 5.551 MB / 378.7 MB Notification: Performance of Templates: time 0.002971/0.1023, allocations: 1.065 MB / 494.6 MB, free: 4.488 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@2/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