Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.0008416/0.0008416, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001164/0.002006, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001452/0.001452, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001904/0.003357, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.892/0.892, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1457/1.038, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1242/0.1242, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01404/0.1383, allocations: 12.53 MB / 284.5 MB, free: 9.719 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 285.8 MB, free: 8.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.049e-05, allocations: 2.312 kB / 285.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001891/0.001912, allocations: 0.5664 MB / 286.4 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001786/0.00209, allocations: 95.66 kB / 286.5 MB, free: 7.781 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.71e-05/0.002107, allocations: 4 kB / 286.5 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.57e-06/0.002113, allocations: 0 / 286.5 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.917e-06/0.002122, allocations: 0 / 286.5 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.899e-05/0.002221, allocations: 15.92 kB / 286.5 MB, free: 7.762 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.157e-05/0.002282, allocations: 15.97 kB / 286.5 MB, free: 7.746 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.002325, allocations: 4 kB / 286.5 MB, free: 7.742 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.768e-05/0.002393, allocations: 11.92 kB / 286.5 MB, free: 7.73 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.023e-05/0.002443, allocations: 0 / 286.5 MB, free: 7.73 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.00246, allocations: 4 kB / 286.5 MB, free: 7.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.002565, allocations: 31.91 kB / 286.6 MB, free: 7.695 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.002581, allocations: 4 kB / 286.6 MB, free: 7.691 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.002602, allocations: 4 kB / 286.6 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.002784, allocations: 31.89 kB / 286.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.437e-05/0.002798, allocations: 0 / 286.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.002799, allocations: 0 / 286.6 MB, free: 7.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.002809, allocations: 0 / 286.6 MB, free: 7.656 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.0003444/0.003153, allocations: 228.6 kB / 286.8 MB, free: 7.406 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.003187, allocations: 8.031 kB / 286.8 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.238e-05/0.003219, allocations: 8.938 kB / 286.8 MB, free: 7.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.659e-05/0.003316, allocations: 105.7 kB / 287 MB, free: 7.262 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.003328, allocations: 8.375 kB / 287 MB, free: 7.254 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.072e-05/0.003339, allocations: 384 / 287 MB, free: 7.254 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.003464, allocations: 68.66 kB / 287 MB, free: 7.172 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.003471, allocations: 192 / 287 MB, free: 7.172 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.003479, allocations: 384 / 287 MB, free: 7.172 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.003487, allocations: 4.359 kB / 287 MB, free: 7.168 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.536e-05/0.003512, allocations: 15.88 kB / 287 MB, free: 7.152 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.003738, allocations: 228.5 kB / 287.3 MB, free: 6.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.779e-05/0.003786, allocations: 18.58 kB / 287.3 MB, free: 6.883 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.003813, allocations: 12.86 kB / 287.3 MB, free: 6.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.003827, allocations: 4 kB / 287.3 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.003851, allocations: 30.56 kB / 287.3 MB, free: 6.824 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.003853, allocations: 0 / 287.3 MB, free: 6.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001216/0.003974, allocations: 45.72 kB / 287.4 MB, free: 6.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.004006, allocations: 59.34 kB / 287.4 MB, free: 6.703 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.004071, allocations: 110.6 kB / 287.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.004083, allocations: 25.7 kB / 287.6 MB, free: 6.551 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.161e-05/0.004124, allocations: 84.14 kB / 287.7 MB, free: 6.465 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.004136, allocations: 11.84 kB / 287.7 MB, free: 6.453 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.00417, allocations: 25.78 kB / 287.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.531e-05/0.004265, allocations: 318.8 kB / 288 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.349e-05/0.004279, allocations: 4 kB / 288 MB, free: 6.098 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.016e-05/0.004299, allocations: 17.72 kB / 288 MB, free: 6.074 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.102e-05/0.00434, allocations: 25.64 kB / 288 MB, free: 6.043 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.004343, allocations: 128 / 288 MB, free: 6.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.889e-05/0.004421, allocations: 53.62 kB / 288.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.004435, allocations: 4 kB / 288.1 MB, free: 5.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.004442, allocations: 0 / 288.1 MB, free: 5.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.004458, allocations: 4.031 kB / 288.1 MB, free: 5.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.388e-05/0.004532, allocations: 15.92 kB / 288.1 MB, free: 5.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.004536, allocations: 4 kB / 288.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.004556, allocations: 4 kB / 288.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.004563, allocations: 0 / 288.1 MB, free: 5.953 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 6.106e-05/0.004624, allocations: 109.8 kB / 288.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.004644, allocations: 0 / 288.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.004744, allocations: 53.31 kB / 288.3 MB, free: 5.773 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001381/0.004883, allocations: 3.984 kB / 288.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.004886, allocations: 3.938 kB / 288.3 MB, free: 5.766 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.004889, allocations: 4 kB / 288.3 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.005002, allocations: 77.84 kB / 288.4 MB, free: 5.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.005003, allocations: 0 / 288.4 MB, free: 5.668 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.005049, allocations: 8 kB / 288.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.578e-06/0.005058, allocations: 4 kB / 288.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.005062, allocations: 0 / 288.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.154e-06/0.005069, allocations: 7.984 kB / 288.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.005071, allocations: 0 / 288.4 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.005073, allocations: 3.938 kB / 288.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.005175, allocations: 143.5 kB / 288.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.005184, allocations: 0 / 288.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.721e-05/0.005232, allocations: 4 kB / 288.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.266e-05/0.005254, allocations: 368 / 288.5 MB, free: 5.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.005262, allocations: 11.98 kB / 288.6 MB, free: 5.473 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.342e-05/0.005275, allocations: 8.797 kB / 288.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005275, allocations: 0 / 288.6 MB, free: 5.461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001942/0.005469, allocations: 15.94 kB / 288.6 MB, free: 5.445 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 0.0001193/0.005589, allocations: 84.34 kB / 288.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.767e-05/0.005666, allocations: 24.84 kB / 288.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.779e-06/0.005676, allocations: 8.172 kB / 288.7 MB, free: 5.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.482e-05/0.005721, allocations: 24.8 kB / 288.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.005872, allocations: 4 kB / 288.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.00609, allocations: 120.5 kB / 288.8 MB, free: 5.145 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.98e-05/0.00613, allocations: 59.3 kB / 288.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.305e-05/0.006153, allocations: 0 / 288.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.006193, allocations: 55.38 kB / 289 MB, free: 5.012 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.006194, allocations: 4 kB / 289 MB, free: 5.008 MB / 282.7 MB Notification: Performance of Templates: time 0.00234/0.008533, allocations: 481 kB / 289.4 MB, free: 4.543 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.469672741368413]