Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.001207/0.001207, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001998/0.003205, 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.001007/0.001007, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001466/0.002473, 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.9368/0.9368, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1764/1.113, allocations: 52.48 MB / 238.5 MB, free: 7.621 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.1549/0.1549, allocations: 32.8 MB / 272 MB, free: 6.289 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02091/0.1758, allocations: 12.54 MB / 284.5 MB, free: 9.703 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 285.9 MB, free: 8.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.255e-05, allocations: 6.312 kB / 285.9 MB, free: 8.301 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003255/0.003278, allocations: 1.779 MB / 287.7 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.004716, allocations: 0.8804 MB / 288.6 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.508e-05/0.004801, allocations: 4 kB / 288.6 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.005093, allocations: 51.69 kB / 288.7 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.005331, allocations: 67.62 kB / 288.7 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.005699, allocations: 111.5 kB / 288.8 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.005909, allocations: 95.72 kB / 288.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.416e-05/0.006003, allocations: 12.16 kB / 288.9 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.00617, allocations: 79.77 kB / 289 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.096e-05/0.006261, allocations: 23.91 kB / 289 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.006283, allocations: 4 kB / 289 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.006392, allocations: 47.86 kB / 289.1 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.721e-05/0.006459, allocations: 27.88 kB / 289.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.006501, allocations: 15.94 kB / 289.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.006733, allocations: 99.66 kB / 289.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.58e-05/0.006749, allocations: 3.938 kB / 289.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.00675, allocations: 0 / 289.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.392e-05/0.006764, allocations: 8 kB / 289.2 MB, free: 4.98 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.0005528/0.007317, allocations: 355.7 kB / 289.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.007353, allocations: 8.031 kB / 289.6 MB, free: 4.602 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.007396, allocations: 8.938 kB / 289.6 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002099/0.007605, allocations: 165.2 kB / 289.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.007624, allocations: 384 / 289.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.007649, allocations: 4.375 kB / 289.8 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.007796, allocations: 61.77 kB / 289.8 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.007808, allocations: 3.938 kB / 289.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.007816, allocations: 0 / 289.8 MB, free: 4.328 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-06/0.007824, allocations: 11.98 kB / 289.8 MB, free: 4.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.731e-05/0.007862, allocations: 7.984 kB / 289.9 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002827/0.008144, allocations: 173.9 kB / 290 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.008266, allocations: 89.34 kB / 290.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.008294, allocations: 12.84 kB / 290.1 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.008307, allocations: 4 kB / 290.1 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.008427, allocations: 62.16 kB / 290.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.774e-06/0.008429, allocations: 0 / 290.2 MB, free: 3.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004247/0.008854, allocations: 117.5 kB / 290.3 MB, free: 3.809 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.008885, allocations: 51.41 kB / 290.4 MB, free: 3.746 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.009053, allocations: 204.6 kB / 290.6 MB, free: 3.531 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.009076, allocations: 37.69 kB / 290.6 MB, free: 3.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.122e-05/0.009117, allocations: 88.12 kB / 290.7 MB, free: 3.398 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.009154, allocations: 35.7 kB / 290.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.009194, allocations: 21.7 kB / 290.7 MB, free: 3.336 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.009297, allocations: 338.7 kB / 291.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.009323, allocations: 10.83 kB / 291.1 MB, free: 2.984 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.189e-05/0.009355, allocations: 21.7 kB / 291.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.083e-05/0.009416, allocations: 44.52 kB / 291.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.009417, allocations: 0 / 291.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001207/0.009538, allocations: 76.44 kB / 291.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.009553, allocations: 4 kB / 291.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.009558, allocations: 0 / 291.2 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.009571, allocations: 4 kB / 291.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.951e-05/0.00967, allocations: 15.98 kB / 291.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.009676, allocations: 7.938 kB / 291.2 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.009721, allocations: 4 kB / 291.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.009728, allocations: 8.031 kB / 291.3 MB, free: 2.781 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 8.103e-05/0.009809, allocations: 112.7 kB / 291.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.009832, allocations: 15.92 kB / 291.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001418/0.009974, allocations: 83.06 kB / 291.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.009976, allocations: 0 / 291.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.009978, allocations: 0 / 291.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.009981, allocations: 0 / 291.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.01028, allocations: 299.4 kB / 291.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.01029, allocations: 0 / 291.8 MB, free: 2.238 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.906e-05/0.01034, allocations: 12.41 kB / 291.8 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.897e-05/0.01035, allocations: 15.91 kB / 291.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.01036, allocations: 0 / 291.8 MB, free: 2.211 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.01037, allocations: 12 kB / 291.8 MB, free: 2.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.01037, allocations: 3.984 kB / 291.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01037, allocations: 0 / 291.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.01054, allocations: 219 kB / 292 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.01057, allocations: 0 / 292 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.01064, allocations: 8 kB / 292 MB, free: 1.953 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.01068, allocations: 3.984 kB / 292 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.01069, allocations: 4 kB / 292 MB, free: 1.945 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.328e-05/0.01078, allocations: 71.62 kB / 292.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01078, allocations: 0 / 292.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002425/0.01102, allocations: 31.88 kB / 292.1 MB, free: 1.84 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.001917/0.01294, allocations: 0.6414 MB / 292.8 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.01307, allocations: 52.8 kB / 292.8 MB, free: 1.461 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.01308, allocations: 4 kB / 292.8 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.702e-05/0.01314, allocations: 24.8 kB / 292.9 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.01348, allocations: 176.4 kB / 293 MB, free: 1.227 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006481/0.01413, allocations: 259.6 kB / 293.3 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.496e-05/0.01418, allocations: 83.52 kB / 293.4 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.017e-05/0.01423, allocations: 16.48 kB / 293.4 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.646e-05/0.01432, allocations: 67.36 kB / 293.4 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01432, allocations: 0 / 293.4 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of Templates: time 0.004971/0.01929, allocations: 2.048 MB / 295.5 MB, free: 14.75 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.8900188226252794]