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.001108/0.001108, allocations: 113.9 kB / 18.46 MB, free: 4.613 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.001094/0.001094, allocations: 186.1 kB / 19.39 MB, free: 3.691 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.349/1.349, 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.1982/0.1982, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 59.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2994/0.3009, allocations: 60.81 MB / 0.5195 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001402/0.3023, allocations: 0.4926 MB / 0.52 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.3038, allocations: 1.359 MB / 0.5214 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.3038, allocations: 4 kB / 0.5214 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.173e-05/0.3039, allocations: 0 / 0.5214 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.619e-05/0.3039, allocations: 3.938 kB / 0.5214 GB, free: 2.316 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006278/0.3045, allocations: 207.6 kB / 0.5216 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.568e-05/0.3046, allocations: 14.14 kB / 0.5216 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.3046, allocations: 2.203 kB / 0.5216 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.681e-05/0.3047, allocations: 6.922 kB / 0.5216 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.28e-05/0.3047, allocations: 2.906 kB / 0.5216 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.3047, allocations: 1.062 kB / 0.5216 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.3052, allocations: 274.7 kB / 0.5219 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.3052, allocations: 5.875 kB / 0.5219 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.85e-05/0.3052, allocations: 5.906 kB / 0.5219 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.3054, allocations: 148.4 kB / 0.522 GB, free: 2.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3054, allocations: 0.7031 kB / 0.522 GB, free: 2.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3054, allocations: 0 / 0.522 GB, free: 2.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.3055, allocations: 0 / 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.000281/0.3057, allocations: 331.3 kB / 0.5223 GB, free: 1.777 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3058, allocations: 9.25 kB / 0.5223 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.3058, allocations: 6 kB / 0.5223 GB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.906e-05/0.3059, allocations: 170.1 kB / 0.5225 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.3059, allocations: 384 / 0.5225 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.265e-06/0.3059, allocations: 1.438 kB / 0.5225 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.644e-05/0.306, allocations: 39.39 kB / 0.5225 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.306, allocations: 0 / 0.5225 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.306, allocations: 0 / 0.5225 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.306, allocations: 1.156 kB / 0.5225 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.862e-05/0.3061, allocations: 3.125 kB / 0.5225 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.14e-05/0.3062, allocations: 153.4 kB / 0.5227 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.669e-05/0.3062, allocations: 16.86 kB / 0.5227 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/0.3062, allocations: 11.64 kB / 0.5227 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.766e-06/0.3062, allocations: 0 / 0.5227 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.3062, allocations: 36.27 kB / 0.5227 GB, free: 1.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.3062, allocations: 1.344 kB / 0.5227 GB, free: 1.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001152/0.3064, allocations: 37.55 kB / 0.5228 GB, free: 1.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.8e-05/0.3064, allocations: 56.23 kB / 0.5228 GB, free: 1.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.221e-05/0.3064, allocations: 92.95 kB / 0.5229 GB, free: 1.059 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.368e-06/0.3065, allocations: 27.31 kB / 0.523 GB, free: 1.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.198e-05/0.3065, allocations: 84.08 kB / 0.523 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.3065, allocations: 1 kB / 0.523 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.3065, allocations: 16.73 kB / 0.5231 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.268e-05/0.3066, allocations: 312.5 kB / 0.5233 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.3066, allocations: 1.922 kB / 0.5234 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.264e-06/0.3066, allocations: 9.188 kB / 0.5234 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.382e-05/0.3067, allocations: 10.03 kB / 0.5234 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3067, allocations: 0 / 0.5234 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.867e-05/0.3067, allocations: 37.28 kB / 0.5234 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3067, allocations: 10.73 kB / 0.5234 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3067, allocations: 0 / 0.5234 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3068, allocations: 0 / 0.5234 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.3068, allocations: 2.219 kB / 0.5234 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.3068, allocations: 5.125 kB / 0.5234 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.3069, allocations: 4.688 kB / 0.5234 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-06/0.3069, allocations: 1.062 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 4.004e-05/0.3069, allocations: 115.5 kB / 0.5235 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-06/0.3069, allocations: 16.78 kB / 0.5236 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.725e-05/0.307, allocations: 48.47 kB / 0.5236 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.307, allocations: 0.7031 kB / 0.5236 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.307, allocations: 1.125 kB / 0.5236 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.3071, allocations: 83.08 kB / 0.5237 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.3071, allocations: 2.094 kB / 0.5237 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.23e-05/0.3072, allocations: 1.688 kB / 0.5237 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.3072, allocations: 1.75 kB / 0.5237 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.877e-05/0.3072, allocations: 111.2 kB / 0.5238 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001092/0.3073, allocations: 214.7 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.462e-05/0.3074, allocations: 1.062 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.832e-05/0.3074, allocations: 78.27 kB / 0.5241 GB, free: 15.87 MB / 398.1 MB Notification: Performance of Backend: time 6.92e-07/0.3074, allocations: 0 / 0.5241 GB, free: 15.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004728/0.3079, allocations: 124.8 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003288/0.3082, allocations: 0.561 MB / 0.5247 GB, free: 15.18 MB / 398.1 MB Notification: Performance of Templates: time 0.00362/0.3119, allocations: 1.091 MB / 0.5258 GB, free: 15.06 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