Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001391/0.001391, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001081/0.001081, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9819/0.9819, allocations: 177.1 MB / 205.3 MB, free: 5.117 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.2475/0.2475, allocations: 34.26 MB / 296.1 MB, free: 0.6758 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.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.616e-05, allocations: 3.812 kB / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002039/0.002056, allocations: 1.688 MB / 327 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006723/0.002728, allocations: 0.5452 MB / 327.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.366e-05/0.002772, allocations: 0 / 327.5 MB, free: 5.395 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.00294, allocations: 19.8 kB / 327.6 MB, free: 5.375 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.003122, allocations: 75.62 kB / 327.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.003311, allocations: 115.5 kB / 327.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.00342, allocations: 68.41 kB / 327.8 MB, free: 5.121 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.169e-05/0.003491, allocations: 15.97 kB / 327.8 MB, free: 5.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.839e-05/0.00354, allocations: 31.92 kB / 327.9 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.528e-05/0.003585, allocations: 11.92 kB / 327.9 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.003596, allocations: 4 kB / 327.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.472e-05/0.00365, allocations: 35.97 kB / 327.9 MB, free: 5.023 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.191e-05/0.003682, allocations: 11.94 kB / 327.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.003702, allocations: 11.92 kB / 327.9 MB, free: 5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.003817, allocations: 71.69 kB / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-06/0.003818, allocations: 0 / 328 MB, free: 4.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003819, allocations: 4 kB / 328 MB, free: 4.926 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.217e-06/0.003822, allocations: 0 / 328 MB, free: 4.926 MB / 298.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.0002537/0.004076, allocations: 285.8 kB / 328.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.704e-05/0.004103, allocations: 12.03 kB / 328.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.004126, allocations: 4.938 kB / 328.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.004234, allocations: 133.7 kB / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.28e-06/0.00424, allocations: 384 / 328.4 MB, free: 4.453 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.004255, allocations: 4.375 kB / 328.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.186e-05/0.004327, allocations: 58.89 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.004335, allocations: 4.188 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.004342, allocations: 4.125 kB / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.004346, allocations: 0 / 328.5 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.004363, allocations: 7.984 kB / 328.5 MB, free: 4.367 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.00454, allocations: 159.1 kB / 328.7 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.004642, allocations: 37.39 kB / 328.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.328e-05/0.004655, allocations: 8.859 kB / 328.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.004667, allocations: 0 / 328.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.004686, allocations: 38.64 kB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.004687, allocations: 0 / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002254/0.004912, allocations: 85.92 kB / 328.8 MB, free: 4 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.004937, allocations: 59.39 kB / 328.9 MB, free: 3.93 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.416e-05/0.005011, allocations: 148.2 kB / 329 MB, free: 3.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.273e-06/0.005018, allocations: 25.7 kB / 329.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/0.005043, allocations: 92.12 kB / 329.2 MB, free: 3.645 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.005061, allocations: 19.78 kB / 329.2 MB, free: 3.625 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.005085, allocations: 17.72 kB / 329.2 MB, free: 3.602 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.005151, allocations: 326.8 kB / 329.5 MB, free: 3.273 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.428e-06/0.00516, allocations: 4 kB / 329.5 MB, free: 3.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.688e-06/0.00517, allocations: 4 kB / 329.5 MB, free: 3.266 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/0.005196, allocations: 19.67 kB / 329.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.005196, allocations: 4.125 kB / 329.5 MB, free: 3.238 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.111e-05/0.005247, allocations: 57.62 kB / 329.6 MB, free: 3.176 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.005256, allocations: 4 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.005259, allocations: 4 kB / 329.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.255e-06/0.005268, allocations: 0 / 329.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.739e-05/0.005305, allocations: 15.98 kB / 329.6 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.005308, allocations: 0 / 329.6 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.005321, allocations: 0 / 329.6 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.005326, allocations: 4 kB / 329.6 MB, free: 3.148 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 5.539e-05/0.005382, allocations: 108.7 kB / 329.7 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.005399, allocations: 11.92 kB / 329.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.472e-05/0.005474, allocations: 62.36 kB / 329.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.005475, allocations: 0 / 329.8 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.005477, allocations: 8 kB / 329.8 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.00548, allocations: 3.984 kB / 329.8 MB, free: 2.941 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.005647, allocations: 202.8 kB / 330 MB, free: 2.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.005652, allocations: 7.875 kB / 330 MB, free: 2.711 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.423e-05/0.005676, allocations: 8 kB / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-06/0.005677, allocations: 0 / 330 MB, free: 2.703 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-06/0.005682, allocations: 4 kB / 330 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.005683, allocations: 4 kB / 330 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.005683, allocations: 0 / 330 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.261e-05/0.005746, allocations: 143.5 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.005753, allocations: 12.14 kB / 330.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.004e-05/0.005763, allocations: 8 kB / 330.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.021e-05/0.005794, allocations: 8 kB / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.005814, allocations: 11.92 kB / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.005816, allocations: 0 / 330.2 MB, free: 2.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.72e-05/0.005843, allocations: 34.23 kB / 330.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005843, allocations: 3.938 kB / 330.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001208/0.005964, allocations: 12 kB / 330.3 MB, free: 2.449 MB / 298.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.0009855/0.006949, allocations: 0.5024 MB / 330.8 MB, free: 2.211 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.141e-05/0.007011, allocations: 24.84 kB / 330.8 MB, free: 2.184 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.007013, allocations: 0 / 330.8 MB, free: 2.184 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.616e-05/0.007029, allocations: 16.8 kB / 330.8 MB, free: 2.164 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.00717, allocations: 19.92 kB / 330.8 MB, free: 2.145 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002293/0.007399, allocations: 171.2 kB / 331 MB, free: 1.945 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.298e-05/0.007432, allocations: 67.34 kB / 331.1 MB, free: 1.859 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.539e-05/0.007457, allocations: 7.984 kB / 331.1 MB, free: 1.852 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.007502, allocations: 67.36 kB / 331.1 MB, free: 1.785 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.007503, allocations: 0 / 331.1 MB, free: 1.785 MB / 298.7 MB Notification: Performance of Templates: time 0.0025/0.01, allocations: 1.248 MB / 332.4 MB, free: 0.5508 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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.8133871629834175]