Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.001523/0.001523, 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.001837/0.001837, allocations: 213.7 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.403/1.403, allocations: 230.3 MB / 258 MB, free: 8.27 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.2218/0.2218, 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.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions")
translateModel(ModelicaTest.Fluid.TestUtilities.TestRegFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|x|sqrtx|sqrtx_a|x2|x2_a|x3|x3_a|sqrtxerr|x2err|x3err",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 83.8 kB / 0.497 GB, free: 7.613 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3182, allocations: 66.03 MB / 0.5615 GB, free: 4.617 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegFunctions): time 0.001733/0.32, allocations: 0.5265 MB / 0.562 GB, free: 4.094 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0004095/0.3204, allocations: 163.4 kB / 0.5622 GB, free: 3.934 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.3204, allocations: 7.938 kB / 0.5622 GB, free: 3.926 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.3204, allocations: 3.938 kB / 0.5622 GB, free: 3.922 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.3207, allocations: 35.83 kB / 0.5622 GB, free: 3.887 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 3.727e-06/0.3207, allocations: 0 / 0.5622 GB, free: 3.887 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 6.086e-05/0.3207, allocations: 19.92 kB / 0.5623 GB, free: 3.867 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.3208, allocations: 8 kB / 0.5623 GB, free: 3.859 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.033e-05/0.3208, allocations: 11.92 kB / 0.5623 GB, free: 3.848 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.528e-05/0.3209, allocations: 15.92 kB / 0.5623 GB, free: 3.832 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.3209, allocations: 0 / 0.5623 GB, free: 3.832 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.321, allocations: 47.89 kB / 0.5623 GB, free: 3.785 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.321, allocations: 11.98 kB / 0.5624 GB, free: 3.773 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 1.702e-05/0.321, allocations: 7.938 kB / 0.5624 GB, free: 3.766 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.3211, allocations: 51.47 kB / 0.5624 GB, free: 3.719 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3211, allocations: 0 / 0.5624 GB, free: 3.719 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.012e-06/0.3211, allocations: 0 / 0.5624 GB, free: 3.719 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.49e-06/0.3211, allocations: 0 / 0.5624 GB, free: 3.719 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: 10
 * Number of variables: 10
Notification: Performance of Generate backend data structure: time 0.0003194/0.3215, allocations: 265 kB / 0.5627 GB, free: 3.43 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.3215, allocations: 8.031 kB / 0.5627 GB, free: 3.422 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.3215, allocations: 4.938 kB / 0.5627 GB, free: 3.418 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 9.561e-05/0.3216, allocations: 110.5 kB / 0.5628 GB, free: 3.285 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.3216, allocations: 12.38 kB / 0.5628 GB, free: 3.273 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.3216, allocations: 384 / 0.5628 GB, free: 3.273 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3218, allocations: 54.25 kB / 0.5628 GB, free: 3.215 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.3218, allocations: 192 / 0.5628 GB, free: 3.215 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.3218, allocations: 7.938 kB / 0.5629 GB, free: 3.207 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.283e-05/0.3218, allocations: 8 kB / 0.5629 GB, free: 3.199 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.3219, allocations: 51.89 kB / 0.5629 GB, free: 3.148 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.3221, allocations: 148.7 kB / 0.5631 GB, free: 2.961 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.3223, allocations: 78.48 kB / 0.5631 GB, free: 2.875 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.01e-05/0.3223, allocations: 28.84 kB / 0.5632 GB, free: 2.844 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/0.3226, allocations: 27.95 kB / 0.5632 GB, free: 2.816 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3226, allocations: 30.56 kB / 0.5632 GB, free: 2.777 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.082e-06/0.3226, allocations: 288 / 0.5632 GB, free: 2.777 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10): time 0.0002432/0.3228, allocations: 105.5 kB / 0.5633 GB, free: 2.668 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.3229, allocations: 63.34 kB / 0.5634 GB, free: 2.594 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.441e-05/0.323, allocations: 93.86 kB / 0.5635 GB, free: 2.492 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.323, allocations: 25.7 kB / 0.5635 GB, free: 2.461 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.323, allocations: 80.14 kB / 0.5636 GB, free: 2.379 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.323, allocations: 35.69 kB / 0.5636 GB, free: 2.344 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.3231, allocations: 25.72 kB / 0.5636 GB, free: 2.312 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001347/0.3232, allocations: 314.8 kB / 0.5639 GB, free: 1.996 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.692e-05/0.3233, allocations: 16.12 kB / 0.5639 GB, free: 1.98 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.242e-05/0.3233, allocations: 23.98 kB / 0.564 GB, free: 1.957 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 8.077e-05/0.3234, allocations: 48.8 kB / 0.564 GB, free: 1.906 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.319e-06/0.3234, allocations: 8.5 kB / 0.564 GB, free: 1.898 MB / 398.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001287/0.3235, allocations: 85.58 kB / 0.5641 GB, free: 1.809 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.3235, allocations: 4 kB / 0.5641 GB, free: 1.805 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.3235, allocations: 7.922 kB / 0.5641 GB, free: 1.797 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.3235, allocations: 4 kB / 0.5641 GB, free: 1.793 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3236, allocations: 15.94 kB / 0.5641 GB, free: 1.777 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3237, allocations: 0 / 0.5641 GB, free: 1.777 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.3237, allocations: 7.938 kB / 0.5641 GB, free: 1.77 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3237, allocations: 8 kB / 0.5641 GB, free: 1.762 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 (10):
 * Single equations (assignments): 10
 * 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.518e-05/0.3238, allocations: 107.2 kB / 0.5642 GB, free: 1.648 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.713e-05/0.3238, allocations: 11.94 kB / 0.5643 GB, free: 1.637 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.324, allocations: 101.5 kB / 0.5644 GB, free: 1.527 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.324, allocations: 4 kB / 0.5644 GB, free: 1.523 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.324, allocations: 0 / 0.5644 GB, free: 1.523 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.324, allocations: 0 / 0.5644 GB, free: 1.523 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.3241, allocations: 140.7 kB / 0.5645 GB, free: 1.344 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3241, allocations: 7.984 kB / 0.5645 GB, free: 1.336 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.879e-05/0.3242, allocations: 12 kB / 0.5645 GB, free: 1.324 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3242, allocations: 0 / 0.5645 GB, free: 1.324 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.3242, allocations: 15.94 kB / 0.5645 GB, free: 1.309 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3242, allocations: 0 / 0.5645 GB, free: 1.309 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3242, allocations: 3.938 kB / 0.5645 GB, free: 1.305 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.3244, allocations: 109.1 kB / 0.5646 GB, free: 1.18 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.3244, allocations: 3.938 kB / 0.5646 GB, free: 1.176 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.3244, allocations: 15.94 kB / 0.5647 GB, free: 1.16 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.286e-05/0.3244, allocations: 0 / 0.5647 GB, free: 1.16 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.3244, allocations: 7.922 kB / 0.5647 GB, free: 1.152 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.3244, allocations: 4 kB / 0.5647 GB, free: 1.148 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 3.947e-05/0.3245, allocations: 75.56 kB / 0.5647 GB, free: 1.074 MB / 398.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.3245, allocations: 0 / 0.5647 GB, free: 1.074 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000198/0.3247, allocations: 16 kB / 0.5647 GB, free: 1.059 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 (10):
 * Single equations (assignments): 10
 * 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 Backend phase and start with SimCode phase: time 0.0001467/0.3248, allocations: 115.2 kB / 0.5649 GB, free: 0.9375 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001415/0.3249, allocations: 55.86 kB / 0.5649 GB, free: 0.8828 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.325, allocations: 0 / 0.5649 GB, free: 0.8828 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.184e-05/0.325, allocations: 31.92 kB / 0.5649 GB, free: 0.8516 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001311/0.3251, allocations: 0 / 0.5649 GB, free: 0.8516 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.3254, allocations: 140.9 kB / 0.5651 GB, free: 0.6875 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.3258, allocations: 0.6807 MB / 0.5657 GB, free: 15.98 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 3.676e-05/0.3258, allocations: 11.78 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.618e-05/0.3258, allocations: 11.44 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB
Notification: Performance of SimCode: time 2.8e-07/0.3258, allocations: 0 / 0.5658 GB, free: 15.96 MB / 414.1 MB
Notification: Performance of Templates: time 0.003087/0.3289, allocations: 0.6928 MB / 0.5664 GB, free: 15.27 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegFunctions/TestRegFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegFunctions.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.799909389577806]