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.00109/0.00109, allocations: 111.7 kB / 18.46 MB, free: 4.594 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.001123/0.001123, allocations: 182.1 kB / 19.38 MB, free: 3.68 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.309/1.309, 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.2035/0.2035, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 55.91 kB / 471.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3039, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001509/0.3055, allocations: 499.7 kB / 0.52 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.307, allocations: 1.355 MB / 0.5214 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.316e-05/0.307, allocations: 1.188 kB / 0.5214 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.126e-05/0.307, allocations: 0 / 0.5214 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.495e-05/0.307, allocations: 3.938 kB / 0.5214 GB, free: 2.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006654/0.3077, allocations: 214.7 kB / 0.5216 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.049e-05/0.3078, allocations: 10.03 kB / 0.5216 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.3079, allocations: 5.875 kB / 0.5216 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.867e-05/0.3079, allocations: 11.11 kB / 0.5216 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.658e-05/0.3079, allocations: 3.531 kB / 0.5216 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.308, allocations: 1.094 kB / 0.5216 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004503/0.3084, allocations: 275 kB / 0.5219 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.3084, allocations: 0.75 kB / 0.5219 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.3085, allocations: 1.859 kB / 0.5219 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.3087, allocations: 148.2 kB / 0.522 GB, free: 2.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.3087, allocations: 0 / 0.522 GB, free: 2.148 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3087, allocations: 0 / 0.522 GB, free: 2.148 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.3087, allocations: 1.438 kB / 0.522 GB, free: 2.148 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.0002711/0.309, allocations: 334.5 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.309, allocations: 8.562 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.3091, allocations: 2.906 kB / 0.5223 GB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.918e-05/0.3091, allocations: 162.5 kB / 0.5225 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.3092, allocations: 1.078 kB / 0.5225 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.3092, allocations: 1.562 kB / 0.5225 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.683e-05/0.3093, allocations: 42.3 kB / 0.5225 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.3093, allocations: 0 / 0.5225 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3093, allocations: 4.516 kB / 0.5225 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3093, allocations: 1.219 kB / 0.5225 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.945e-05/0.3093, allocations: 2.938 kB / 0.5225 GB, free: 1.547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.417e-05/0.3094, allocations: 145.5 kB / 0.5227 GB, free: 1.359 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.781e-05/0.3094, allocations: 21.58 kB / 0.5227 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.512e-05/0.3095, allocations: 6.516 kB / 0.5227 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.3095, allocations: 4.75 kB / 0.5227 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.3095, allocations: 40.27 kB / 0.5227 GB, free: 1.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3095, allocations: 0 / 0.5227 GB, free: 1.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001126/0.3096, allocations: 37.19 kB / 0.5228 GB, free: 1.238 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.444e-05/0.3096, allocations: 52.92 kB / 0.5228 GB, free: 1.176 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.492e-05/0.3097, allocations: 98.33 kB / 0.5229 GB, free: 1.074 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.3097, allocations: 25.7 kB / 0.5229 GB, free: 1.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.251e-05/0.3097, allocations: 82.38 kB / 0.523 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.3098, allocations: 4.188 kB / 0.523 GB, free: 0.957 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.3098, allocations: 15.86 kB / 0.523 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.631e-05/0.3098, allocations: 316.8 kB / 0.5233 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.3098, allocations: 6.109 kB / 0.5234 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-06/0.3099, allocations: 5.281 kB / 0.5234 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.11e-05/0.3099, allocations: 9.516 kB / 0.5234 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3099, allocations: 0 / 0.5234 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.755e-05/0.3099, allocations: 32.84 kB / 0.5234 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.31, allocations: 14.48 kB / 0.5234 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.31, allocations: 3.938 kB / 0.5234 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.31, allocations: 1.062 kB / 0.5234 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.197e-05/0.31, allocations: 2.875 kB / 0.5234 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.31, allocations: 0 / 0.5234 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.322e-05/0.3101, allocations: 0.75 kB / 0.5234 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3101, allocations: 1.125 kB / 0.5234 GB, free: 0.5625 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.079e-05/0.3101, allocations: 111.5 kB / 0.5235 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.3101, allocations: 9.656 kB / 0.5235 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.715e-05/0.3102, allocations: 55.61 kB / 0.5236 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.3103, allocations: 0.9375 kB / 0.5236 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.3103, allocations: 1.688 kB / 0.5236 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.905e-05/0.3103, allocations: 78.91 kB / 0.5237 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.027e-05/0.3103, allocations: 0.7031 kB / 0.5237 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.131e-05/0.3104, allocations: 3.234 kB / 0.5237 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.3104, allocations: 5.219 kB / 0.5237 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 5.246e-05/0.3104, allocations: 115.1 kB / 0.5238 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 9.702e-05/0.3106, allocations: 209.2 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.586e-05/0.3106, allocations: 2.953 kB / 0.524 GB, free: 15.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.199e-05/0.3106, allocations: 82.36 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of Backend: time 1.9e-07/0.3106, allocations: 0 / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004788/0.3111, allocations: 120.8 kB / 0.5242 GB, free: 15.81 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003426/0.3115, allocations: 0.5574 MB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of Templates: time 0.004052/0.3155, allocations: 1.088 MB / 0.5258 GB, free: 15.1 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