Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 113.8 kB / 19.69 MB, free: 2.203 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 191.1 kB / 22.98 MB, free: 5.078 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 207.6 MB / 233.7 MB, free: 10.01 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.234/0.234, allocations: 44.25 MB / 330.2 MB, free: 9.559 MB / 270.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo)
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative")
translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002127/0.002127, allocations: 72.45 kB / 467.9 MB, free: 4.062 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1133, allocations: 61.04 MB / 0.5166 GB, free: 6.883 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001867/0.1151, allocations: 0.5064 MB / 0.5171 GB, free: 6.375 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.000336/0.1155, allocations: 103.7 kB / 0.5172 GB, free: 6.273 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.1155, allocations: 0 / 0.5172 GB, free: 6.273 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.1155, allocations: 0 / 0.5172 GB, free: 6.273 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.981e-05/0.1155, allocations: 4 kB / 0.5172 GB, free: 6.27 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.1157, allocations: 15.92 kB / 0.5172 GB, free: 6.254 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 5.823e-05/0.1158, allocations: 11.98 kB / 0.5172 GB, free: 6.242 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.01e-05/0.1158, allocations: 0 / 0.5172 GB, free: 6.242 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 2.964e-05/0.1159, allocations: 11.94 kB / 0.5172 GB, free: 6.23 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.116e-05/0.1159, allocations: 7.969 kB / 0.5172 GB, free: 6.223 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.116, allocations: 4 kB / 0.5172 GB, free: 6.219 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.637e-05/0.116, allocations: 31.97 kB / 0.5173 GB, free: 6.188 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.1161, allocations: 7.938 kB / 0.5173 GB, free: 6.18 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.1161, allocations: 7.984 kB / 0.5173 GB, free: 6.172 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.1162, allocations: 27.86 kB / 0.5173 GB, free: 6.145 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1162, allocations: 0 / 0.5173 GB, free: 6.145 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.493e-06/0.1162, allocations: 0 / 0.5173 GB, free: 6.145 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.052e-06/0.1162, allocations: 0 / 0.5173 GB, free: 6.145 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0004332/0.1167, allocations: 258.3 kB / 0.5175 GB, free: 5.859 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1167, allocations: 12.02 kB / 0.5176 GB, free: 5.848 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.611e-05/0.1167, allocations: 4.938 kB / 0.5176 GB, free: 5.844 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1168, allocations: 106.5 kB / 0.5177 GB, free: 5.715 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1169, allocations: 384 / 0.5177 GB, free: 5.715 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.1169, allocations: 8.375 kB / 0.5177 GB, free: 5.707 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.117, allocations: 51.97 kB / 0.5177 GB, free: 5.645 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.117, allocations: 192 / 0.5177 GB, free: 5.645 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.117, allocations: 7.938 kB / 0.5177 GB, free: 5.637 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.117, allocations: 0 / 0.5177 GB, free: 5.637 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.858e-05/0.1171, allocations: 11.94 kB / 0.5177 GB, free: 5.625 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003964/0.1175, allocations: 300.2 kB / 0.518 GB, free: 5.285 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 7.971e-05/0.1176, allocations: 26.52 kB / 0.518 GB, free: 5.25 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.1176, allocations: 8.859 kB / 0.5181 GB, free: 5.238 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.1176, allocations: 3.984 kB / 0.5181 GB, free: 5.234 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.378e-05/0.1177, allocations: 50.58 kB / 0.5181 GB, free: 5.176 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1177, allocations: 3.938 kB / 0.5181 GB, free: 5.172 MB / 398.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0002068/0.1179, allocations: 53.64 kB / 0.5182 GB, free: 5.113 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.1179, allocations: 55.41 kB / 0.5182 GB, free: 5.047 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/0.118, allocations: 101.8 kB / 0.5183 GB, free: 4.938 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.118, allocations: 25.7 kB / 0.5183 GB, free: 4.906 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.1181, allocations: 80.14 kB / 0.5184 GB, free: 4.824 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.1181, allocations: 11.89 kB / 0.5184 GB, free: 4.812 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.1181, allocations: 17.72 kB / 0.5184 GB, free: 4.789 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001451/0.1183, allocations: 314.8 kB / 0.5187 GB, free: 4.473 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.1183, allocations: 12.12 kB / 0.5188 GB, free: 4.461 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.1183, allocations: 21.7 kB / 0.5188 GB, free: 4.434 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.451e-05/0.1184, allocations: 29.66 kB / 0.5188 GB, free: 4.398 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1184, allocations: 0 / 0.5188 GB, free: 4.398 MB / 398.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001058/0.1185, allocations: 61.56 kB / 0.5189 GB, free: 4.332 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1185, allocations: 4 kB / 0.5189 GB, free: 4.328 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1185, allocations: 0 / 0.5189 GB, free: 4.328 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.1185, allocations: 8.031 kB / 0.5189 GB, free: 4.32 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.1186, allocations: 7.984 kB / 0.5189 GB, free: 4.312 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.1186, allocations: 4 kB / 0.5189 GB, free: 4.309 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.752e-05/0.1186, allocations: 7.891 kB / 0.5189 GB, free: 4.301 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1187, allocations: 0 / 0.5189 GB, free: 4.301 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (5):
 * Single equations (assignments): 5
 * 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 9.852e-05/0.1188, allocations: 113.8 kB / 0.519 GB, free: 4.18 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.1188, allocations: 0 / 0.519 GB, free: 4.18 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.1189, allocations: 65.31 kB / 0.5191 GB, free: 4.105 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1189, allocations: 0 / 0.5191 GB, free: 4.105 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1189, allocations: 4 kB / 0.5191 GB, free: 4.102 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1189, allocations: 0 / 0.5191 GB, free: 4.102 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.1191, allocations: 132.7 kB / 0.5192 GB, free: 3.93 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1191, allocations: 0 / 0.5192 GB, free: 3.93 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.1192, allocations: 7.984 kB / 0.5192 GB, free: 3.922 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1192, allocations: 4 kB / 0.5192 GB, free: 3.918 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1192, allocations: 4 kB / 0.5192 GB, free: 3.914 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1192, allocations: 0 / 0.5192 GB, free: 3.914 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1192, allocations: 192 / 0.5192 GB, free: 3.914 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.1193, allocations: 163.4 kB / 0.5194 GB, free: 3.738 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.1193, allocations: 7.938 kB / 0.5194 GB, free: 3.73 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.1193, allocations: 0 / 0.5194 GB, free: 3.73 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.13e-05/0.1194, allocations: 4 kB / 0.5194 GB, free: 3.727 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.1194, allocations: 7.984 kB / 0.5194 GB, free: 3.719 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-06/0.1194, allocations: 0 / 0.5194 GB, free: 3.719 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 3.944e-05/0.1195, allocations: 75.28 kB / 0.5195 GB, free: 3.645 MB / 398.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.1195, allocations: 0 / 0.5195 GB, free: 3.645 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002314/0.1197, allocations: 8.094 kB / 0.5195 GB, free: 3.637 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 (5):
 * Single equations (assignments): 5
 * 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.0001264/0.1198, allocations: 103.2 kB / 0.5196 GB, free: 3.523 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001146/0.1199, allocations: 23.92 kB / 0.5196 GB, free: 3.5 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1199, allocations: 3.938 kB / 0.5196 GB, free: 3.496 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 2.924e-05/0.12, allocations: 8 kB / 0.5196 GB, free: 3.488 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.1202, allocations: 15.88 kB / 0.5196 GB, free: 3.473 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.1205, allocations: 100.9 kB / 0.5197 GB, free: 3.348 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1208, allocations: 0.6846 MB / 0.5204 GB, free: 2.637 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 2.848e-05/0.1208, allocations: 0 / 0.5204 GB, free: 2.637 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.1208, allocations: 11.44 kB / 0.5204 GB, free: 2.625 MB / 398.1 MB
Notification: Performance of SimCode: time 3.61e-07/0.1208, allocations: 0 / 0.5204 GB, free: 2.625 MB / 398.1 MB
Notification: Performance of Templates: time 0.003001/0.1238, allocations: 0.4907 MB / 0.5209 GB, free: 2.137 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.607970513403416]