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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 82.64 kB / 21.44 MB, free: 3.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 166.2 kB / 24.84 MB, free: 9.297 MB / 18.57 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 0.9249/0.9249, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] 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.1304/0.1304, allocations: 32.37 MB / 271.5 MB, free: 14.53 MB / 266.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.046e-05, allocations: 4.281 kB / 348.9 MB, free: 9.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001091/0.001111, allocations: 0.516 MB / 349.4 MB, free: 8.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002034/0.001315, allocations: 99.7 kB / 349.5 MB, free: 8.57 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.149e-05/0.001336, allocations: 0 / 349.5 MB, free: 8.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.515e-05/0.001351, allocations: 0 / 349.5 MB, free: 8.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 2.289e-05/0.001374, allocations: 3.938 kB / 349.5 MB, free: 8.566 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.001548, allocations: 11.98 kB / 349.5 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 4.884e-05/0.001597, allocations: 15.98 kB / 349.5 MB, free: 8.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.001632, allocations: 0 / 349.5 MB, free: 8.539 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.748e-05/0.00167, allocations: 7.938 kB / 349.5 MB, free: 8.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.73e-05/0.001717, allocations: 7.984 kB / 349.6 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.00173, allocations: 0 / 349.6 MB, free: 8.523 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.217e-05/0.001792, allocations: 35.95 kB / 349.6 MB, free: 8.488 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.001804, allocations: 4 kB / 349.6 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.086e-05/0.001815, allocations: 0 / 349.6 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.57e-05/0.001891, allocations: 39.81 kB / 349.6 MB, free: 8.445 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.001893, allocations: 3.938 kB / 349.6 MB, free: 8.441 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.001893, allocations: 0 / 349.6 MB, free: 8.441 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.396e-06/0.001897, allocations: 0 / 349.6 MB, free: 8.441 MB / 282.7 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.000227/0.002124, allocations: 356.3 kB / 350 MB, free: 8.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.002153, allocations: 8.031 kB / 350 MB, free: 8.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.409e-05/0.002177, allocations: 5.281 kB / 350 MB, free: 8.043 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.78e-05/0.002235, allocations: 112.6 kB / 350.1 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.002245, allocations: 384 / 350.1 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-06/0.002252, allocations: 8.375 kB / 350.1 MB, free: 7.898 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.815e-05/0.00233, allocations: 66.33 kB / 350.2 MB, free: 7.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.002338, allocations: 192 / 350.2 MB, free: 7.816 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.002344, allocations: 4.375 kB / 350.2 MB, free: 7.812 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.002349, allocations: 384 / 350.2 MB, free: 7.812 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.546e-05/0.002364, allocations: 19.86 kB / 350.2 MB, free: 7.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.00252, allocations: 355.4 kB / 350.6 MB, free: 7.414 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.337e-05/0.002554, allocations: 27.06 kB / 350.6 MB, free: 7.375 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.002572, allocations: 23.62 kB / 350.6 MB, free: 7.348 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.002583, allocations: 0 / 350.6 MB, free: 7.348 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.287e-05/0.002595, allocations: 33.39 kB / 350.6 MB, free: 7.305 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.002596, allocations: 0 / 350.6 MB, free: 7.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001105/0.002707, allocations: 57.89 kB / 350.7 MB, free: 7.242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.797e-05/0.002725, allocations: 55.39 kB / 350.7 MB, free: 7.176 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.71e-05/0.002762, allocations: 153.9 kB / 350.9 MB, free: 7.008 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.539e-06/0.002766, allocations: 25.7 kB / 350.9 MB, free: 6.977 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.476e-05/0.002791, allocations: 134.8 kB / 351.1 MB, free: 6.84 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.534e-06/0.002799, allocations: 19.97 kB / 351.1 MB, free: 6.82 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.002821, allocations: 31.3 kB / 351.1 MB, free: 6.781 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.427e-05/0.002855, allocations: 492.1 kB / 351.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.01e-05/0.002866, allocations: 4 kB / 351.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.549e-05/0.002881, allocations: 27.34 kB / 351.6 MB, free: 6.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.586e-05/0.002907, allocations: 31.31 kB / 351.6 MB, free: 6.211 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.002908, allocations: 4 kB / 351.6 MB, free: 6.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.211e-05/0.00296, allocations: 53.62 kB / 351.7 MB, free: 6.148 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.00297, allocations: 4 kB / 351.7 MB, free: 6.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.002974, allocations: 4.031 kB / 351.7 MB, free: 6.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.002983, allocations: 3.938 kB / 351.7 MB, free: 6.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.711e-05/0.00303, allocations: 8 kB / 351.7 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.83e-06/0.003034, allocations: 0 / 351.7 MB, free: 6.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.305e-05/0.003048, allocations: 4 kB / 351.7 MB, free: 6.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.003052, allocations: 0 / 351.7 MB, free: 6.125 MB / 282.7 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 3.762e-05/0.00309, allocations: 164.5 kB / 351.9 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.003105, allocations: 4 kB / 351.9 MB, free: 5.949 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.402e-05/0.003169, allocations: 53.38 kB / 351.9 MB, free: 5.887 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.003172, allocations: 3.938 kB / 351.9 MB, free: 5.883 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-06/0.003174, allocations: 8 kB / 352 MB, free: 5.875 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.003176, allocations: 0 / 352 MB, free: 5.875 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.648e-05/0.003242, allocations: 97.22 kB / 352 MB, free: 5.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.003243, allocations: 0 / 352 MB, free: 5.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.233e-05/0.003266, allocations: 11.98 kB / 352.1 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.003267, allocations: 0 / 352.1 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.003271, allocations: 4.188 kB / 352.1 MB, free: 5.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.003272, allocations: 4 kB / 352.1 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.003273, allocations: 0 / 352.1 MB, free: 5.734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.528e-05/0.003328, allocations: 203.8 kB / 352.3 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.268e-06/0.003333, allocations: 4 kB / 352.3 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-06/0.003339, allocations: 4 kB / 352.3 MB, free: 5.508 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.453e-05/0.003364, allocations: 0 / 352.3 MB, free: 5.508 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.03e-05/0.003384, allocations: 7.984 kB / 352.3 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.003387, allocations: 3.938 kB / 352.3 MB, free: 5.496 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.45e-05/0.003401, allocations: 123.2 kB / 352.4 MB, free: 5.375 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.003401, allocations: 0 / 352.4 MB, free: 5.375 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001528/0.003554, allocations: 8 kB / 352.4 MB, free: 5.367 MB / 282.7 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 7.712e-05/0.003631, allocations: 99.19 kB / 352.5 MB, free: 5.262 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.392e-05/0.003695, allocations: 31.77 kB / 352.5 MB, free: 5.227 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.003697, allocations: 7.938 kB / 352.5 MB, free: 5.219 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.546e-05/0.003712, allocations: 15.69 kB / 352.6 MB, free: 5.199 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.003857, allocations: 7.984 kB / 352.6 MB, free: 5.191 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001387/0.003996, allocations: 114.3 kB / 352.7 MB, free: 5.051 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.838e-05/0.004014, allocations: 59.3 kB / 352.7 MB, free: 4.973 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 1.751e-05/0.004032, allocations: 7.844 kB / 352.7 MB, free: 4.965 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.428e-05/0.004056, allocations: 74.2 kB / 352.8 MB, free: 4.891 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.004056, allocations: 4 kB / 352.8 MB, free: 4.887 MB / 282.7 MB Notification: Performance of Templates: time 0.001809/0.005865, allocations: 0.5403 MB / 353.4 MB, free: 4.352 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.012264417950064]