Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001099, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009893/0.0009893, allocations: 103.2 kB / 291.8 MB, free: 10.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3065/0.3065, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009908/0.000991, allocations: 55.92 kB / 457.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2652, allocations: 60.8 MB / 0.5064 GB, free: 38.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001567/0.2668, allocations: 0.5954 MB / 0.507 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003725/0.2672, allocations: 165.8 kB / 0.5071 GB, free: 37.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.418e-05/0.2672, allocations: 1.094 kB / 0.5071 GB, free: 37.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.2672, allocations: 3.938 kB / 0.5071 GB, free: 37.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.2674, allocations: 21.44 kB / 0.5071 GB, free: 37.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.826e-06/0.2674, allocations: 0 / 0.5071 GB, free: 37.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 4.233e-05/0.2675, allocations: 20.89 kB / 0.5072 GB, free: 37.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.958e-05/0.2675, allocations: 5.578 kB / 0.5072 GB, free: 37.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.764e-05/0.2675, allocations: 11.44 kB / 0.5072 GB, free: 37.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.462e-05/0.2676, allocations: 18.58 kB / 0.5072 GB, free: 37.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.2676, allocations: 1.188 kB / 0.5072 GB, free: 37.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.641e-05/0.2677, allocations: 53.19 kB / 0.5073 GB, free: 37.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.2677, allocations: 12.38 kB / 0.5073 GB, free: 37.67 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 1.584e-05/0.2677, allocations: 8.938 kB / 0.5073 GB, free: 37.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.25e-05/0.2678, allocations: 41.48 kB / 0.5073 GB, free: 37.65 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2678, allocations: 4 kB / 0.5073 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.2679, allocations: 0 / 0.5073 GB, free: 37.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.795e-06/0.2679, allocations: 0 / 0.5073 GB, free: 37.64 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.0002504/0.2681, allocations: 344 kB / 0.5076 GB, free: 37.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.2682, allocations: 9.594 kB / 0.5077 GB, free: 37.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.753e-05/0.2682, allocations: 2.5 kB / 0.5077 GB, free: 37.28 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.234e-05/0.2683, allocations: 165.6 kB / 0.5078 GB, free: 37.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.2683, allocations: 2.938 kB / 0.5078 GB, free: 37.08 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.2683, allocations: 6.812 kB / 0.5078 GB, free: 37.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.2684, allocations: 59.08 kB / 0.5079 GB, free: 37.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.2684, allocations: 4.125 kB / 0.5079 GB, free: 37.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.2684, allocations: 8.469 kB / 0.5079 GB, free: 37.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.2684, allocations: 1.312 kB / 0.5079 GB, free: 37.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.09e-05/0.2685, allocations: 59.62 kB / 0.508 GB, free: 37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.2687, allocations: 170.2 kB / 0.5081 GB, free: 36.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.2688, allocations: 81.2 kB / 0.5082 GB, free: 36.76 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.51e-05/0.2688, allocations: 31.05 kB / 0.5082 GB, free: 36.74 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/0.2691, allocations: 256 kB / 0.5085 GB, free: 36.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.2691, allocations: 35.62 kB / 0.5085 GB, free: 36.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.2691, allocations: 0 / 0.5085 GB, free: 36.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001942/0.2693, allocations: 104.5 kB / 0.5086 GB, free: 36.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.2694, allocations: 52.72 kB / 0.5086 GB, free: 36.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.522e-05/0.2694, allocations: 95.45 kB / 0.5087 GB, free: 36.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.895e-06/0.2694, allocations: 29.7 kB / 0.5088 GB, free: 36.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.011e-05/0.2694, allocations: 81.42 kB / 0.5088 GB, free: 36.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.2695, allocations: 38.58 kB / 0.5089 GB, free: 36.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.2695, allocations: 24.09 kB / 0.5089 GB, free: 36.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.65e-05/0.2696, allocations: 319.2 kB / 0.5092 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.075e-05/0.2696, allocations: 18 kB / 0.5092 GB, free: 35.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.953e-05/0.2696, allocations: 18 kB / 0.5092 GB, free: 35.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.57e-05/0.2697, allocations: 54.98 kB / 0.5093 GB, free: 35.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2697, allocations: 0 / 0.5093 GB, free: 35.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.835e-05/0.2698, allocations: 87.19 kB / 0.5094 GB, free: 35.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.2698, allocations: 5.688 kB / 0.5094 GB, free: 35.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2698, allocations: 3.938 kB / 0.5094 GB, free: 35.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.2698, allocations: 4 kB / 0.5094 GB, free: 35.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.1e-05/0.2699, allocations: 20.95 kB / 0.5094 GB, free: 35.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.27, allocations: 0 / 0.5094 GB, free: 35.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.32e-05/0.27, allocations: 3.906 kB / 0.5094 GB, free: 35.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.27, allocations: 2.75 kB / 0.5094 GB, free: 35.6 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 4.508e-05/0.27, allocations: 116.6 kB / 0.5095 GB, free: 35.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.2701, allocations: 2.812 kB / 0.5095 GB, free: 35.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.2702, allocations: 107.6 kB / 0.5096 GB, free: 35.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2702, allocations: 2.719 kB / 0.5096 GB, free: 35.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.2702, allocations: 0 / 0.5096 GB, free: 35.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2702, allocations: 0 / 0.5096 GB, free: 35.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.155e-05/0.2703, allocations: 175.4 kB / 0.5098 GB, free: 35.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2703, allocations: 0 / 0.5098 GB, free: 35.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.27e-05/0.2704, allocations: 16.75 kB / 0.5098 GB, free: 35.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.2704, allocations: 6.594 kB / 0.5098 GB, free: 35.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.2704, allocations: 3.938 kB / 0.5098 GB, free: 35.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2704, allocations: 0 / 0.5098 GB, free: 35.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2704, allocations: 0 / 0.5098 GB, free: 35.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.2707, allocations: 0.6847 MB / 0.5105 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.5e-05/0.2707, allocations: 82.97 kB / 0.5106 GB, free: 34.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.2707, allocations: 3.984 kB / 0.5106 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.386e-05/0.2707, allocations: 0 / 0.5106 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.2708, allocations: 9.75 kB / 0.5106 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.2708, allocations: 3.281 kB / 0.5106 GB, free: 34.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.435e-05/0.2708, allocations: 82.06 kB / 0.5107 GB, free: 34.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2708, allocations: 0 / 0.5107 GB, free: 34.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002888/0.2711, allocations: 19.34 kB / 0.5107 GB, free: 34.32 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 9.741e-05/0.2712, allocations: 107.1 kB / 0.5108 GB, free: 34.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.681e-05/0.2713, allocations: 51.22 kB / 0.5108 GB, free: 34.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2713, allocations: 2.844 kB / 0.5108 GB, free: 34.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.739e-05/0.2713, allocations: 33.19 kB / 0.5109 GB, free: 34.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.2715, allocations: 10.91 kB / 0.5109 GB, free: 34.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003077/0.2718, allocations: 282 kB / 0.5112 GB, free: 33.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.25e-05/0.2719, allocations: 0.6844 MB / 0.5118 GB, free: 33.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.371e-05/0.2719, allocations: 9.922 kB / 0.5118 GB, free: 33.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/0.272, allocations: 14.75 kB / 0.5118 GB, free: 33.23 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.272, allocations: 0 / 0.5118 GB, free: 33.23 MB / 378.7 MB Notification: Performance of Templates: time 0.002124/0.2741, allocations: 0.6351 MB / 0.5125 GB, free: 33.14 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches