Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001018/0.001018, 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.161/1.161, 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.001001/0.001001, allocations: 105.5 kB / 269.9 MB, free: 8.426 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.2813/0.2813, allocations: 43.5 MB / 360.7 MB, free: 51.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009935/0.000994, allocations: 51.92 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09051/0.09152, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001689/0.09324, allocations: 0.6337 MB / 487.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003336/0.0936, allocations: 139.4 kB / 487.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.438e-05/0.09362, allocations: 0 / 487.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.09365, allocations: 0 / 487.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.09386, allocations: 27.91 kB / 487.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.785e-06/0.09387, allocations: 0 / 487.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.285e-05/0.09392, allocations: 23.91 kB / 487.8 MB, free: 11.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.09396, allocations: 8 kB / 487.8 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.848e-05/0.09399, allocations: 11.88 kB / 487.8 MB, free: 11.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.214e-05/0.09403, allocations: 15.92 kB / 487.9 MB, free: 11.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.308e-06/0.09405, allocations: 0 / 487.9 MB, free: 11.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.926e-05/0.09415, allocations: 47.95 kB / 487.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.09417, allocations: 7.922 kB / 487.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.849e-05/0.09419, allocations: 11.94 kB / 487.9 MB, free: 11.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.254e-05/0.09429, allocations: 39.88 kB / 488 MB, free: 11.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.0943, allocations: 0 / 488 MB, free: 11.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.09431, allocations: 0 / 488 MB, free: 11.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.09432, allocations: 4 kB / 488 MB, free: 11.57 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0002939/0.09462, allocations: 347.7 kB / 488.3 MB, free: 11.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.09466, allocations: 12.03 kB / 488.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.09469, allocations: 0.9375 kB / 488.3 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.0948, allocations: 164.4 kB / 488.5 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-06/0.09482, allocations: 4.375 kB / 488.5 MB, free: 10.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.09483, allocations: 4.375 kB / 488.5 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.09495, allocations: 54.25 kB / 488.5 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.09497, allocations: 4.125 kB / 488.6 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.09498, allocations: 11.94 kB / 488.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.09499, allocations: 0 / 488.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.48e-05/0.09509, allocations: 51.95 kB / 488.6 MB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.09526, allocations: 177.5 kB / 488.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.09539, allocations: 78.55 kB / 488.9 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.019e-05/0.09545, allocations: 37.02 kB / 488.9 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002963/0.09575, allocations: 259.2 kB / 489.2 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.09578, allocations: 34.56 kB / 489.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.09579, allocations: 0 / 489.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.000198/0.09599, allocations: 109.5 kB / 489.3 MB, free: 10.03 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.09603, allocations: 51.41 kB / 489.3 MB, free: 9.965 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.31e-05/0.09609, allocations: 93.86 kB / 489.4 MB, free: 9.863 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.09611, allocations: 25.7 kB / 489.5 MB, free: 9.832 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.272e-05/0.09613, allocations: 84.27 kB / 489.5 MB, free: 9.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.09618, allocations: 43.45 kB / 489.6 MB, free: 9.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.09622, allocations: 17.72 kB / 489.6 MB, free: 9.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.09631, allocations: 318.8 kB / 489.9 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-05/0.09635, allocations: 16 kB / 489.9 MB, free: 9.344 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.09638, allocations: 19.98 kB / 490 MB, free: 9.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.035e-05/0.09646, allocations: 48.8 kB / 490 MB, free: 9.273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.09646, allocations: 0 / 490 MB, free: 9.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001116/0.09658, allocations: 86.17 kB / 490.1 MB, free: 9.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.0966, allocations: 12 kB / 490.1 MB, free: 9.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.09662, allocations: 4.031 kB / 490.1 MB, free: 9.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.09663, allocations: 3.938 kB / 490.1 MB, free: 9.164 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.09675, allocations: 12 kB / 490.1 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.09676, allocations: 0 / 490.1 MB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.893e-05/0.0968, allocations: 15.94 kB / 490.1 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.09681, allocations: 3.984 kB / 490.1 MB, free: 9.133 MB / 378.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 (10): * Single equations (assignments): 10 * 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 6.499e-05/0.09688, allocations: 117.8 kB / 490.2 MB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.0969, allocations: 3.906 kB / 490.3 MB, free: 9.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001716/0.09707, allocations: 105.5 kB / 490.4 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.09709, allocations: 0 / 490.4 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.09709, allocations: 0 / 490.4 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.0971, allocations: 0 / 490.4 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.09721, allocations: 173.6 kB / 490.5 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.09722, allocations: 0 / 490.5 MB, free: 8.676 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.659e-05/0.09729, allocations: 23.94 kB / 490.5 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.0973, allocations: 0 / 490.5 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.587e-06/0.09732, allocations: 3.938 kB / 490.6 MB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.09732, allocations: 0 / 490.6 MB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.09733, allocations: 7.984 kB / 490.6 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003457/0.09768, allocations: 0.6785 MB / 491.2 MB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.09772, allocations: 85.05 kB / 491.3 MB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.09774, allocations: 7.984 kB / 491.3 MB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.303e-05/0.09777, allocations: 3.938 kB / 491.3 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.09779, allocations: 4 kB / 491.3 MB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.0978, allocations: 4 kB / 491.3 MB, free: 7.781 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.075e-05/0.09783, allocations: 83.28 kB / 491.4 MB, free: 7.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09784, allocations: 0 / 491.4 MB, free: 7.699 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002809/0.09812, allocations: 16.17 kB / 491.4 MB, free: 7.684 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 (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0001196/0.09825, allocations: 111.2 kB / 491.5 MB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001125/0.09837, allocations: 55.86 kB / 491.6 MB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.09838, allocations: 0 / 491.6 MB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.985e-05/0.09843, allocations: 36.02 kB / 491.6 MB, free: 7.477 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.09856, allocations: 7.938 kB / 491.6 MB, free: 7.469 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.09892, allocations: 277.5 kB / 491.9 MB, free: 7.156 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.09912, allocations: 0.6887 MB / 492.6 MB, free: 6.441 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.469e-05/0.09916, allocations: 15.8 kB / 492.6 MB, free: 6.426 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.09918, allocations: 11.44 kB / 492.6 MB, free: 6.418 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.09919, allocations: 0 / 492.6 MB, free: 6.418 MB / 378.7 MB Notification: Performance of Templates: time 0.002221/0.1014, allocations: 0.6384 MB / 493.3 MB, free: 5.781 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches