Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001286/0.001286, allocations: 76.31 kB / 22.21 MB, free: 2.266 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.001485/0.001485, allocations: 170.4 kB / 25.61 MB, free: 8.906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.888/0.888, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1371/0.1371, allocations: 34.25 MB / 296.8 MB, free: 13.96 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 379.3 MB, free: 23.46 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.903e-05, allocations: 3.734 kB / 379.3 MB, free: 23.46 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.0009974/0.001016, allocations: 0.5043 MB / 379.8 MB, free: 22.96 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002117/0.001228, allocations: 99.66 kB / 379.9 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.001252, allocations: 0 / 379.9 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.578e-05/0.001268, allocations: 0 / 379.9 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.216e-05/0.00129, allocations: 0 / 379.9 MB, free: 22.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.001471, allocations: 23.91 kB / 379.9 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.001525, allocations: 11.98 kB / 379.9 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.001562, allocations: 0 / 379.9 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.001603, allocations: 15.92 kB / 379.9 MB, free: 22.81 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.34e-05/0.001646, allocations: 4 kB / 379.9 MB, free: 22.8 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.192e-05/0.001658, allocations: 0 / 379.9 MB, free: 22.8 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.392e-05/0.001722, allocations: 27.97 kB / 379.9 MB, free: 22.78 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.363e-05/0.001736, allocations: 3.984 kB / 379.9 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.24e-05/0.001748, allocations: 7.984 kB / 380 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 7.439e-05/0.001823, allocations: 27.91 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.001825, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.001826, allocations: 4 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.001829, allocations: 0 / 380 MB, free: 22.73 MB / 314.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.0002249/0.002054, allocations: 356.3 kB / 380.3 MB, free: 22.35 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.002085, allocations: 8.031 kB / 380.3 MB, free: 22.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.386e-05/0.002109, allocations: 5.281 kB / 380.3 MB, free: 22.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.641e-05/0.002166, allocations: 116.5 kB / 380.5 MB, free: 22.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.002175, allocations: 384 / 380.5 MB, free: 22.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.002182, allocations: 4.375 kB / 380.5 MB, free: 22.19 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.617e-05/0.002258, allocations: 78.27 kB / 380.5 MB, free: 22.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.002272, allocations: 4.188 kB / 380.5 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.002279, allocations: 4.359 kB / 380.5 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.002284, allocations: 384 / 380.5 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.54e-05/0.002299, allocations: 11.94 kB / 380.6 MB, free: 22.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.002463, allocations: 355.3 kB / 380.9 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.246e-05/0.002495, allocations: 27.06 kB / 380.9 MB, free: 21.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.002512, allocations: 19.77 kB / 381 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.002522, allocations: 0 / 381 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.348e-05/0.002536, allocations: 33.39 kB / 381 MB, free: 21.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.002537, allocations: 0 / 381 MB, free: 21.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.000105/0.002642, allocations: 61.56 kB / 381 MB, free: 21.53 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.724e-05/0.002659, allocations: 51.41 kB / 381.1 MB, free: 21.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.566e-05/0.002695, allocations: 153.9 kB / 381.2 MB, free: 21.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.727e-06/0.002698, allocations: 25.7 kB / 381.3 MB, free: 21.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.002721, allocations: 134.8 kB / 381.4 MB, free: 21.13 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.623e-06/0.002727, allocations: 19.88 kB / 381.4 MB, free: 21.11 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.009e-05/0.002748, allocations: 19.38 kB / 381.4 MB, free: 21.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.515e-05/0.002783, allocations: 492.1 kB / 381.9 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.002792, allocations: 8 kB / 381.9 MB, free: 20.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.325e-05/0.002805, allocations: 27.48 kB / 382 MB, free: 20.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.473e-05/0.00283, allocations: 35.48 kB / 382 MB, free: 20.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.002831, allocations: 0 / 382 MB, free: 20.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.537e-05/0.002877, allocations: 53.67 kB / 382 MB, free: 20.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.002886, allocations: 4 kB / 382 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.00289, allocations: 0 / 382 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/0.002898, allocations: 3.938 kB / 382.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.627e-05/0.002945, allocations: 19.86 kB / 382.1 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.002947, allocations: 0 / 382.1 MB, free: 20.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.438e-05/0.002962, allocations: 11.97 kB / 382.1 MB, free: 20.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.002967, allocations: 4 kB / 382.1 MB, free: 20.4 MB / 314.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.588e-05/0.003003, allocations: 152.6 kB / 382.2 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.367e-05/0.003017, allocations: 4 kB / 382.2 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.402e-05/0.003081, allocations: 53.38 kB / 382.3 MB, free: 20.18 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.003084, allocations: 7.938 kB / 382.3 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.003086, allocations: 0 / 382.3 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.003089, allocations: 0 / 382.3 MB, free: 20.17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.568e-05/0.003165, allocations: 105.2 kB / 382.4 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.003166, allocations: 4.125 kB / 382.4 MB, free: 20.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.003187, allocations: 16 kB / 382.4 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.003188, allocations: 0 / 382.4 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.003192, allocations: 0 / 382.4 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.003194, allocations: 3.984 kB / 382.4 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.003194, allocations: 0 / 382.4 MB, free: 20.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.627e-05/0.003261, allocations: 203.9 kB / 382.6 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-06/0.003265, allocations: 0 / 382.6 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-06/0.003273, allocations: 0 / 382.6 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.443e-05/0.003297, allocations: 4 kB / 382.6 MB, free: 19.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.003321, allocations: 7.984 kB / 382.6 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.003324, allocations: 3.938 kB / 382.6 MB, free: 19.79 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.483e-05/0.003339, allocations: 123.2 kB / 382.8 MB, free: 19.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003339, allocations: 7.938 kB / 382.8 MB, free: 19.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001524/0.003491, allocations: 4 kB / 382.8 MB, free: 19.65 MB / 314.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.83e-05/0.003569, allocations: 95.25 kB / 382.9 MB, free: 19.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.498e-05/0.003634, allocations: 27.67 kB / 382.9 MB, free: 19.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-06/0.003635, allocations: 0 / 382.9 MB, free: 19.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.584e-05/0.003651, allocations: 23.61 kB / 382.9 MB, free: 19.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.00379, allocations: 4 kB / 382.9 MB, free: 19.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001481/0.003939, allocations: 116.4 kB / 383 MB, free: 19.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.027e-05/0.003959, allocations: 63.16 kB / 383.1 MB, free: 19.26 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.708e-05/0.003976, allocations: 4 kB / 383.1 MB, free: 19.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.583e-05/0.004002, allocations: 78.12 kB / 383.2 MB, free: 19.18 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.004002, allocations: 0 / 383.2 MB, free: 19.18 MB / 314.7 MB Notification: Performance of Templates: time 0.001701/0.005703, allocations: 0.5402 MB / 383.7 MB, free: 18.64 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.895835869014263]