Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.00161/0.00161, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001973/0.001973, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.371/1.371, allocations: 230.2 MB / 257.9 MB, free: 8.234 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.2195/0.2195, allocations: 46.88 MB / 361.3 MB, free: 4.441 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.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3")
translateModel(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 79.88 kB / 0.497 GB, free: 7.598 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3427, allocations: 66.02 MB / 0.5615 GB, free: 4.625 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.001588/0.3443, allocations: 0.4993 MB / 0.562 GB, free: 4.129 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001952/0.3462, allocations: 1.409 MB / 0.5634 GB, free: 2.699 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.712e-05/0.3463, allocations: 0 / 0.5634 GB, free: 2.699 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.3463, allocations: 0 / 0.5634 GB, free: 2.699 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.904e-05/0.3463, allocations: 4 kB / 0.5634 GB, free: 2.695 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007186/0.347, allocations: 226 kB / 0.5636 GB, free: 2.48 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 5.408e-05/0.3471, allocations: 8 kB / 0.5636 GB, free: 2.473 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.3471, allocations: 0 / 0.5636 GB, free: 2.473 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.808e-05/0.3472, allocations: 4 kB / 0.5636 GB, free: 2.469 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.3472, allocations: 7.984 kB / 0.5636 GB, free: 2.461 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.3472, allocations: 0 / 0.5636 GB, free: 2.461 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004635/0.3477, allocations: 271.6 kB / 0.5639 GB, free: 2.195 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.3477, allocations: 3.938 kB / 0.5639 GB, free: 2.191 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.081e-05/0.3477, allocations: 4 kB / 0.5639 GB, free: 2.188 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.3479, allocations: 143.4 kB / 0.564 GB, free: 2.051 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.348, allocations: 3.938 kB / 0.564 GB, free: 2.047 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.373e-06/0.348, allocations: 3.938 kB / 0.564 GB, free: 2.043 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 9.739e-06/0.348, allocations: 0 / 0.564 GB, free: 2.043 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: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0003886/0.3484, allocations: 265 kB / 0.5643 GB, free: 1.758 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3484, allocations: 16.02 kB / 0.5643 GB, free: 1.742 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.595e-05/0.3484, allocations: 0.9375 kB / 0.5643 GB, free: 1.742 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.3485, allocations: 102.5 kB / 0.5644 GB, free: 1.617 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3485, allocations: 384 / 0.5644 GB, free: 1.617 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.3486, allocations: 8.375 kB / 0.5644 GB, free: 1.609 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.319e-05/0.3487, allocations: 33.95 kB / 0.5644 GB, free: 1.57 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.3487, allocations: 0 / 0.5644 GB, free: 1.57 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.3487, allocations: 4 kB / 0.5644 GB, free: 1.566 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.3487, allocations: 0 / 0.5644 GB, free: 1.566 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.985e-05/0.3487, allocations: 3.984 kB / 0.5644 GB, free: 1.562 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.3489, allocations: 120.8 kB / 0.5646 GB, free: 1.402 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/0.3489, allocations: 18.52 kB / 0.5646 GB, free: 1.375 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.3489, allocations: 12.95 kB / 0.5646 GB, free: 1.359 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.3489, allocations: 0 / 0.5646 GB, free: 1.359 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.349, allocations: 38.5 kB / 0.5646 GB, free: 1.312 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.349, allocations: 0 / 0.5646 GB, free: 1.312 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0001461/0.3491, allocations: 41.62 kB / 0.5647 GB, free: 1.266 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3492, allocations: 51.41 kB / 0.5647 GB, free: 1.203 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.576e-05/0.3493, allocations: 97.98 kB / 0.5648 GB, free: 1.098 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.3493, allocations: 25.7 kB / 0.5648 GB, free: 1.066 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.3493, allocations: 84.14 kB / 0.5649 GB, free: 0.9805 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.3493, allocations: 3.953 kB / 0.5649 GB, free: 0.9766 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.3494, allocations: 17.7 kB / 0.5649 GB, free: 0.9531 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001288/0.3495, allocations: 310.8 kB / 0.5652 GB, free: 0.6406 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.3495, allocations: 0 / 0.5652 GB, free: 0.6406 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 1.158e-05/0.3495, allocations: 4 kB / 0.5652 GB, free: 0.6367 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 2.637e-05/0.3495, allocations: 13.05 kB / 0.5652 GB, free: 0.6211 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3495, allocations: 0 / 0.5652 GB, free: 0.6211 MB / 398.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 6.325e-05/0.3496, allocations: 37.64 kB / 0.5653 GB, free: 0.5781 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3496, allocations: 11.92 kB / 0.5653 GB, free: 0.5664 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.3496, allocations: 0 / 0.5653 GB, free: 0.5664 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3496, allocations: 4 kB / 0.5653 GB, free: 0.5625 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.797e-05/0.3497, allocations: 0 / 0.5653 GB, free: 0.5625 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3497, allocations: 3.984 kB / 0.5653 GB, free: 0.5586 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.274e-05/0.3497, allocations: 0 / 0.5653 GB, free: 0.5586 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-06/0.3497, allocations: 4 kB / 0.5653 GB, free: 0.5547 MB / 398.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 7.346e-05/0.3498, allocations: 115.1 kB / 0.5654 GB, free: 444 kB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.3498, allocations: 3.938 kB / 0.5654 GB, free: 440 kB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.3499, allocations: 48.78 kB / 0.5655 GB, free: 380 kB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.3499, allocations: 0 / 0.5655 GB, free: 380 kB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3499, allocations: 0 / 0.5655 GB, free: 380 kB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3499, allocations: 11.97 kB / 0.5655 GB, free: 368 kB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.35, allocations: 124.7 kB / 0.5656 GB, free: 200 kB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.3501, allocations: 7.938 kB / 0.5656 GB, free: 192 kB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3501, allocations: 0 / 0.5656 GB, free: 192 kB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3501, allocations: 3.938 kB / 0.5656 GB, free: 188 kB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3501, allocations: 0 / 0.5656 GB, free: 188 kB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3501, allocations: 0 / 0.5656 GB, free: 188 kB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3501, allocations: 3.984 kB / 0.5656 GB, free: 184 kB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 8.198e-05/0.3502, allocations: 65.12 kB / 0.5657 GB, free: 100 kB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.64e-06/0.3502, allocations: 3.938 kB / 0.5657 GB, free: 96 kB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.3502, allocations: 4 kB / 0.5657 GB, free: 92 kB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.575e-05/0.3502, allocations: 0 / 0.5657 GB, free: 92 kB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.3502, allocations: 0 / 0.5657 GB, free: 92 kB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3503, allocations: 4 kB / 0.5657 GB, free: 88 kB / 398.1 MB
Notification: Performance of sorting global known variables: time 4.23e-05/0.3503, allocations: 79.28 kB / 0.5658 GB, free: 8 kB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3503, allocations: 0 / 0.5658 GB, free: 8 kB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002728/0.3506, allocations: 44.08 kB / 0.5658 GB, free: 15.96 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.0002631/0.3508, allocations: 131.3 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 8.641e-05/0.3509, allocations: 19.92 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.3509, allocations: 0 / 0.5659 GB, free: 15.8 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.655e-05/0.351, allocations: 29.7 kB / 0.566 GB, free: 15.77 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.3511, allocations: 0 / 0.566 GB, free: 15.77 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.3513, allocations: 81 kB / 0.566 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.3516, allocations: 0.673 MB / 0.5667 GB, free: 14.96 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 1.669e-05/0.3516, allocations: 8 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.718e-05/0.3516, allocations: 7.438 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.3516, allocations: 0 / 0.5667 GB, free: 14.95 MB / 414.1 MB
Notification: Performance of Templates: time 0.003684/0.3553, allocations: 1.084 MB / 0.5678 GB, free: 13.86 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/Test01RegFun3/Test01RegFun3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.752621450461447]