Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.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.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 110.5 kB / 18.45 MB, free: 4.465 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.00167/0.00167, allocations: 187.2 kB / 19.39 MB, free: 3.539 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.4/1.4, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2025/0.2025, allocations: 44.18 MB / 337.4 MB, free: 2.633 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 55.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3038, allocations: 60.82 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.00139/0.3053, allocations: 0.5017 MB / 0.52 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.3066, allocations: 1.348 MB / 0.5214 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.218e-05/0.3067, allocations: 0 / 0.5214 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.196e-05/0.3067, allocations: 0 / 0.5214 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.877e-05/0.3067, allocations: 0 / 0.5214 GB, free: 2.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006378/0.3074, allocations: 224.5 kB / 0.5216 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.972e-05/0.3074, allocations: 4.984 kB / 0.5216 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.611e-05/0.3075, allocations: 5.875 kB / 0.5216 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.523e-05/0.3075, allocations: 11.11 kB / 0.5216 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.203e-05/0.3075, allocations: 3.812 kB / 0.5216 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.3076, allocations: 0 / 0.5216 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/0.308, allocations: 274.9 kB / 0.5219 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.308, allocations: 1.859 kB / 0.5219 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.308, allocations: 5.75 kB / 0.5219 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002203/0.3083, allocations: 140.9 kB / 0.522 GB, free: 2.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.3083, allocations: 0 / 0.522 GB, free: 2.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3083, allocations: 0 / 0.522 GB, free: 2.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.3083, allocations: 5.125 kB / 0.522 GB, free: 2.129 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002508/0.3085, allocations: 334.1 kB / 0.5223 GB, free: 1.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.3086, allocations: 9.656 kB / 0.5223 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.3086, allocations: 2.031 kB / 0.5223 GB, free: 1.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.417e-05/0.3087, allocations: 162.9 kB / 0.5225 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.3087, allocations: 384 / 0.5225 GB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.3087, allocations: 5.531 kB / 0.5225 GB, free: 1.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.91e-05/0.3088, allocations: 42.03 kB / 0.5225 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.3088, allocations: 5.844 kB / 0.5225 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.3088, allocations: 0 / 0.5225 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3088, allocations: 1.188 kB / 0.5225 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.999e-05/0.3089, allocations: 9.734 kB / 0.5226 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002479/0.3091, allocations: 238.5 kB / 0.5228 GB, free: 1.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.811e-05/0.3092, allocations: 21.48 kB / 0.5228 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.38e-05/0.3092, allocations: 10.84 kB / 0.5228 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.3092, allocations: 4 kB / 0.5228 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.3092, allocations: 39.72 kB / 0.5229 GB, free: 1.164 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.3092, allocations: 0 / 0.5229 GB, free: 1.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001183/0.3093, allocations: 38.19 kB / 0.5229 GB, free: 1.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.277e-05/0.3094, allocations: 52.41 kB / 0.5229 GB, free: 1.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.395e-05/0.3094, allocations: 98.75 kB / 0.523 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.213e-06/0.3094, allocations: 25.7 kB / 0.5231 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.076e-05/0.3095, allocations: 102.4 kB / 0.5232 GB, free: 0.832 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.099e-06/0.3095, allocations: 0.75 kB / 0.5232 GB, free: 0.832 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.3095, allocations: 14.64 kB / 0.5232 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.474e-05/0.3095, allocations: 315.5 kB / 0.5235 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.199e-05/0.3095, allocations: 3.094 kB / 0.5235 GB, free: 0.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/0.3096, allocations: 22.42 kB / 0.5235 GB, free: 484 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.942e-05/0.3096, allocations: 33.88 kB / 0.5235 GB, free: 448 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3096, allocations: 0 / 0.5235 GB, free: 448 kB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.964e-05/0.3097, allocations: 49.03 kB / 0.5236 GB, free: 408 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.3097, allocations: 6.688 kB / 0.5236 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3097, allocations: 0.7031 kB / 0.5236 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.3097, allocations: 1.281 kB / 0.5236 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.547e-05/0.3098, allocations: 6.188 kB / 0.5236 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.3098, allocations: 8.781 kB / 0.5236 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.3098, allocations: 5.297 kB / 0.5236 GB, free: 396 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.3098, allocations: 2.781 kB / 0.5236 GB, free: 396 kB / 382.1 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 3.655e-05/0.3099, allocations: 112 kB / 0.5237 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.3099, allocations: 1.531 kB / 0.5237 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.958e-05/0.31, allocations: 47.53 kB / 0.5238 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.31, allocations: 8.109 kB / 0.5238 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.31, allocations: 1.812 kB / 0.5238 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.521e-05/0.31, allocations: 78.94 kB / 0.5238 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.31, allocations: 0 / 0.5238 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.596e-05/0.3101, allocations: 1.812 kB / 0.5238 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.3101, allocations: 5.812 kB / 0.5239 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 4.294e-05/0.3102, allocations: 111.3 kB / 0.524 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001248/0.3103, allocations: 209.1 kB / 0.5242 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.429e-05/0.3103, allocations: 1.766 kB / 0.5242 GB, free: 15.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.909e-05/0.3103, allocations: 82.31 kB / 0.5242 GB, free: 15.72 MB / 398.1 MB Notification: Performance of Backend: time 1.9e-07/0.3104, allocations: 0 / 0.5242 GB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004646/0.3108, allocations: 121.2 kB / 0.5244 GB, free: 15.65 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003287/0.3112, allocations: 0.5691 MB / 0.5249 GB, free: 15.04 MB / 398.1 MB Notification: Performance of Templates: time 0.003287/0.3145, allocations: 1.071 MB / 0.526 GB, free: 14.9 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches