Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001046/0.001046, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001753/0.002798, 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.0009968/0.0009968, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001586/0.002583, 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.9049/0.9049, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1512/1.056, allocations: 52.48 MB / 238.5 MB, free: 7.629 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.1519/0.1519, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0237/0.1756, allocations: 12.54 MB / 284.5 MB, free: 9.715 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.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 285.9 MB, free: 8.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.656e-05, allocations: 5.266 kB / 285.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.00283/0.002857, allocations: 1.792 MB / 287.7 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.004304, allocations: 0.8765 MB / 288.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.004393, allocations: 0 / 288.6 MB, free: 5.637 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.004643, allocations: 87.62 kB / 288.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.004817, allocations: 87.53 kB / 288.8 MB, free: 5.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.005087, allocations: 111.5 kB / 288.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002281/0.005315, allocations: 111.6 kB / 289 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.005434, allocations: 4.234 kB / 289 MB, free: 5.238 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.005604, allocations: 91.75 kB / 289.1 MB, free: 5.148 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.005735, allocations: 51.88 kB / 289.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.005761, allocations: 4 kB / 289.1 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.005882, allocations: 43.92 kB / 289.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.076e-05/0.005953, allocations: 23.92 kB / 289.2 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.053e-05/0.005994, allocations: 11.94 kB / 289.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.006178, allocations: 99.59 kB / 289.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.554e-05/0.006193, allocations: 0 / 289.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.006194, allocations: 0 / 289.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.006206, allocations: 0 / 289.3 MB, free: 4.918 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005133/0.006719, allocations: 335.8 kB / 289.6 MB, free: 4.566 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.006751, allocations: 8.031 kB / 289.7 MB, free: 4.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.006785, allocations: 12.88 kB / 289.7 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.006946, allocations: 153.5 kB / 289.8 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.006961, allocations: 384 / 289.8 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.006982, allocations: 4.375 kB / 289.8 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.007089, allocations: 65.75 kB / 289.9 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.0071, allocations: 3.938 kB / 289.9 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.007107, allocations: 0 / 289.9 MB, free: 4.289 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.007113, allocations: 4 kB / 289.9 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.33e-05/0.007137, allocations: 7.984 kB / 289.9 MB, free: 4.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000216/0.007353, allocations: 174 kB / 290.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/0.007451, allocations: 89.23 kB / 290.2 MB, free: 3.992 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.097e-05/0.007472, allocations: 16.83 kB / 290.2 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.007485, allocations: 4 kB / 290.2 MB, free: 3.969 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/0.007587, allocations: 62.16 kB / 290.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.007588, allocations: 0 / 290.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003157/0.007904, allocations: 117.5 kB / 290.4 MB, free: 3.773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.007934, allocations: 51.41 kB / 290.4 MB, free: 3.711 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.008042, allocations: 181 kB / 290.6 MB, free: 3.52 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.008061, allocations: 33.7 kB / 290.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.008098, allocations: 96.11 kB / 290.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.008124, allocations: 27.77 kB / 290.7 MB, free: 3.355 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.008151, allocations: 17.72 kB / 290.8 MB, free: 3.332 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.616e-05/0.008238, allocations: 326.8 kB / 291.1 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.662e-05/0.008254, allocations: 14.81 kB / 291.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.469e-05/0.008279, allocations: 21.72 kB / 291.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.88e-05/0.008358, allocations: 44.5 kB / 291.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.008359, allocations: 0 / 291.2 MB, free: 2.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.322e-05/0.008442, allocations: 80.44 kB / 291.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.008455, allocations: 4 kB / 291.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.00846, allocations: 0 / 291.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.008474, allocations: 4 kB / 291.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.008547, allocations: 15.94 kB / 291.3 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.008552, allocations: 4 kB / 291.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.594e-05/0.008588, allocations: 7.984 kB / 291.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.008594, allocations: 4 kB / 291.3 MB, free: 2.785 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.34e-05/0.008667, allocations: 108.7 kB / 291.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.008685, allocations: 19.92 kB / 291.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.008799, allocations: 75.11 kB / 291.5 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.008803, allocations: 4 kB / 291.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.008806, allocations: 0 / 291.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.008811, allocations: 0 / 291.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.009061, allocations: 299.4 kB / 291.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.009064, allocations: 4 kB / 291.8 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.009094, allocations: 8.375 kB / 291.8 MB, free: 2.234 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.071e-05/0.009105, allocations: 7.953 kB / 291.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.009107, allocations: 0 / 291.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.009118, allocations: 19.95 kB / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.009121, allocations: 0 / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.009122, allocations: 0 / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.009252, allocations: 219 kB / 292 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.009268, allocations: 4 kB / 292 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.584e-05/0.009304, allocations: 0 / 292 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.009338, allocations: 11.98 kB / 292 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.00935, allocations: 4 kB / 292 MB, free: 1.953 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.106e-05/0.009401, allocations: 55.89 kB / 292.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009401, allocations: 0 / 292.1 MB, free: 1.895 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001584/0.00956, allocations: 31.92 kB / 292.1 MB, free: 1.863 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001455/0.01101, allocations: 0.6355 MB / 292.8 MB, free: 1.547 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001004/0.01112, allocations: 48.77 kB / 292.8 MB, free: 1.496 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.01112, allocations: 4 kB / 292.8 MB, free: 1.492 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.001e-05/0.01116, allocations: 36.94 kB / 292.8 MB, free: 1.453 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.0114, allocations: 185.3 kB / 293 MB, free: 1.246 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.01182, allocations: 235 kB / 293.3 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.112e-05/0.01186, allocations: 71.34 kB / 293.3 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.333e-05/0.01189, allocations: 16.67 kB / 293.3 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.33e-05/0.01195, allocations: 67.36 kB / 293.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.01195, allocations: 0 / 293.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of Templates: time 0.003408/0.01536, allocations: 2.027 MB / 295.4 MB, free: 14.82 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.8637456940487027]