Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.001529/0.001529, allocations: 106.5 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.001735/0.001735, allocations: 212 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.405/1.405, allocations: 230.3 MB / 258 MB, free: 8.25 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.226/0.226, allocations: 46.9 MB / 361.3 MB, free: 4.457 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.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative")
translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y1|y1d|y1dd|y2|y2d|y2dd|y3|y3d|y3dd|y4|y4d|y4dd",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002568/0.002568, allocations: 83.84 kB / 0.497 GB, free: 7.605 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3144, allocations: 66.03 MB / 0.5615 GB, free: 4.637 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001581/0.316, allocations: 0.5303 MB / 0.562 GB, free: 4.109 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0007971/0.3168, allocations: 414.8 kB / 0.5624 GB, free: 3.699 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.3168, allocations: 0 / 0.5624 GB, free: 3.699 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.3168, allocations: 3.938 kB / 0.5624 GB, free: 3.695 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.707e-05/0.3168, allocations: 0 / 0.5624 GB, free: 3.695 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.3173, allocations: 151.3 kB / 0.5626 GB, free: 3.551 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 7.527e-05/0.3174, allocations: 31.92 kB / 0.5626 GB, free: 3.52 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.032e-05/0.3174, allocations: 0 / 0.5626 GB, free: 3.52 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.669e-05/0.3175, allocations: 15.94 kB / 0.5626 GB, free: 3.504 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.465e-05/0.3175, allocations: 23.91 kB / 0.5627 GB, free: 3.48 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.3175, allocations: 0 / 0.5627 GB, free: 3.48 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.3178, allocations: 163.8 kB / 0.5628 GB, free: 3.32 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.3178, allocations: 7.938 kB / 0.5628 GB, free: 3.312 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.3179, allocations: 23.84 kB / 0.5628 GB, free: 3.289 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.3181, allocations: 122.4 kB / 0.563 GB, free: 3.176 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3181, allocations: 0 / 0.563 GB, free: 3.176 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.152e-06/0.3181, allocations: 0 / 0.563 GB, free: 3.176 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 4.689e-06/0.3181, allocations: 0 / 0.563 GB, free: 3.176 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: 13
 * Number of variables: 13
Notification: Performance of Generate backend data structure: time 0.000381/0.3184, allocations: 298 kB / 0.5632 GB, free: 2.855 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.3185, allocations: 12.02 kB / 0.5633 GB, free: 2.844 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.904e-05/0.3185, allocations: 12.89 kB / 0.5633 GB, free: 2.832 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.3186, allocations: 106.5 kB / 0.5634 GB, free: 2.703 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.3186, allocations: 8.375 kB / 0.5634 GB, free: 2.695 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.3187, allocations: 12.36 kB / 0.5634 GB, free: 2.684 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.3188, allocations: 62.17 kB / 0.5634 GB, free: 2.617 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.3188, allocations: 7.938 kB / 0.5635 GB, free: 2.609 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.3188, allocations: 4 kB / 0.5635 GB, free: 2.605 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3188, allocations: 11.92 kB / 0.5635 GB, free: 2.594 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.273e-05/0.3189, allocations: 39.97 kB / 0.5635 GB, free: 2.555 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.3191, allocations: 152.7 kB / 0.5637 GB, free: 2.363 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001414/0.3192, allocations: 74.55 kB / 0.5637 GB, free: 2.281 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.3193, allocations: 28.78 kB / 0.5638 GB, free: 2.25 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/0.3195, allocations: 27.97 kB / 0.5638 GB, free: 2.223 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.3195, allocations: 34.56 kB / 0.5638 GB, free: 2.18 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.082e-06/0.3195, allocations: 0 / 0.5638 GB, free: 2.18 MB / 398.1 MB
Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default
========================================
1: x
Please use -d=bltdump for more information.
Notification: Performance of matching and sorting (n=23): time 0.1347/0.4542, allocations: 5.617 MB / 0.5693 GB, free: 12.53 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.4543, allocations: 59.27 kB / 0.5694 GB, free: 12.46 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/0.4544, allocations: 89.86 kB / 0.5694 GB, free: 12.36 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.4544, allocations: 33.7 kB / 0.5695 GB, free: 12.32 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.696e-05/0.4544, allocations: 84.45 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.162e-05/0.4545, allocations: 79.27 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.4546, allocations: 57.67 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001501/0.4548, allocations: 334.9 kB / 0.57 GB, free: 11.75 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003545/0.4551, allocations: 107.9 kB / 0.5701 GB, free: 11.65 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.4555, allocations: 111.9 kB / 0.5702 GB, free: 11.54 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.4569, allocations: 337 kB / 0.5705 GB, free: 11.21 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.4569, allocations: 0 / 0.5705 GB, free: 11.21 MB / 414.1 MB
Notification: Performance of matching and sorting (n=23) (initialization): time 0.00119/0.4581, allocations: 349.2 kB / 0.5709 GB, free: 10.86 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4581, allocations: 4 kB / 0.5709 GB, free: 10.86 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4581, allocations: 4 kB / 0.5709 GB, free: 10.85 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4581, allocations: 4 kB / 0.5709 GB, free: 10.85 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.4585, allocations: 79.84 kB / 0.571 GB, free: 10.77 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.4585, allocations: 4 kB / 0.571 GB, free: 10.77 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.4587, allocations: 23.97 kB / 0.571 GB, free: 10.74 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.4588, allocations: 23.91 kB / 0.571 GB, free: 10.72 MB / 414.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 (23):
 * Single equations (assignments): 23
 * 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 0.0001209/0.4589, allocations: 121.8 kB / 0.5711 GB, free: 10.59 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.4589, allocations: 7.953 kB / 0.5711 GB, free: 10.58 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.4603, allocations: 429.8 kB / 0.5715 GB, free: 10.15 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.4603, allocations: 4 kB / 0.5715 GB, free: 10.14 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4603, allocations: 0 / 0.5715 GB, free: 10.14 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.4604, allocations: 0 / 0.5715 GB, free: 10.14 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002303/0.4627, allocations: 0.7481 MB / 0.5723 GB, free: 9.344 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.4627, allocations: 7.938 kB / 0.5723 GB, free: 9.336 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.463, allocations: 75.86 kB / 0.5724 GB, free: 9.262 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.463, allocations: 3.938 kB / 0.5724 GB, free: 9.258 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.463, allocations: 16.06 kB / 0.5724 GB, free: 9.242 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.463, allocations: 7.984 kB / 0.5724 GB, free: 9.234 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.463, allocations: 0 / 0.5724 GB, free: 9.234 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.4642, allocations: 425 kB / 0.5728 GB, free: 8.797 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.511e-05/0.4642, allocations: 15.89 kB / 0.5728 GB, free: 8.781 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.4642, allocations: 7.984 kB / 0.5728 GB, free: 8.773 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.4644, allocations: 23.97 kB / 0.5728 GB, free: 8.75 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.4645, allocations: 19.92 kB / 0.5728 GB, free: 8.73 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.4645, allocations: 15.98 kB / 0.5729 GB, free: 8.715 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 4.098e-05/0.4645, allocations: 75.28 kB / 0.5729 GB, free: 8.641 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4645, allocations: 0 / 0.5729 GB, free: 8.641 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.001705/0.4662, allocations: 0.6362 MB / 0.5736 GB, free: 8.004 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * 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 simulation (23):
 * Single equations (assignments): 23
 * 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.003237/0.4695, allocations: 286.6 kB / 0.5738 GB, free: 7.715 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0008363/0.4703, allocations: 263.6 kB / 0.5741 GB, free: 7.457 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4703, allocations: 0 / 0.5741 GB, free: 7.457 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003706/0.4707, allocations: 131.8 kB / 0.5742 GB, free: 7.328 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.4709, allocations: 10.75 kB / 0.5742 GB, free: 7.32 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009602/0.4719, allocations: 327.4 kB / 0.5745 GB, free: 6.965 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.4722, allocations: 0.697 MB / 0.5752 GB, free: 6.238 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0002384/0.4725, allocations: 77.08 kB / 0.5753 GB, free: 6.164 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.4726, allocations: 43.39 kB / 0.5753 GB, free: 6.121 MB / 414.1 MB
Notification: Performance of SimCode: time 4.61e-07/0.4726, allocations: 0 / 0.5753 GB, free: 6.121 MB / 414.1 MB
Notification: Performance of Templates: time 0.07358/0.5462, allocations: 54.01 MB / 0.6281 GB, free: 44 kB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.5193433575332165]