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.001914/0.001914, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.00204/0.00204, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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 1.562/1.562, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] 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.3361/0.3361, allocations: 34.27 MB / 295.3 MB, free: 0.6836 MB / 266.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.823e-06/1.823e-06, allocations: 0 / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.888e-05/3.071e-05, allocations: 6.25 kB / 377.3 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.002362/0.002393, allocations: 0.5012 MB / 377.8 MB, free: 2.488 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004021/0.002795, allocations: 99.59 kB / 377.9 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.652e-05/0.002821, allocations: 0 / 377.9 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.261e-05/0.002834, allocations: 0 / 377.9 MB, free: 2.391 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.538e-05/0.002869, allocations: 3.938 kB / 377.9 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.003098, allocations: 15.98 kB / 377.9 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.171e-05/0.003159, allocations: 7.984 kB / 377.9 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.003198, allocations: 8 kB / 377.9 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.764e-05/0.003255, allocations: 4 kB / 377.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.058e-05/0.003316, allocations: 11.92 kB / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.003334, allocations: 0 / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.003454, allocations: 31.95 kB / 378 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.003474, allocations: 4 kB / 378 MB, free: 2.305 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.003501, allocations: 7.984 kB / 378 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.00365, allocations: 27.89 kB / 378 MB, free: 2.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003652, allocations: 0 / 378 MB, free: 2.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.003653, allocations: 0 / 378 MB, free: 2.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.003657, allocations: 4 kB / 378 MB, free: 2.266 MB / 346.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.0006438/0.004301, allocations: 356.3 kB / 378.3 MB, free: 1.879 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.004347, allocations: 8.031 kB / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.004404, allocations: 8.891 kB / 378.4 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.004564, allocations: 112.5 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.004584, allocations: 4.375 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.004594, allocations: 4.375 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.004767, allocations: 57.62 kB / 378.5 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.004778, allocations: 192 / 378.5 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.004789, allocations: 384 / 378.5 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.004794, allocations: 4.375 kB / 378.5 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.136e-05/0.004865, allocations: 23.86 kB / 378.6 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.005381, allocations: 366.8 kB / 378.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.00549, allocations: 35.06 kB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.005546, allocations: 11.69 kB / 379 MB, free: 1.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.005571, allocations: 7.938 kB / 379 MB, free: 1.152 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.005614, allocations: 37.47 kB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.005616, allocations: 0 / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002814/0.005897, allocations: 61.62 kB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.005952, allocations: 51.41 kB / 379.1 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.006114, allocations: 157.9 kB / 379.3 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.00614, allocations: 25.7 kB / 379.3 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.006249, allocations: 134.8 kB / 379.4 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.006269, allocations: 11.91 kB / 379.4 MB, free: 0.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.708e-05/0.006336, allocations: 27.36 kB / 379.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003404/0.006676, allocations: 492.1 kB / 379.9 MB, free: 100 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.834e-05/0.006715, allocations: 7.938 kB / 380 MB, free: 92 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.774e-05/0.006773, allocations: 31.36 kB / 380 MB, free: 52 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.018e-05/0.006863, allocations: 35.67 kB / 380 MB, free: 8 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.006867, allocations: 8.125 kB / 380 MB, free: 0 / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001937/0.007061, allocations: 57.7 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.007082, allocations: 8 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.00709, allocations: 3.938 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.007106, allocations: 0 / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.399e-05/0.0072, allocations: 11.98 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.007206, allocations: 0 / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/0.007241, allocations: 3.938 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.007253, allocations: 4 kB / 380.1 MB, free: 15.9 MB / 362.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 0.000157/0.00741, allocations: 156.6 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.579e-05/0.007456, allocations: 15.88 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.007873, allocations: 65.27 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.007876, allocations: 0 / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.00788, allocations: 0 / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007883, allocations: 0 / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.008121, allocations: 120.6 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.008122, allocations: 0 / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.785e-05/0.00818, allocations: 4 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.008183, allocations: 0 / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.008197, allocations: 4 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.008202, allocations: 7.938 kB / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.008203, allocations: 0 / 380.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.008477, allocations: 207.9 kB / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-06/0.008484, allocations: 0 / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.008502, allocations: 4 kB / 380.7 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.905e-05/0.008591, allocations: 8.047 kB / 380.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.008633, allocations: 4 kB / 380.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.008641, allocations: 4 kB / 380.7 MB, free: 15.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.978e-05/0.00873, allocations: 123.2 kB / 380.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008731, allocations: 0 / 380.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004109/0.009141, allocations: 4 kB / 380.8 MB, free: 15.12 MB / 362.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.0001949/0.009336, allocations: 103.3 kB / 380.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.009503, allocations: 35.62 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.009505, allocations: 0 / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.041e-05/0.009565, allocations: 23.67 kB / 381 MB, free: 14.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.009929, allocations: 7.938 kB / 381 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.01031, allocations: 122.3 kB / 381.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.839e-05/0.0104, allocations: 63.34 kB / 381.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.045e-05/0.01044, allocations: 4.062 kB / 381.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.01048, allocations: 12.5 kB / 381.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01048, allocations: 0 / 381.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of Templates: time 0.0043/0.01478, allocations: 493.8 kB / 381.7 MB, free: 14.21 MB / 362.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.83274642995093]