Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001627/0.001627, 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.001974/0.001974, 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.466/1.466, allocations: 230.3 MB / 258 MB, free: 8.227 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2337/0.2337, allocations: 46.93 MB / 361.4 MB, free: 4.391 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [Timeout 660]
"Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 83.84 kB / 0.4972 GB, free: 7.504 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3413, allocations: 66.03 MB / 0.5616 GB, free: 4.504 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.00189/0.3431, allocations: 0.5528 MB / 0.5622 GB, free: 3.961 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0008605/0.344, allocations: 414.7 kB / 0.5626 GB, free: 3.551 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.344, allocations: 0 / 0.5626 GB, free: 3.551 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.3441, allocations: 3.938 kB / 0.5626 GB, free: 3.547 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.237e-05/0.3441, allocations: 0 / 0.5626 GB, free: 3.547 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005702/0.3446, allocations: 151.4 kB / 0.5627 GB, free: 3.402 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 6.269e-05/0.3447, allocations: 23.92 kB / 0.5627 GB, free: 3.379 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.3448, allocations: 11.92 kB / 0.5628 GB, free: 3.367 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.618e-05/0.3448, allocations: 15.94 kB / 0.5628 GB, free: 3.352 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.3448, allocations: 19.92 kB / 0.5628 GB, free: 3.332 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.3448, allocations: 0 / 0.5628 GB, free: 3.332 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.3451, allocations: 159.8 kB / 0.5629 GB, free: 3.176 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.593e-05/0.3451, allocations: 7.984 kB / 0.563 GB, free: 3.168 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.3452, allocations: 19.86 kB / 0.563 GB, free: 3.148 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.3454, allocations: 122.4 kB / 0.5631 GB, free: 3.035 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.3454, allocations: 8 kB / 0.5631 GB, free: 3.027 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.733e-06/0.3454, allocations: 0 / 0.5631 GB, free: 3.027 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.59e-06/0.3454, allocations: 3.938 kB / 0.5631 GB, free: 3.023 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.000501/0.3459, allocations: 290 kB / 0.5634 GB, free: 2.711 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.346, allocations: 8.031 kB / 0.5634 GB, free: 2.703 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.346, allocations: 4.891 kB / 0.5634 GB, free: 2.699 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.3462, allocations: 114.5 kB / 0.5635 GB, free: 2.562 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.3462, allocations: 12.38 kB / 0.5635 GB, free: 2.551 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.729e-05/0.3462, allocations: 8.312 kB / 0.5635 GB, free: 2.543 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3464, allocations: 66.23 kB / 0.5636 GB, free: 2.473 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.3464, allocations: 3.938 kB / 0.5636 GB, free: 2.469 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.3464, allocations: 4 kB / 0.5636 GB, free: 2.465 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.3464, allocations: 0 / 0.5636 GB, free: 2.465 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.3465, allocations: 51.83 kB / 0.5636 GB, free: 2.414 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.3468, allocations: 148.7 kB / 0.5638 GB, free: 2.227 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.347, allocations: 74.55 kB / 0.5638 GB, free: 2.145 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.473e-05/0.347, allocations: 32.84 kB / 0.5639 GB, free: 2.109 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002603/0.3473, allocations: 27.95 kB / 0.5639 GB, free: 2.082 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/0.3473, allocations: 30.56 kB / 0.5639 GB, free: 2.043 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=13): time 3.186e-06/0.3473, allocations: 3.984 kB / 0.5639 GB, free: 2.039 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.1423/0.4897, allocations: 5.625 MB / 0.5694 GB, free: 12.38 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.4897, allocations: 59.27 kB / 0.5695 GB, free: 12.3 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.618e-05/0.4898, allocations: 89.86 kB / 0.5696 GB, free: 12.21 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.352e-05/0.4898, allocations: 33.7 kB / 0.5696 GB, free: 12.17 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.957e-05/0.4899, allocations: 80.52 kB / 0.5697 GB, free: 12.08 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.784e-05/0.49, allocations: 91.38 kB / 0.5698 GB, free: 11.99 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.4901, allocations: 57.67 kB / 0.5698 GB, free: 11.93 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001703/0.4903, allocations: 322.8 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003558/0.4906, allocations: 115.9 kB / 0.5702 GB, free: 11.49 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/0.4909, allocations: 115.9 kB / 0.5704 GB, free: 11.38 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.4924, allocations: 321.1 kB / 0.5707 GB, free: 11.06 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.4924, allocations: 0 / 0.5707 GB, free: 11.06 MB / 414.1 MB
Notification: Performance of matching and sorting (n=23) (initialization): time 0.001187/0.4936, allocations: 357.2 kB / 0.571 GB, free: 10.71 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.4936, allocations: 4 kB / 0.571 GB, free: 10.7 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4936, allocations: 0 / 0.571 GB, free: 10.7 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.4936, allocations: 4 kB / 0.571 GB, free: 10.7 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003895/0.494, allocations: 79.91 kB / 0.5711 GB, free: 10.62 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.494, allocations: 0 / 0.5711 GB, free: 10.62 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.4942, allocations: 27.97 kB / 0.5711 GB, free: 10.59 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.4942, allocations: 19.92 kB / 0.5711 GB, free: 10.57 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.0001259/0.4944, allocations: 125.8 kB / 0.5713 GB, free: 10.44 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.563e-05/0.4944, allocations: 7.953 kB / 0.5713 GB, free: 10.43 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.4958, allocations: 421.9 kB / 0.5717 GB, free: 10.01 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.166e-06/0.4958, allocations: 7.922 kB / 0.5717 GB, free: 10 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.4958, allocations: 4 kB / 0.5717 GB, free: 9.996 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4959, allocations: 4 kB / 0.5717 GB, free: 9.992 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002216/0.4981, allocations: 0.7442 MB / 0.5724 GB, free: 9.195 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.239e-06/0.4981, allocations: 3.938 kB / 0.5724 GB, free: 9.191 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.4984, allocations: 80 kB / 0.5725 GB, free: 9.113 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4984, allocations: 0 / 0.5725 GB, free: 9.113 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.4984, allocations: 15.92 kB / 0.5725 GB, free: 9.098 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.4984, allocations: 0 / 0.5725 GB, free: 9.098 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.4984, allocations: 7.938 kB / 0.5725 GB, free: 9.09 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.4996, allocations: 425.2 kB / 0.5729 GB, free: 8.652 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.4996, allocations: 7.953 kB / 0.5729 GB, free: 8.645 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.009e-05/0.4996, allocations: 4 kB / 0.5729 GB, free: 8.641 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.4998, allocations: 31.95 kB / 0.573 GB, free: 8.609 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.4998, allocations: 11.98 kB / 0.573 GB, free: 8.598 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.4998, allocations: 19.98 kB / 0.573 GB, free: 8.578 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 4.502e-05/0.4999, allocations: 79.22 kB / 0.5731 GB, free: 8.5 MB / 414.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.4999, allocations: 0 / 0.5731 GB, free: 8.5 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.001607/0.5015, allocations: 0.6323 MB / 0.5737 GB, free: 7.867 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.002756/0.5043, allocations: 298.6 kB / 0.574 GB, free: 7.566 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0008309/0.5051, allocations: 259.6 kB / 0.5742 GB, free: 7.312 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5051, allocations: 4 kB / 0.5742 GB, free: 7.309 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003397/0.5054, allocations: 127.8 kB / 0.5743 GB, free: 7.184 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.5057, allocations: 8 kB / 0.5743 GB, free: 7.176 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009706/0.5066, allocations: 327.5 kB / 0.5747 GB, free: 6.82 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006579/0.5073, allocations: 0.7009 MB / 0.5753 GB, free: 6.09 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0002396/0.5075, allocations: 73.08 kB / 0.5754 GB, free: 6.02 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.5077, allocations: 51.39 kB / 0.5755 GB, free: 5.969 MB / 414.1 MB
Notification: Performance of SimCode: time 5.81e-07/0.5077, allocations: 0 / 0.5755 GB, free: 5.969 MB / 414.1 MB
Notification: Performance of Templates: time 0.08035/0.588, allocations: 54 MB / 0.6282 GB, free: 15.9 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.651708145625889]