Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.001491, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001685/0.001685, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2219/0.2219, allocations: 46.89 MB / 361.3 MB, free: 4.461 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3")
translateModel(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|a|b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002219/0.002219, allocations: 79.86 kB / 0.497 GB, free: 7.625 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3333, allocations: 66.03 MB / 0.5615 GB, free: 4.648 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test02RegFun3): time 0.001714/0.335, allocations: 0.4915 MB / 0.562 GB, free: 4.16 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002342/0.3374, allocations: 1.416 MB / 0.5634 GB, free: 2.723 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.528e-05/0.3374, allocations: 0 / 0.5634 GB, free: 2.723 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 2.139e-05/0.3374, allocations: 3.938 kB / 0.5634 GB, free: 2.719 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 4.671e-05/0.3375, allocations: 0 / 0.5634 GB, free: 2.719 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000831/0.3383, allocations: 211.4 kB / 0.5636 GB, free: 2.516 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 7.244e-05/0.3384, allocations: 15.92 kB / 0.5636 GB, free: 2.5 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.86e-05/0.3385, allocations: 3.984 kB / 0.5636 GB, free: 2.496 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.543e-05/0.3385, allocations: 7.984 kB / 0.5636 GB, free: 2.488 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.526e-05/0.3385, allocations: 4 kB / 0.5636 GB, free: 2.484 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.3386, allocations: 4 kB / 0.5636 GB, free: 2.48 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.3391, allocations: 271.6 kB / 0.5639 GB, free: 2.215 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.3391, allocations: 3.938 kB / 0.5639 GB, free: 2.211 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.3391, allocations: 0 / 0.5639 GB, free: 2.211 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002631/0.3394, allocations: 146.2 kB / 0.564 GB, free: 2.074 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3394, allocations: 0 / 0.564 GB, free: 2.074 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.553e-06/0.3394, allocations: 4 kB / 0.564 GB, free: 2.07 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.57e-06/0.3394, allocations: 0 / 0.564 GB, free: 2.07 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.0004341/0.3398, allocations: 258.3 kB / 0.5643 GB, free: 1.789 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.3399, allocations: 12.03 kB / 0.5643 GB, free: 1.777 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.3399, allocations: 4.891 kB / 0.5643 GB, free: 1.773 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.34, allocations: 110.5 kB / 0.5644 GB, free: 1.641 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.34, allocations: 384 / 0.5644 GB, free: 1.641 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.3401, allocations: 4.375 kB / 0.5644 GB, free: 1.637 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.3402, allocations: 41.94 kB / 0.5644 GB, free: 1.59 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.3402, allocations: 4 kB / 0.5644 GB, free: 1.586 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3402, allocations: 4 kB / 0.5644 GB, free: 1.582 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3402, allocations: 0 / 0.5644 GB, free: 1.582 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.327e-05/0.3403, allocations: 4 kB / 0.5645 GB, free: 1.578 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.3407, allocations: 212 kB / 0.5647 GB, free: 1.328 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 4.575e-05/0.3407, allocations: 26.52 kB / 0.5647 GB, free: 1.293 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.3407, allocations: 4.859 kB / 0.5647 GB, free: 1.285 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.3407, allocations: 4 kB / 0.5647 GB, free: 1.281 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.3408, allocations: 34.62 kB / 0.5647 GB, free: 1.238 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3408, allocations: 0 / 0.5647 GB, free: 1.238 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0001474/0.3409, allocations: 37.62 kB / 0.5648 GB, free: 1.195 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.341, allocations: 51.41 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.849e-05/0.341, allocations: 97.86 kB / 0.5649 GB, free: 1.027 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.341, allocations: 25.95 kB / 0.5649 GB, free: 0.9961 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.3411, allocations: 92.03 kB / 0.565 GB, free: 0.9023 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.203e-06/0.3411, allocations: 7.953 kB / 0.565 GB, free: 0.8945 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.3412, allocations: 21.7 kB / 0.565 GB, free: 0.8672 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001538/0.3413, allocations: 318.7 kB / 0.5653 GB, free: 0.5469 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.3413, allocations: 0 / 0.5653 GB, free: 0.5469 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.939e-05/0.3414, allocations: 18.58 kB / 0.5654 GB, free: 0.5195 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.841e-05/0.3414, allocations: 38.5 kB / 0.5654 GB, free: 484 kB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3414, allocations: 0 / 0.5654 GB, free: 484 kB / 398.1 MB
Notification: Performance of matching and sorting (n=3) (initialization): time 7.525e-05/0.3415, allocations: 45.64 kB / 0.5654 GB, free: 432 kB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3415, allocations: 4 kB / 0.5654 GB, free: 428 kB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3415, allocations: 0 / 0.5654 GB, free: 428 kB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.3415, allocations: 4 kB / 0.5654 GB, free: 424 kB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.356e-05/0.3416, allocations: 12.08 kB / 0.5655 GB, free: 412 kB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.3416, allocations: 0 / 0.5655 GB, free: 412 kB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.3416, allocations: 4 kB / 0.5655 GB, free: 408 kB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-06/0.3416, allocations: 0 / 0.5655 GB, free: 408 kB / 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.956e-05/0.3417, allocations: 111.1 kB / 0.5656 GB, free: 288 kB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.3417, allocations: 4 kB / 0.5656 GB, free: 284 kB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.3418, allocations: 52.78 kB / 0.5656 GB, free: 220 kB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3418, allocations: 0 / 0.5656 GB, free: 220 kB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3418, allocations: 0 / 0.5656 GB, free: 220 kB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3418, allocations: 4.031 kB / 0.5656 GB, free: 216 kB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.342, allocations: 136.7 kB / 0.5658 GB, free: 36 kB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.342, allocations: 0 / 0.5658 GB, free: 36 kB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-07/0.342, allocations: 0 / 0.5658 GB, free: 36 kB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.342, allocations: 0 / 0.5658 GB, free: 36 kB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.342, allocations: 0 / 0.5658 GB, free: 36 kB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.342, allocations: 0 / 0.5658 GB, free: 36 kB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.342, allocations: 4 kB / 0.5658 GB, free: 32 kB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.3422, allocations: 135.5 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.3422, allocations: 3.984 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.3422, allocations: 0 / 0.5659 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.63e-05/0.3422, allocations: 4 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.557e-05/0.3422, allocations: 4 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3423, allocations: 0 / 0.5659 GB, free: 15.87 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 4.338e-05/0.3423, allocations: 79.31 kB / 0.566 GB, free: 15.79 MB / 414.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3423, allocations: 0 / 0.566 GB, free: 15.79 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0002879/0.3426, allocations: 43.92 kB / 0.566 GB, free: 15.75 MB / 414.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.0003174/0.3429, allocations: 135.2 kB / 0.5662 GB, free: 15.61 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001021/0.343, allocations: 12 kB / 0.5662 GB, free: 15.59 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.343, allocations: 0 / 0.5662 GB, free: 15.59 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.735e-05/0.3431, allocations: 37.62 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.3433, allocations: 8.594 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.3436, allocations: 85.06 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.3439, allocations: 0.6767 MB / 0.5669 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 2.556e-05/0.3439, allocations: 4 kB / 0.567 GB, free: 14.73 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.916e-05/0.344, allocations: 7.438 kB / 0.567 GB, free: 14.72 MB / 414.1 MB
Notification: Performance of SimCode: time 4.71e-07/0.344, allocations: 0 / 0.567 GB, free: 14.72 MB / 414.1 MB
Notification: Performance of Templates: time 0.003762/0.3477, allocations: 1.077 MB / 0.568 GB, free: 13.65 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test02RegFun3.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 4.837643380276859]