Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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.001379/0.001379, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002198/0.002198, allocations: 213.7 kB / 24.54 MB, free: 3.875 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.468/1.468, allocations: 230.3 MB / 258 MB, free: 8.168 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.2246/0.2246, allocations: 46.94 MB / 361.4 MB, free: 4.383 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.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [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.00247/0.00247, allocations: 87.83 kB / 0.4972 GB, free: 7.508 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3066, allocations: 66.04 MB / 0.5616 GB, free: 4.547 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.00169/0.3083, allocations: 0.5031 MB / 0.5621 GB, free: 4.047 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0003629/0.3087, allocations: 103.6 kB / 0.5622 GB, free: 3.945 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.3087, allocations: 0 / 0.5622 GB, free: 3.945 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.3087, allocations: 4 kB / 0.5622 GB, free: 3.941 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 2.191e-05/0.3087, allocations: 0 / 0.5622 GB, free: 3.941 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.309, allocations: 15.92 kB / 0.5623 GB, free: 3.926 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 6.578e-05/0.309, allocations: 11.98 kB / 0.5623 GB, free: 3.914 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.209e-05/0.3091, allocations: 4 kB / 0.5623 GB, free: 3.91 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 3.247e-05/0.3091, allocations: 11.92 kB / 0.5623 GB, free: 3.898 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 5.415e-05/0.3092, allocations: 4 kB / 0.5623 GB, free: 3.895 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.3092, allocations: 0 / 0.5623 GB, free: 3.895 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 9.044e-05/0.3093, allocations: 31.97 kB / 0.5623 GB, free: 3.863 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.3093, allocations: 3.984 kB / 0.5623 GB, free: 3.859 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.3093, allocations: 15.92 kB / 0.5623 GB, free: 3.844 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.3094, allocations: 23.58 kB / 0.5624 GB, free: 3.824 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.3094, allocations: 0 / 0.5624 GB, free: 3.824 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.443e-06/0.3094, allocations: 4 kB / 0.5624 GB, free: 3.82 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.155e-06/0.3094, allocations: 3.984 kB / 0.5624 GB, free: 3.816 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.0003849/0.3098, allocations: 253.2 kB / 0.5626 GB, free: 3.539 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3098, allocations: 12.03 kB / 0.5626 GB, free: 3.527 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.565e-05/0.3099, allocations: 0.9375 kB / 0.5626 GB, free: 3.527 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.31, allocations: 110.5 kB / 0.5627 GB, free: 3.395 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.31, allocations: 4.375 kB / 0.5627 GB, free: 3.391 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.31, allocations: 384 / 0.5627 GB, free: 3.391 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.3101, allocations: 55.97 kB / 0.5628 GB, free: 3.324 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.3101, allocations: 192 / 0.5628 GB, free: 3.324 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3101, allocations: 3.938 kB / 0.5628 GB, free: 3.32 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3101, allocations: 0 / 0.5628 GB, free: 3.32 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.921e-05/0.3102, allocations: 11.94 kB / 0.5628 GB, free: 3.309 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.3105, allocations: 300.2 kB / 0.5631 GB, free: 2.969 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 5.757e-05/0.3106, allocations: 26.52 kB / 0.5631 GB, free: 2.934 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 3.545e-05/0.3106, allocations: 8.859 kB / 0.5631 GB, free: 2.922 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.3106, allocations: 4.094 kB / 0.5631 GB, free: 2.918 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.3107, allocations: 42.48 kB / 0.5632 GB, free: 2.867 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3107, allocations: 4 kB / 0.5632 GB, free: 2.863 MB / 398.1 MB
Notification: Performance of matching and sorting (n=4): time 0.0001835/0.3108, allocations: 53.64 kB / 0.5632 GB, free: 2.805 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.3109, allocations: 51.41 kB / 0.5633 GB, free: 2.742 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.927e-05/0.311, allocations: 97.86 kB / 0.5634 GB, free: 2.637 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.311, allocations: 25.7 kB / 0.5634 GB, free: 2.605 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.593e-05/0.311, allocations: 80.14 kB / 0.5635 GB, free: 2.523 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.3111, allocations: 27.81 kB / 0.5635 GB, free: 2.496 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.3111, allocations: 17.66 kB / 0.5635 GB, free: 2.473 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001333/0.3112, allocations: 322.9 kB / 0.5638 GB, free: 2.148 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 2.287e-05/0.3112, allocations: 4 kB / 0.5638 GB, free: 2.145 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.708e-05/0.3113, allocations: 25.64 kB / 0.5638 GB, free: 2.113 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 5.115e-05/0.3113, allocations: 25.72 kB / 0.5639 GB, free: 2.082 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3113, allocations: 0 / 0.5639 GB, free: 2.082 MB / 398.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001032/0.3114, allocations: 65.78 kB / 0.5639 GB, free: 2.012 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3115, allocations: 10.34 kB / 0.5639 GB, free: 2.004 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3115, allocations: 4.031 kB / 0.5639 GB, free: 2 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3115, allocations: 0 / 0.5639 GB, free: 2 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.3115, allocations: 11.98 kB / 0.5639 GB, free: 1.988 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3115, allocations: 0 / 0.5639 GB, free: 1.988 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.3116, allocations: 3.953 kB / 0.564 GB, free: 1.984 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.3116, allocations: 4 kB / 0.564 GB, free: 1.98 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 8.293e-05/0.3117, allocations: 113.8 kB / 0.5641 GB, free: 1.859 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.3117, allocations: 0 / 0.5641 GB, free: 1.859 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.3118, allocations: 69.44 kB / 0.5641 GB, free: 1.777 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3118, allocations: 0 / 0.5641 GB, free: 1.777 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.3118, allocations: 0 / 0.5641 GB, free: 1.777 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3118, allocations: 4 kB / 0.5641 GB, free: 1.773 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.312, allocations: 132.7 kB / 0.5643 GB, free: 1.602 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.312, allocations: 0 / 0.5643 GB, free: 1.602 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.312, allocations: 11.98 kB / 0.5643 GB, free: 1.59 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.312, allocations: 0 / 0.5643 GB, free: 1.59 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.312, allocations: 0 / 0.5643 GB, free: 1.59 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.312, allocations: 0 / 0.5643 GB, free: 1.59 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.312, allocations: 0 / 0.5643 GB, free: 1.59 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.3122, allocations: 159.4 kB / 0.5644 GB, free: 1.418 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.734e-06/0.3122, allocations: 3.953 kB / 0.5644 GB, free: 1.414 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.3122, allocations: 4 kB / 0.5644 GB, free: 1.41 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.863e-05/0.3123, allocations: 0 / 0.5644 GB, free: 1.41 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.3123, allocations: 7.984 kB / 0.5644 GB, free: 1.402 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.3123, allocations: 0 / 0.5644 GB, free: 1.402 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 4.334e-05/0.3123, allocations: 79.28 kB / 0.5645 GB, free: 1.324 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3123, allocations: 4.094 kB / 0.5645 GB, free: 1.32 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0002245/0.3126, allocations: 7.938 kB / 0.5645 GB, free: 1.312 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.0001245/0.3127, allocations: 103.7 kB / 0.5646 GB, free: 1.199 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001105/0.3128, allocations: 23.92 kB / 0.5647 GB, free: 1.176 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3128, allocations: 4 kB / 0.5647 GB, free: 1.172 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.161e-05/0.3128, allocations: 12 kB / 0.5647 GB, free: 1.16 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.313, allocations: 3.938 kB / 0.5647 GB, free: 1.156 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.3133, allocations: 113.1 kB / 0.5648 GB, free: 1.02 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.3136, allocations: 0.6806 MB / 0.5654 GB, free: 320 kB / 398.1 MB
Notification: Performance of simCode: alias equations: time 2.977e-05/0.3136, allocations: 0 / 0.5654 GB, free: 320 kB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.3137, allocations: 11.44 kB / 0.5655 GB, free: 308 kB / 398.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.3137, allocations: 0 / 0.5655 GB, free: 308 kB / 398.1 MB
Notification: Performance of Templates: time 0.002922/0.3166, allocations: 497.5 kB / 0.5659 GB, free: 15.82 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.970285070128739]