Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.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.001799/0.001799, allocations: 107.2 kB / 19.69 MB, free: 2.199 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.001726/0.001726, allocations: 191.2 kB / 22.98 MB, free: 5.062 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.404/1.404, allocations: 207.6 MB / 233.7 MB, free: 10 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.233/0.233, allocations: 44.23 MB / 330.2 MB, free: 9.551 MB / 270.1 MB
"
[Timeout remaining time 179]
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.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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative") [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.002228/0.002228, allocations: 75.22 kB / 467.9 MB, free: 4.039 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1328, allocations: 61.04 MB / 0.5166 GB, free: 6.863 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative): time 0.001777/0.1345, allocations: 0.5445 MB / 0.5171 GB, free: 6.32 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0009621/0.1355, allocations: 412.5 kB / 0.5175 GB, free: 5.914 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 3.544e-05/0.1355, allocations: 0 / 0.5175 GB, free: 5.914 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.1356, allocations: 4 kB / 0.5175 GB, free: 5.91 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 3.643e-05/0.1356, allocations: 3.938 kB / 0.5175 GB, free: 5.906 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006065/0.1362, allocations: 151.5 kB / 0.5177 GB, free: 5.758 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 7.916e-05/0.1363, allocations: 27.92 kB / 0.5177 GB, free: 5.73 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.994e-05/0.1363, allocations: 4 kB / 0.5177 GB, free: 5.727 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 3.594e-05/0.1364, allocations: 23.91 kB / 0.5177 GB, free: 5.703 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.273e-05/0.1364, allocations: 19.92 kB / 0.5177 GB, free: 5.684 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.1365, allocations: 0 / 0.5177 GB, free: 5.684 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002862/0.1367, allocations: 171.8 kB / 0.5179 GB, free: 5.516 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.595e-05/0.1368, allocations: 7.984 kB / 0.5179 GB, free: 5.508 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.1368, allocations: 19.86 kB / 0.5179 GB, free: 5.488 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.1371, allocations: 131.6 kB / 0.518 GB, free: 5.359 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1371, allocations: 0 / 0.518 GB, free: 5.359 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.703e-06/0.1371, allocations: 0 / 0.518 GB, free: 5.359 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.123e-06/0.1371, allocations: 0 / 0.518 GB, free: 5.359 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.0004459/0.1375, allocations: 286 kB / 0.5183 GB, free: 5.051 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1376, allocations: 11.97 kB / 0.5183 GB, free: 5.039 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.1376, allocations: 12.89 kB / 0.5183 GB, free: 5.027 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.1377, allocations: 114.4 kB / 0.5184 GB, free: 4.891 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.1377, allocations: 4.375 kB / 0.5185 GB, free: 4.887 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.1378, allocations: 8.375 kB / 0.5185 GB, free: 4.879 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1379, allocations: 62.22 kB / 0.5185 GB, free: 4.812 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.1379, allocations: 11.89 kB / 0.5185 GB, free: 4.801 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1379, allocations: 4 kB / 0.5185 GB, free: 4.797 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.138, allocations: 0 / 0.5185 GB, free: 4.797 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.1381, allocations: 43.95 kB / 0.5186 GB, free: 4.754 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.1383, allocations: 140.8 kB / 0.5187 GB, free: 4.574 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000168/0.1384, allocations: 90.61 kB / 0.5188 GB, free: 4.477 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.1385, allocations: 24.84 kB / 0.5188 GB, free: 4.449 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002561/0.1388, allocations: 23.97 kB / 0.5188 GB, free: 4.426 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.1388, allocations: 34.56 kB / 0.5189 GB, free: 4.383 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1388, allocations: 0 / 0.5189 GB, free: 4.383 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.1462/0.2849, allocations: 5.623 MB / 0.5244 GB, free: 14.72 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.285, allocations: 55.41 kB / 0.5244 GB, free: 14.65 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2851, allocations: 101.9 kB / 0.5245 GB, free: 14.54 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.2852, allocations: 29.69 kB / 0.5245 GB, free: 14.51 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.2852, allocations: 80.52 kB / 0.5246 GB, free: 14.42 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.2853, allocations: 79.28 kB / 0.5247 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.2854, allocations: 61.61 kB / 0.5248 GB, free: 14.28 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001516/0.2856, allocations: 326.8 kB / 0.5251 GB, free: 13.95 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.286, allocations: 112 kB / 0.5252 GB, free: 13.84 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003708/0.2864, allocations: 115.8 kB / 0.5253 GB, free: 13.73 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001508/0.2879, allocations: 320.6 kB / 0.5256 GB, free: 13.41 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2879, allocations: 0 / 0.5256 GB, free: 13.41 MB / 414.1 MB
Notification: Performance of matching and sorting (n=23) (initialization): time 0.001292/0.2892, allocations: 361.7 kB / 0.5259 GB, free: 13.05 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2892, allocations: 4 kB / 0.5259 GB, free: 13.05 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.2892, allocations: 4 kB / 0.5259 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.2892, allocations: 0 / 0.5259 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004243/0.2896, allocations: 79.86 kB / 0.526 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2896, allocations: 7.938 kB / 0.526 GB, free: 12.96 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.2899, allocations: 27.95 kB / 0.5261 GB, free: 12.93 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.2899, allocations: 19.92 kB / 0.5261 GB, free: 12.91 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.0001545/0.2901, allocations: 121.8 kB / 0.5262 GB, free: 12.78 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.893e-05/0.2901, allocations: 7.953 kB / 0.5262 GB, free: 12.77 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/0.2916, allocations: 433.8 kB / 0.5266 GB, free: 12.34 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.2916, allocations: 8 kB / 0.5266 GB, free: 12.33 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2916, allocations: 0 / 0.5266 GB, free: 12.33 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.2916, allocations: 0 / 0.5266 GB, free: 12.33 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/0.2941, allocations: 0.7446 MB / 0.5273 GB, free: 11.53 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.2941, allocations: 7.938 kB / 0.5274 GB, free: 11.52 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.2944, allocations: 75.86 kB / 0.5274 GB, free: 11.45 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.2944, allocations: 0 / 0.5274 GB, free: 11.45 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.2944, allocations: 15.98 kB / 0.5274 GB, free: 11.43 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/0.2944, allocations: 4 kB / 0.5274 GB, free: 11.43 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2944, allocations: 0 / 0.5274 GB, free: 11.43 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/0.2957, allocations: 428.8 kB / 0.5279 GB, free: 10.99 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.2957, allocations: 11.94 kB / 0.5279 GB, free: 10.98 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.2958, allocations: 0 / 0.5279 GB, free: 10.98 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.296, allocations: 27.97 kB / 0.5279 GB, free: 10.95 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.296, allocations: 19.95 kB / 0.5279 GB, free: 10.93 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.883e-05/0.296, allocations: 15.98 kB / 0.5279 GB, free: 10.91 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 4.598e-05/0.2961, allocations: 79.28 kB / 0.528 GB, free: 10.84 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.2961, allocations: 0 / 0.528 GB, free: 10.84 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.001993/0.2981, allocations: 0.6324 MB / 0.5286 GB, free: 10.2 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.003438/0.3015, allocations: 294.5 kB / 0.5289 GB, free: 9.906 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009678/0.3025, allocations: 256.3 kB / 0.5291 GB, free: 9.656 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3025, allocations: 0 / 0.5291 GB, free: 9.656 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.3029, allocations: 124 kB / 0.5293 GB, free: 9.535 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.3031, allocations: 12 kB / 0.5293 GB, free: 9.523 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.3042, allocations: 331.2 kB / 0.5296 GB, free: 9.164 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/0.3046, allocations: 0.697 MB / 0.5303 GB, free: 8.438 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0002615/0.3048, allocations: 81.08 kB / 0.5303 GB, free: 8.359 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.305, allocations: 47.39 kB / 0.5304 GB, free: 8.312 MB / 414.1 MB
Notification: Performance of SimCode: time 1.323e-06/0.305, allocations: 0 / 0.5304 GB, free: 8.312 MB / 414.1 MB
Notification: Performance of Templates: time 0.3854/0.6904, allocations: 54.01 MB / 0.5831 GB, free: 2.445 MB / 414.1 MB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRoot2ZeroDerivative/TestRegRoot2ZeroDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.015723409131169]