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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 106 kB / 21.22 MB, free: 0.6758 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002023/0.002023, allocations: 189.2 kB / 24.51 MB, free: 4.051 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2154/0.2154, allocations: 44.91 MB / 353.5 MB, free: 11.91 MB / 286.1 MB
"
[Timeout remaining time 180]
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=5002,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=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 68.12 kB / 497.7 MB, free: 1.055 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3103, allocations: 64.29 MB / 0.5488 GB, free: 13.35 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001531/0.3118, allocations: 0.5011 MB / 0.5493 GB, free: 12.98 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001827/0.3136, allocations: 1.37 MB / 0.5506 GB, free: 11.87 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.3137, allocations: 0 / 0.5506 GB, free: 11.87 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.087e-05/0.3137, allocations: 0 / 0.5506 GB, free: 11.87 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.361e-05/0.3137, allocations: 0 / 0.5506 GB, free: 11.87 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.3144, allocations: 222.8 kB / 0.5508 GB, free: 11.74 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.3144, allocations: 8.875 kB / 0.5508 GB, free: 11.73 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.645e-05/0.3144, allocations: 4.875 kB / 0.5508 GB, free: 11.73 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.717e-05/0.3145, allocations: 6.188 kB / 0.5509 GB, free: 11.73 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.3145, allocations: 6.234 kB / 0.5509 GB, free: 11.72 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.3145, allocations: 1 kB / 0.5509 GB, free: 11.72 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.315, allocations: 276.2 kB / 0.5511 GB, free: 11.57 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.268e-05/0.315, allocations: 1.156 kB / 0.5511 GB, free: 11.57 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.045e-05/0.315, allocations: 5.172 kB / 0.5511 GB, free: 11.56 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002388/0.3152, allocations: 143.4 kB / 0.5513 GB, free: 11.46 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3153, allocations: 5.406 kB / 0.5513 GB, free: 11.46 MB / 398.1 MB
Notification: Performance of FrontEnd: time 3.006e-06/0.3153, allocations: 3.984 kB / 0.5513 GB, free: 11.45 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 4.228e-06/0.3153, allocations: 0 / 0.5513 GB, free: 11.45 MB / 398.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.0003576/0.3156, allocations: 258.4 kB / 0.5515 GB, free: 11.18 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.3156, allocations: 10.48 kB / 0.5515 GB, free: 11.18 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.3157, allocations: 0.9375 kB / 0.5515 GB, free: 11.18 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.545e-05/0.3158, allocations: 104.1 kB / 0.5516 GB, free: 11.06 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3158, allocations: 5.625 kB / 0.5516 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.148e-06/0.3158, allocations: 5.922 kB / 0.5516 GB, free: 11.05 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.3159, allocations: 47.44 kB / 0.5517 GB, free: 11 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.3159, allocations: 3.938 kB / 0.5517 GB, free: 11 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.3159, allocations: 0 / 0.5517 GB, free: 11 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.3159, allocations: 1.344 kB / 0.5517 GB, free: 11 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.771e-05/0.3159, allocations: 4.438 kB / 0.5517 GB, free: 11 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.3163, allocations: 215.8 kB / 0.5519 GB, free: 10.75 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 4.206e-05/0.3163, allocations: 16.14 kB / 0.5519 GB, free: 10.73 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.616e-05/0.3163, allocations: 10.17 kB / 0.5519 GB, free: 10.72 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.3164, allocations: 1.375 kB / 0.5519 GB, free: 10.72 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3164, allocations: 34.5 kB / 0.552 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.3164, allocations: 1.094 kB / 0.552 GB, free: 10.68 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0001413/0.3165, allocations: 39 kB / 0.552 GB, free: 10.64 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.3166, allocations: 56.58 kB / 0.5521 GB, free: 10.57 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.94e-05/0.3167, allocations: 96.64 kB / 0.5521 GB, free: 10.47 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.3167, allocations: 25.7 kB / 0.5522 GB, free: 10.44 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.3167, allocations: 97.58 kB / 0.5523 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.59e-06/0.3167, allocations: 5.094 kB / 0.5523 GB, free: 10.34 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.3168, allocations: 12.56 kB / 0.5523 GB, free: 10.32 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001377/0.3169, allocations: 320.2 kB / 0.5526 GB, free: 10 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.13e-05/0.3169, allocations: 1.375 kB / 0.5526 GB, free: 10 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.3169, allocations: 26.8 kB / 0.5526 GB, free: 9.969 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 3.682e-05/0.317, allocations: 24.02 kB / 0.5526 GB, free: 9.941 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.317, allocations: 0 / 0.5526 GB, free: 9.941 MB / 398.1 MB
Notification: Performance of matching and sorting (n=3) (initialization): time 7.464e-05/0.3171, allocations: 51.25 kB / 0.5527 GB, free: 9.898 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.3171, allocations: 4.406 kB / 0.5527 GB, free: 9.898 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.3171, allocations: 5.312 kB / 0.5527 GB, free: 9.895 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3171, allocations: 5.469 kB / 0.5527 GB, free: 9.891 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.4e-05/0.3171, allocations: 5.5 kB / 0.5527 GB, free: 9.891 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3171, allocations: 7.922 kB / 0.5527 GB, free: 9.883 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.794e-05/0.3172, allocations: 5.172 kB / 0.5527 GB, free: 9.879 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.3172, allocations: 3.062 kB / 0.5527 GB, free: 9.879 MB / 398.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 7.726e-05/0.3172, allocations: 119.2 kB / 0.5528 GB, free: 9.754 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.3173, allocations: 0 / 0.5528 GB, free: 9.754 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.3174, allocations: 48.67 kB / 0.5529 GB, free: 9.703 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.3174, allocations: 1.281 kB / 0.5529 GB, free: 9.703 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.3174, allocations: 0 / 0.5529 GB, free: 9.703 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.3174, allocations: 1.406 kB / 0.5529 GB, free: 9.703 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.3175, allocations: 122.1 kB / 0.553 GB, free: 9.543 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.3175, allocations: 1.469 kB / 0.553 GB, free: 9.543 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.3175, allocations: 0 / 0.553 GB, free: 9.543 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.3175, allocations: 1.406 kB / 0.553 GB, free: 9.543 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.3175, allocations: 4.078 kB / 0.553 GB, free: 9.539 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3175, allocations: 9.344 kB / 0.553 GB, free: 9.531 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3175, allocations: 4.031 kB / 0.553 GB, free: 9.527 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.3177, allocations: 135.2 kB / 0.5531 GB, free: 9.387 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.2e-06/0.3177, allocations: 1.281 kB / 0.5531 GB, free: 9.387 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.3177, allocations: 1.156 kB / 0.5531 GB, free: 9.387 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.864e-05/0.3177, allocations: 3.984 kB / 0.5532 GB, free: 9.383 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-06/0.3177, allocations: 1.062 kB / 0.5532 GB, free: 9.383 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.3177, allocations: 1.156 kB / 0.5532 GB, free: 9.383 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 3.92e-05/0.3178, allocations: 81.56 kB / 0.5532 GB, free: 9.305 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3178, allocations: 0 / 0.5532 GB, free: 9.305 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002843/0.3181, allocations: 46.5 kB / 0.5533 GB, free: 9.293 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.0002595/0.3183, allocations: 133 kB / 0.5534 GB, free: 9.191 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 7.858e-05/0.3184, allocations: 10 kB / 0.5534 GB, free: 9.188 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3184, allocations: 1.156 kB / 0.5534 GB, free: 9.188 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.29e-05/0.3184, allocations: 36.11 kB / 0.5534 GB, free: 9.148 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.3187, allocations: 13.38 kB / 0.5535 GB, free: 9.141 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002021/0.3189, allocations: 83.11 kB / 0.5535 GB, free: 9.043 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.3192, allocations: 0.6749 MB / 0.5542 GB, free: 8.344 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 1.991e-05/0.3192, allocations: 2.312 kB / 0.5542 GB, free: 8.344 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.3192, allocations: 12.55 kB / 0.5542 GB, free: 8.332 MB / 398.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.3192, allocations: 0 / 0.5542 GB, free: 8.332 MB / 398.1 MB
Notification: Performance of Templates: time 0.003504/0.3227, allocations: 1.079 MB / 0.5553 GB, free: 7.766 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660]
(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) [Timeout 480]
diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test02RegFun3/Test02RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 5.039138414897025]