Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.001325/0.001325, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001522/0.001522, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2263/0.2263, allocations: 44.93 MB / 358.8 MB, free: 6.066 MB / 286.1 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.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") [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.002178/0.002178, allocations: 67.91 kB / 0.4936 GB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3807, allocations: 65.48 MB / 0.5575 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003574/0.3842, allocations: 1.737 MB / 0.5592 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.3861, allocations: 0.9793 MB / 0.5602 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.851e-05/0.3862, allocations: 0 / 0.5602 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004253/0.3866, allocations: 111.6 kB / 0.5603 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.387, allocations: 131.5 kB / 0.5604 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.3872, allocations: 83.67 kB / 0.5605 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000277/0.3875, allocations: 131.7 kB / 0.5606 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3876, allocations: 17.58 kB / 0.5606 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3877, allocations: 63.77 kB / 0.5607 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.3879, allocations: 83.66 kB / 0.5608 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.3879, allocations: 4 kB / 0.5608 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001403/0.388, allocations: 63.97 kB / 0.5608 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.031e-05/0.3881, allocations: 39.84 kB / 0.5609 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.285e-05/0.3882, allocations: 35.73 kB / 0.5609 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.3884, allocations: 165.7 kB / 0.5611 GB, free: 3.797 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3885, allocations: 0 / 0.5611 GB, free: 3.797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3885, allocations: 0 / 0.5611 GB, free: 3.797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3885, allocations: 0 / 0.5611 GB, free: 3.797 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006489/0.3891, allocations: 401.2 kB / 0.5615 GB, free: 3.375 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3892, allocations: 8.031 kB / 0.5615 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.3892, allocations: 16.84 kB / 0.5615 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.3895, allocations: 163.3 kB / 0.5616 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.3895, allocations: 4.375 kB / 0.5616 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.3896, allocations: 8.125 kB / 0.5616 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.3897, allocations: 77.59 kB / 0.5617 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3898, allocations: 3.953 kB / 0.5617 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3898, allocations: 7.938 kB / 0.5617 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3898, allocations: 4 kB / 0.5617 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.3899, allocations: 43.95 kB / 0.5618 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004395/0.3903, allocations: 268.4 kB / 0.562 GB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.3906, allocations: 78.48 kB / 0.5621 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.3907, allocations: 25 kB / 0.5621 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.3907, allocations: 3.984 kB / 0.5621 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.3909, allocations: 79.38 kB / 0.5622 GB, free: 2.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.522e-06/0.3909, allocations: 7.938 kB / 0.5622 GB, free: 2.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009213/0.3918, allocations: 317.1 kB / 0.5625 GB, free: 2.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.3919, allocations: 63.33 kB / 0.5626 GB, free: 2.113 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.3922, allocations: 263.7 kB / 0.5628 GB, free: 1.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.3922, allocations: 33.7 kB / 0.5629 GB, free: 1.805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.982e-05/0.3923, allocations: 112.1 kB / 0.563 GB, free: 1.691 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.293e-05/0.3923, allocations: 47.64 kB / 0.563 GB, free: 1.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.3924, allocations: 33.7 kB / 0.5631 GB, free: 1.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3926, allocations: 326.8 kB / 0.5634 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.255e-05/0.3927, allocations: 43.97 kB / 0.5634 GB, free: 1.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.3928, allocations: 57.64 kB / 0.5635 GB, free: 1.172 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.393, allocations: 113.6 kB / 0.5636 GB, free: 1.059 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.393, allocations: 3.938 kB / 0.5636 GB, free: 1.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002859/0.3932, allocations: 169.5 kB / 0.5637 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.3933, allocations: 4 kB / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3933, allocations: 0 / 0.5637 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3933, allocations: 4 kB / 0.5637 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.3934, allocations: 27.98 kB / 0.5638 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.577e-06/0.3934, allocations: 3.938 kB / 0.5638 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.3934, allocations: 4 kB / 0.5638 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.3935, allocations: 12.03 kB / 0.5638 GB, free: 0.8281 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 (16): * Single equations (assignments): 16 * 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.0001318/0.3936, allocations: 140.4 kB / 0.5639 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.3936, allocations: 27.84 kB / 0.5639 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.394, allocations: 191.9 kB / 0.5641 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.394, allocations: 0 / 0.5641 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.394, allocations: 3.938 kB / 0.5641 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.394, allocations: 0 / 0.5641 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006667/0.3947, allocations: 471.7 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3947, allocations: 4.062 kB / 0.5646 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.446e-05/0.3948, allocations: 23.98 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3948, allocations: 0 / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3948, allocations: 4 kB / 0.5646 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3948, allocations: 3.938 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3948, allocations: 7.938 kB / 0.5646 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00035/0.3951, allocations: 273.1 kB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.3952, allocations: 23.84 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.3952, allocations: 0 / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.104e-05/0.3953, allocations: 8 kB / 0.5649 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.3953, allocations: 15.97 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.3953, allocations: 19.92 kB / 0.565 GB, free: 15.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.3955, allocations: 197.5 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3955, allocations: 0 / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002786/0.3958, allocations: 39.72 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002079/0.3979, allocations: 0.5484 MB / 0.5657 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.3982, allocations: 103.9 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3982, allocations: 4.062 kB / 0.5658 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.3983, allocations: 51.92 kB / 0.5659 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.3986, allocations: 45.64 kB / 0.5659 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006077/0.3993, allocations: 340.7 kB / 0.5662 GB, free: 14.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.3994, allocations: 115.2 kB / 0.5663 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.145e-05/0.3994, allocations: 33.47 kB / 0.5664 GB, free: 14.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.3995, allocations: 23.44 kB / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3995, allocations: 0 / 0.5664 GB, free: 14.27 MB / 414.1 MB Notification: Performance of Templates: time 0.006021/0.4055, allocations: 2.421 MB / 0.5688 GB, free: 11.88 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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: 5.168722074478865]