Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 108.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 183.1 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2002/0.2002, allocations: 44.19 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.00134, allocations: 63.89 kB / 471.2 MB, free: 13.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3278, allocations: 60.82 MB / 0.5195 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001479/0.3294, allocations: 0.4896 MB / 0.52 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.3308, allocations: 1.355 MB / 0.5213 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.3308, allocations: 1.031 kB / 0.5213 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.192e-05/0.3308, allocations: 0 / 0.5213 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.518e-05/0.3309, allocations: 0 / 0.5213 GB, free: 2.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.3315, allocations: 219.5 kB / 0.5216 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.738e-05/0.3316, allocations: 5.641 kB / 0.5216 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.3317, allocations: 6.5 kB / 0.5216 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.943e-05/0.3317, allocations: 6.875 kB / 0.5216 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.3317, allocations: 7.594 kB / 0.5216 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.3317, allocations: 0 / 0.5216 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004672/0.3322, allocations: 271 kB / 0.5218 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.3322, allocations: 9.812 kB / 0.5219 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.824e-05/0.3323, allocations: 2.156 kB / 0.5219 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002446/0.3325, allocations: 143.4 kB / 0.522 GB, free: 2.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3325, allocations: 0 / 0.522 GB, free: 2.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3325, allocations: 0 / 0.522 GB, free: 2.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.3325, allocations: 5.062 kB / 0.522 GB, free: 2.133 MB / 382.1 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.0002978/0.3328, allocations: 337.2 kB / 0.5223 GB, free: 1.773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.3329, allocations: 13.86 kB / 0.5223 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.02e-05/0.3329, allocations: 2.219 kB / 0.5223 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.915e-05/0.333, allocations: 162.4 kB / 0.5225 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.333, allocations: 384 / 0.5225 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.333, allocations: 2.516 kB / 0.5225 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.194e-05/0.3331, allocations: 38 kB / 0.5225 GB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3331, allocations: 4 kB / 0.5225 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3331, allocations: 2.297 kB / 0.5225 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3331, allocations: 0 / 0.5225 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.129e-05/0.3332, allocations: 1.375 kB / 0.5225 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.3333, allocations: 151 kB / 0.5227 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.175e-05/0.3333, allocations: 17.36 kB / 0.5227 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.343e-05/0.3333, allocations: 6.953 kB / 0.5227 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.3334, allocations: 0 / 0.5227 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.3334, allocations: 44.25 kB / 0.5227 GB, free: 1.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.3334, allocations: 0 / 0.5227 GB, free: 1.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001217/0.3335, allocations: 42.11 kB / 0.5228 GB, free: 1.219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.3335, allocations: 53.17 kB / 0.5228 GB, free: 1.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.751e-05/0.3336, allocations: 93.05 kB / 0.5229 GB, free: 1.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.3336, allocations: 26.77 kB / 0.5229 GB, free: 1.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.566e-05/0.3336, allocations: 81 kB / 0.523 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.3336, allocations: 8.812 kB / 0.523 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.3337, allocations: 16.67 kB / 0.523 GB, free: 0.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.3337, allocations: 312.6 kB / 0.5233 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.3337, allocations: 1.828 kB / 0.5233 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-06/0.3338, allocations: 1.125 kB / 0.5233 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.256e-05/0.3338, allocations: 13.44 kB / 0.5234 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3338, allocations: 4 kB / 0.5234 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.612e-05/0.3338, allocations: 41.62 kB / 0.5234 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3339, allocations: 9.719 kB / 0.5234 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.3339, allocations: 0 / 0.5234 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3339, allocations: 0.8125 kB / 0.5234 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.3339, allocations: 2.75 kB / 0.5234 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3339, allocations: 0.7969 kB / 0.5234 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.216e-05/0.334, allocations: 1.031 kB / 0.5234 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.334, allocations: 1 kB / 0.5234 GB, free: 0.5469 MB / 382.1 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): 1 * 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 3.81e-05/0.334, allocations: 107.5 kB / 0.5235 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-06/0.334, allocations: 9.719 kB / 0.5235 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.727e-05/0.3341, allocations: 55.14 kB / 0.5236 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3341, allocations: 2.234 kB / 0.5236 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3342, allocations: 0 / 0.5236 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.3342, allocations: 0 / 0.5236 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.352e-05/0.3342, allocations: 150.8 kB / 0.5237 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3342, allocations: 1.812 kB / 0.5237 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.3342, allocations: 4.031 kB / 0.5237 GB, free: 188 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.3342, allocations: 4.641 kB / 0.5237 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.3343, allocations: 5.359 kB / 0.5237 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.3343, allocations: 0 / 0.5237 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3343, allocations: 2.125 kB / 0.5237 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.272e-05/0.3343, allocations: 61.95 kB / 0.5238 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.429e-05/0.3343, allocations: 86.73 kB / 0.5239 GB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-06/0.3344, allocations: 5.281 kB / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.3344, allocations: 2.266 kB / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.3344, allocations: 1.812 kB / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-06/0.3345, allocations: 1.062 kB / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of sorting global known variables: time 5.128e-05/0.3345, allocations: 78.17 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.3345, allocations: 0 / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.3348, allocations: 47.09 kB / 0.524 GB, free: 15.91 MB / 398.1 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.000259/0.335, allocations: 132.4 kB / 0.5241 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 7.627e-05/0.3351, allocations: 10.22 kB / 0.5242 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3351, allocations: 0 / 0.5242 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.357e-05/0.3352, allocations: 34.06 kB / 0.5242 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000138/0.3353, allocations: 4.938 kB / 0.5242 GB, free: 15.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.3355, allocations: 103 kB / 0.5243 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.3357, allocations: 0.6763 MB / 0.525 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.374e-05/0.3358, allocations: 8.906 kB / 0.525 GB, free: 14.95 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3358, allocations: 0 / 0.525 GB, free: 14.95 MB / 398.1 MB Notification: Performance of Templates: time 0.002456/0.3382, allocations: 0.9036 MB / 0.5258 GB, free: 14.9 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches