Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001703/0.001703, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 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.002076/0.002076, allocations: 213.2 kB / 24.48 MB, free: 3.84 MB / 14.72 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.568/1.568, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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.2493/0.2493, allocations: 44.93 MB / 359.6 MB, free: 6.148 MB / 286.1 MB " [Timeout remaining time 179] 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.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002398/0.002398, allocations: 70.55 kB / 0.4943 GB, free: 9.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3774, allocations: 65.47 MB / 0.5583 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003304/0.3807, allocations: 1.718 MB / 0.5599 GB, free: 5.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.3826, allocations: 0.9676 MB / 0.5609 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.519e-05/0.3827, allocations: 3.938 kB / 0.5609 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.383, allocations: 39.77 kB / 0.5609 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.3833, allocations: 95.56 kB / 0.561 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/0.3835, allocations: 79.66 kB / 0.5611 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.3837, allocations: 103.8 kB / 0.5612 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3838, allocations: 7.984 kB / 0.5612 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.85e-05/0.3839, allocations: 47.72 kB / 0.5612 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.975e-05/0.384, allocations: 27.86 kB / 0.5613 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.384, allocations: 4 kB / 0.5613 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.3842, allocations: 51.91 kB / 0.5613 GB, free: 4.453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.145e-05/0.3842, allocations: 19.92 kB / 0.5613 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.295e-05/0.3843, allocations: 23.81 kB / 0.5614 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.3845, allocations: 122.3 kB / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3845, allocations: 0 / 0.5615 GB, free: 4.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3845, allocations: 4 kB / 0.5615 GB, free: 4.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3845, allocations: 0 / 0.5615 GB, free: 4.289 MB / 398.1 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.0006019/0.3851, allocations: 339.7 kB / 0.5618 GB, free: 3.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3852, allocations: 8.031 kB / 0.5618 GB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.3852, allocations: 16.83 kB / 0.5618 GB, free: 3.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003197/0.3855, allocations: 158.2 kB / 0.562 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3855, allocations: 4.375 kB / 0.562 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.3856, allocations: 4.125 kB / 0.562 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.3857, allocations: 53.67 kB / 0.562 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.3857, allocations: 0 / 0.562 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.3858, allocations: 8 kB / 0.562 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3858, allocations: 0 / 0.562 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.853e-05/0.3858, allocations: 19.98 kB / 0.5621 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.3862, allocations: 232.5 kB / 0.5623 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.3864, allocations: 58.67 kB / 0.5623 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.718e-05/0.3865, allocations: 16.86 kB / 0.5624 GB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3865, allocations: 4 kB / 0.5624 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000165/0.3867, allocations: 75.31 kB / 0.5624 GB, free: 3.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.3867, allocations: 4 kB / 0.5624 GB, free: 3.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006058/0.3873, allocations: 181.4 kB / 0.5626 GB, free: 3.012 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.433e-05/0.3873, allocations: 59.34 kB / 0.5627 GB, free: 2.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.3875, allocations: 183.3 kB / 0.5628 GB, free: 2.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.3876, allocations: 25.7 kB / 0.5629 GB, free: 2.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.774e-05/0.3877, allocations: 112.1 kB / 0.563 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.3877, allocations: 23.8 kB / 0.563 GB, free: 2.582 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.3877, allocations: 25.7 kB / 0.563 GB, free: 2.551 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3879, allocations: 326.8 kB / 0.5633 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.285e-05/0.388, allocations: 20 kB / 0.5633 GB, free: 2.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.964e-05/0.388, allocations: 41.7 kB / 0.5634 GB, free: 2.156 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.3882, allocations: 61.64 kB / 0.5634 GB, free: 2.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3882, allocations: 0 / 0.5634 GB, free: 2.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000204/0.3884, allocations: 105.6 kB / 0.5635 GB, free: 1.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3884, allocations: 4 kB / 0.5636 GB, free: 1.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3884, allocations: 4.078 kB / 0.5636 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.3884, allocations: 0 / 0.5636 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.3885, allocations: 23.92 kB / 0.5636 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3885, allocations: 8.016 kB / 0.5636 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.3886, allocations: 4 kB / 0.5636 GB, free: 1.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.3886, allocations: 4 kB / 0.5636 GB, free: 1.934 MB / 398.1 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 0.0001285/0.3887, allocations: 129.8 kB / 0.5637 GB, free: 1.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.3887, allocations: 11.89 kB / 0.5637 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002882/0.389, allocations: 123 kB / 0.5638 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.389, allocations: 4 kB / 0.5638 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.389, allocations: 0 / 0.5638 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.389, allocations: 3.984 kB / 0.5639 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.3895, allocations: 346.9 kB / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3895, allocations: 0 / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.3896, allocations: 8 kB / 0.5642 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3896, allocations: 4 kB / 0.5642 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.577e-06/0.3896, allocations: 0 / 0.5642 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3896, allocations: 0 / 0.5642 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3896, allocations: 3.938 kB / 0.5642 GB, free: 1.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.3899, allocations: 224.4 kB / 0.5644 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.3899, allocations: 7.953 kB / 0.5644 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.3899, allocations: 4.375 kB / 0.5644 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.056e-05/0.39, allocations: 4.031 kB / 0.5644 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.39, allocations: 19.86 kB / 0.5644 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.3901, allocations: 8 kB / 0.5645 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.3902, allocations: 142 kB / 0.5646 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3902, allocations: 0 / 0.5646 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.3905, allocations: 27.94 kB / 0.5646 GB, free: 0.8008 MB / 398.1 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.001894/0.3924, allocations: 496.4 kB / 0.5651 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.3926, allocations: 59.91 kB / 0.5651 GB, free: 476 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3926, allocations: 0 / 0.5651 GB, free: 476 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.468e-05/0.3927, allocations: 31.92 kB / 0.5652 GB, free: 444 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.393, allocations: 35.66 kB / 0.5652 GB, free: 416 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005715/0.3936, allocations: 257.1 kB / 0.5655 GB, free: 120 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.3937, allocations: 92.17 kB / 0.5655 GB, free: 8 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.3938, allocations: 15.44 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3938, allocations: 4 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Templates: time 0.004343/0.3981, allocations: 1.964 MB / 0.5675 GB, free: 14.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.025721557904035]