Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.0008213/0.0008213, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001315/0.002137, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007889/0.0007889, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001572/0.002361, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.104/1.104, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1012/1.206, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.27/0.27, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03329/0.3033, allocations: 13.1 MB / 291.3 MB, free: 7.375 MB / 282.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.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 292.7 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.946e-05, allocations: 7.078 kB / 292.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002154/0.002173, allocations: 1.809 MB / 294.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.003421, allocations: 1.021 MB / 295.5 MB, free: 3.379 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.145e-05/0.003493, allocations: 4 kB / 295.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002181/0.003711, allocations: 79.7 kB / 295.6 MB, free: 3.297 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.003912, allocations: 127.3 kB / 295.7 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.004051, allocations: 79.66 kB / 295.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.004205, allocations: 123.6 kB / 295.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.175e-05/0.004287, allocations: 11.94 kB / 296 MB, free: 2.961 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.004406, allocations: 83.86 kB / 296 MB, free: 2.879 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.004509, allocations: 51.81 kB / 296.1 MB, free: 2.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.004524, allocations: 4 kB / 296.1 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.638e-05/0.0046, allocations: 47.86 kB / 296.1 MB, free: 2.777 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.521e-05/0.004646, allocations: 23.92 kB / 296.2 MB, free: 2.754 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.333e-05/0.004679, allocations: 15.94 kB / 296.2 MB, free: 2.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.004843, allocations: 103.6 kB / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.702e-05/0.00486, allocations: 0 / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004861, allocations: 0 / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.793e-05/0.004879, allocations: 0 / 296.3 MB, free: 2.637 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.0006158/0.005495, allocations: 341 kB / 296.6 MB, free: 2.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.005525, allocations: 12.03 kB / 296.6 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.005556, allocations: 8.922 kB / 296.6 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.005713, allocations: 158 kB / 296.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.00573, allocations: 384 / 296.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.005747, allocations: 8.375 kB / 296.8 MB, free: 2.074 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.005853, allocations: 61.77 kB / 296.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.005862, allocations: 3.938 kB / 296.9 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.005869, allocations: 0 / 296.9 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.005876, allocations: 11.97 kB / 296.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.718e-05/0.005903, allocations: 8 kB / 296.9 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002041/0.006108, allocations: 169.9 kB / 297 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.585e-05/0.006203, allocations: 85.28 kB / 297.1 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.006227, allocations: 16.92 kB / 297.1 MB, free: 1.684 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.006239, allocations: 7.938 kB / 297.2 MB, free: 1.676 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.952e-05/0.006339, allocations: 62.16 kB / 297.2 MB, free: 1.602 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.22e-07/0.00634, allocations: 4 kB / 297.2 MB, free: 1.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.00028/0.00662, allocations: 105.5 kB / 297.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.00665, allocations: 55.41 kB / 297.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.006757, allocations: 193 kB / 297.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.006769, allocations: 25.7 kB / 297.6 MB, free: 1.184 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.017e-05/0.006799, allocations: 100.1 kB / 297.7 MB, free: 1.082 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.006824, allocations: 27.78 kB / 297.7 MB, free: 1.055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.006855, allocations: 25.64 kB / 297.7 MB, free: 1.023 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.015e-05/0.006925, allocations: 326.8 kB / 298.1 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.00694, allocations: 14.83 kB / 298.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-05/0.00696, allocations: 21.7 kB / 298.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.816e-05/0.006998, allocations: 40.52 kB / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.006999, allocations: 0 / 298.1 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.827e-05/0.007068, allocations: 76.44 kB / 298.2 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.007079, allocations: 4 kB / 298.2 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.007083, allocations: 7.984 kB / 298.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/0.007091, allocations: 0 / 298.2 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.446e-05/0.007156, allocations: 20 kB / 298.2 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.007159, allocations: 7.969 kB / 298.2 MB, free: 496 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.541e-05/0.007184, allocations: 3.984 kB / 298.3 MB, free: 492 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.00719, allocations: 4 kB / 298.3 MB, free: 488 kB / 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 5.774e-05/0.007248, allocations: 116.7 kB / 298.4 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.007259, allocations: 11.92 kB / 298.4 MB, free: 348 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.007363, allocations: 79.08 kB / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.007364, allocations: 0 / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.007366, allocations: 0 / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.007369, allocations: 0 / 298.5 MB, free: 264 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.007579, allocations: 303.4 kB / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.007581, allocations: 0 / 298.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.865e-05/0.00761, allocations: 12 kB / 298.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.918e-06/0.00762, allocations: 7.953 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.007621, allocations: 0 / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.007628, allocations: 8.359 kB / 298.8 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.00763, allocations: 4 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.007631, allocations: 3.938 kB / 298.8 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001012/0.007732, allocations: 223 kB / 299 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.007749, allocations: 8 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.616e-05/0.007785, allocations: 4.031 kB / 299 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.00781, allocations: 7.984 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.007821, allocations: 4 kB / 299 MB, free: 15.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.538e-05/0.007867, allocations: 61.59 kB / 299.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007867, allocations: 0 / 299.1 MB, free: 15.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001351/0.008002, allocations: 23.94 kB / 299.1 MB, free: 15.55 MB / 298.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.001468/0.00947, allocations: 0.638 MB / 299.8 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.306e-05/0.009553, allocations: 44.77 kB / 299.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.009561, allocations: 8 kB / 299.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.833e-05/0.00959, allocations: 28.92 kB / 299.8 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001706/0.00976, allocations: 47.11 kB / 299.9 MB, free: 15.14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.01017, allocations: 234.5 kB / 300.1 MB, free: 14.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.394e-05/0.01022, allocations: 75.33 kB / 300.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.352e-05/0.01025, allocations: 12.97 kB / 300.2 MB, free: 14.77 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.926e-05/0.01031, allocations: 71.3 kB / 300.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01031, allocations: 0 / 300.3 MB, free: 14.7 MB / 298.7 MB Notification: Performance of Templates: time 0.003809/0.01412, allocations: 2.05 MB / 302.3 MB, free: 12.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.9367536129429936]