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.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.0009305/0.0009305, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001002/0.001002, allocations: 171.7 kB / 25.61 MB, free: 8.57 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.9338/0.9338, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.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.1314/0.1314, allocations: 32.81 MB / 295.4 MB, free: 15.39 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.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.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.372e-06/1.372e-06, allocations: 0 / 377.2 MB, free: 25.63 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.326e-05, allocations: 2.312 kB / 377.2 MB, free: 25.63 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001278/0.001292, allocations: 0.5089 MB / 377.7 MB, free: 25.12 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001818/0.001473, allocations: 95.67 kB / 377.8 MB, free: 25.02 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.001492, allocations: 0 / 377.8 MB, free: 25.02 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.229e-05/0.001504, allocations: 0 / 377.8 MB, free: 25.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 1.812e-05/0.001522, allocations: 0 / 377.8 MB, free: 25.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.001671, allocations: 19.91 kB / 377.9 MB, free: 25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 4.348e-05/0.001714, allocations: 11.98 kB / 377.9 MB, free: 24.99 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.048e-05/0.001745, allocations: 3.984 kB / 377.9 MB, free: 24.99 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.274e-05/0.001778, allocations: 7.938 kB / 377.9 MB, free: 24.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.001814, allocations: 15.98 kB / 377.9 MB, free: 24.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.001826, allocations: 0 / 377.9 MB, free: 24.96 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.473e-05/0.001881, allocations: 27.97 kB / 377.9 MB, free: 24.94 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.001893, allocations: 0 / 377.9 MB, free: 24.94 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.183e-05/0.001905, allocations: 7.984 kB / 377.9 MB, free: 24.93 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 6.769e-05/0.001972, allocations: 27.89 kB / 378 MB, free: 24.9 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.001975, allocations: 7.938 kB / 378 MB, free: 24.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.001975, allocations: 0 / 378 MB, free: 24.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.001978, allocations: 0 / 378 MB, free: 24.89 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.000198/0.002176, allocations: 348.4 kB / 378.3 MB, free: 24.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.848e-05/0.002205, allocations: 15.98 kB / 378.3 MB, free: 24.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.084e-05/0.002225, allocations: 5.281 kB / 378.3 MB, free: 24.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.379e-05/0.002269, allocations: 120.4 kB / 378.4 MB, free: 24.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.002277, allocations: 8.375 kB / 378.5 MB, free: 24.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-06/0.002282, allocations: 384 / 378.5 MB, free: 24.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.824e-05/0.002351, allocations: 66.33 kB / 378.5 MB, free: 24.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-06/0.002356, allocations: 192 / 378.5 MB, free: 24.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.002362, allocations: 4.375 kB / 378.5 MB, free: 24.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.002366, allocations: 384 / 378.5 MB, free: 24.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.585e-05/0.002382, allocations: 19.86 kB / 378.5 MB, free: 24.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001374/0.002519, allocations: 351.4 kB / 378.9 MB, free: 23.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.768e-05/0.002547, allocations: 31.06 kB / 378.9 MB, free: 23.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.002564, allocations: 15.67 kB / 378.9 MB, free: 23.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.002574, allocations: 0 / 378.9 MB, free: 23.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.002588, allocations: 41.31 kB / 379 MB, free: 23.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.002588, allocations: 4 kB / 379 MB, free: 23.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 9.875e-05/0.002687, allocations: 49.72 kB / 379 MB, free: 23.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/0.002705, allocations: 55.41 kB / 379.1 MB, free: 23.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.415e-05/0.002739, allocations: 153.9 kB / 379.2 MB, free: 23.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-06/0.002743, allocations: 29.83 kB / 379.3 MB, free: 23.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.343e-05/0.002767, allocations: 134.8 kB / 379.4 MB, free: 23.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-06/0.002773, allocations: 11.91 kB / 379.4 MB, free: 23.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.356e-05/0.002796, allocations: 23.36 kB / 379.4 MB, free: 23.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.546e-05/0.002832, allocations: 496.1 kB / 379.9 MB, free: 22.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.847e-06/0.002841, allocations: 4 kB / 379.9 MB, free: 22.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.546e-05/0.002856, allocations: 27.31 kB / 379.9 MB, free: 22.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.002882, allocations: 35.36 kB / 380 MB, free: 22.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.002884, allocations: 0 / 380 MB, free: 22.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 4.639e-05/0.00293, allocations: 57.62 kB / 380 MB, free: 22.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.117e-06/0.002939, allocations: 7.938 kB / 380 MB, free: 22.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.002943, allocations: 0 / 380 MB, free: 22.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.233e-06/0.00295, allocations: 3.938 kB / 380 MB, free: 22.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.225e-05/0.002993, allocations: 8 kB / 380.1 MB, free: 22.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.002995, allocations: 0 / 380.1 MB, free: 22.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.389e-05/0.003009, allocations: 7.938 kB / 380.1 MB, free: 22.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.003014, allocations: 0 / 380.1 MB, free: 22.57 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.826e-05/0.003052, allocations: 164.6 kB / 380.2 MB, free: 22.4 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.003067, allocations: 3.984 kB / 380.2 MB, free: 22.4 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.279e-05/0.00313, allocations: 61.34 kB / 380.3 MB, free: 22.33 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.003132, allocations: 7.938 kB / 380.3 MB, free: 22.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.003133, allocations: 0 / 380.3 MB, free: 22.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.003136, allocations: 0 / 380.3 MB, free: 22.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.725e-05/0.003203, allocations: 97.22 kB / 380.4 MB, free: 22.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.92e-07/0.003204, allocations: 0 / 380.4 MB, free: 22.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.003223, allocations: 15.98 kB / 380.4 MB, free: 22.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.003224, allocations: 0 / 380.4 MB, free: 22.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-06/0.003228, allocations: 0 / 380.4 MB, free: 22.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.003228, allocations: 0 / 380.4 MB, free: 22.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.003229, allocations: 0 / 380.4 MB, free: 22.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.411e-05/0.003283, allocations: 208 kB / 380.6 MB, free: 21.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-06/0.003288, allocations: 0 / 380.6 MB, free: 21.96 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-06/0.003296, allocations: 4.062 kB / 380.6 MB, free: 21.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.43e-05/0.00332, allocations: 0 / 380.6 MB, free: 21.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.003339, allocations: 8 kB / 380.6 MB, free: 21.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.003342, allocations: 7.922 kB / 380.6 MB, free: 21.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.243e-05/0.003355, allocations: 123.2 kB / 380.7 MB, free: 21.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.003355, allocations: 0 / 380.7 MB, free: 21.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001507/0.003505, allocations: 4 kB / 380.7 MB, free: 21.82 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 6.294e-05/0.003568, allocations: 103.3 kB / 380.8 MB, free: 21.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 5.495e-05/0.003623, allocations: 31.61 kB / 380.9 MB, free: 21.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.003624, allocations: 0 / 380.9 MB, free: 21.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.003639, allocations: 19.69 kB / 380.9 MB, free: 21.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.003772, allocations: 0 / 380.9 MB, free: 21.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001325/0.003905, allocations: 116.1 kB / 381 MB, free: 21.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.857e-05/0.003923, allocations: 67.14 kB / 381.1 MB, free: 21.42 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 1.673e-05/0.00394, allocations: 8.062 kB / 381.1 MB, free: 21.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.003964, allocations: 70.2 kB / 381.2 MB, free: 21.34 MB / 314.7 MB Notification: Performance of SimCode: time 3.7e-07/0.003964, allocations: 0 / 381.2 MB, free: 21.34 MB / 314.7 MB Notification: Performance of Templates: time 0.001638/0.005602, allocations: 0.5369 MB / 381.7 MB, free: 20.82 MB / 314.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8213209458626807]