Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.001695/0.001695, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.00205/0.00205, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.569/1.569, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.2311/0.2311, allocations: 44.91 MB / 359.6 MB, free: 6.32 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.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55") [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.002084/0.002084, allocations: 71.89 kB / 0.4944 GB, free: 10.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3695, allocations: 65.46 MB / 0.5583 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.00337/0.3728, allocations: 1.751 MB / 0.56 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.3757, allocations: 1.739 MB / 0.5617 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.13e-05/0.3758, allocations: 3.938 kB / 0.5617 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002885/0.3761, allocations: 43.77 kB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.3764, allocations: 95.55 kB / 0.5619 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002259/0.3766, allocations: 79.67 kB / 0.5619 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.3768, allocations: 103.7 kB / 0.562 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.748e-05/0.3769, allocations: 12 kB / 0.562 GB, free: 3.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.377, allocations: 47.78 kB / 0.5621 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.3772, allocations: 47.77 kB / 0.5621 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.3772, allocations: 4 kB / 0.5621 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.3774, allocations: 115.9 kB / 0.5622 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.3775, allocations: 15.88 kB / 0.5623 GB, free: 3.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.458e-05/0.3775, allocations: 43.72 kB / 0.5623 GB, free: 3.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.3778, allocations: 169.8 kB / 0.5625 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3779, allocations: 0 / 0.5625 GB, free: 3.465 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3779, allocations: 0 / 0.5625 GB, free: 3.465 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.012e-06/0.3779, allocations: 0 / 0.5625 GB, free: 3.465 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.0006048/0.3785, allocations: 349.5 kB / 0.5628 GB, free: 3.094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3785, allocations: 12.03 kB / 0.5628 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.3786, allocations: 16.84 kB / 0.5628 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003278/0.3789, allocations: 156.3 kB / 0.563 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.3789, allocations: 7.938 kB / 0.563 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.3789, allocations: 7.938 kB / 0.563 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.3791, allocations: 67.39 kB / 0.5631 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3791, allocations: 0 / 0.5631 GB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.3791, allocations: 4 kB / 0.5631 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3791, allocations: 0 / 0.5631 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.418e-05/0.3792, allocations: 15.98 kB / 0.5631 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.3797, allocations: 271.9 kB / 0.5633 GB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.3799, allocations: 50.69 kB / 0.5634 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.547e-05/0.3799, allocations: 20.84 kB / 0.5634 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3799, allocations: 0 / 0.5634 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.3801, allocations: 71.33 kB / 0.5635 GB, free: 2.305 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.3801, allocations: 0 / 0.5635 GB, free: 2.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006058/0.3807, allocations: 173.3 kB / 0.5636 GB, free: 2.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.3808, allocations: 89.05 kB / 0.5637 GB, free: 2.023 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.381, allocations: 162.1 kB / 0.5639 GB, free: 1.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.381, allocations: 29.7 kB / 0.5639 GB, free: 1.82 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.897e-05/0.3811, allocations: 100.1 kB / 0.564 GB, free: 1.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.3811, allocations: 27.75 kB / 0.564 GB, free: 1.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.56e-05/0.3812, allocations: 21.7 kB / 0.564 GB, free: 1.664 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3813, allocations: 322.8 kB / 0.5644 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.012e-05/0.3814, allocations: 20 kB / 0.5644 GB, free: 1.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.16e-05/0.3814, allocations: 50.5 kB / 0.5644 GB, free: 1.262 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3816, allocations: 65.62 kB / 0.5645 GB, free: 1.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3816, allocations: 0 / 0.5645 GB, free: 1.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001948/0.3818, allocations: 93.62 kB / 0.5646 GB, free: 1.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3818, allocations: 8 kB / 0.5646 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3818, allocations: 0 / 0.5646 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3818, allocations: 4.062 kB / 0.5646 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.971e-05/0.3819, allocations: 15.94 kB / 0.5646 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.3819, allocations: 7.938 kB / 0.5646 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.382, allocations: 8.359 kB / 0.5646 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.382, allocations: 4 kB / 0.5646 GB, free: 1.047 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.0001132/0.3821, allocations: 117.8 kB / 0.5647 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.5e-05/0.3821, allocations: 7.953 kB / 0.5647 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.3824, allocations: 118.5 kB / 0.5649 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3824, allocations: 11.98 kB / 0.5649 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3824, allocations: 7.875 kB / 0.5649 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3824, allocations: 0 / 0.5649 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.3829, allocations: 370.3 kB / 0.5652 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3829, allocations: 0 / 0.5652 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.3829, allocations: 11.94 kB / 0.5652 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3829, allocations: 0 / 0.5652 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3829, allocations: 3.984 kB / 0.5652 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/0.3829, allocations: 8.031 kB / 0.5652 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3829, allocations: 0 / 0.5652 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.3832, allocations: 204.3 kB / 0.5654 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.3832, allocations: 15.89 kB / 0.5655 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.3832, allocations: 0 / 0.5655 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.3833, allocations: 7.984 kB / 0.5655 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.3834, allocations: 4 kB / 0.5655 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.3834, allocations: 7.984 kB / 0.5655 GB, free: 80 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.3835, allocations: 127.2 kB / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3835, allocations: 0 / 0.5656 GB, free: 15.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000315/0.3838, allocations: 47.86 kB / 0.5656 GB, free: 15.91 MB / 414.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 (8): * Single equations (assignments): 6 * 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.002055/0.3859, allocations: 0.5451 MB / 0.5662 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.3861, allocations: 63.91 kB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3861, allocations: 0 / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.663e-05/0.3862, allocations: 27.92 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3865, allocations: 27.92 kB / 0.5663 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005341/0.3871, allocations: 236.6 kB / 0.5665 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.3874, allocations: 0.6963 MB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.094e-05/0.3875, allocations: 23.42 kB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3875, allocations: 0 / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of Templates: time 0.004833/0.3923, allocations: 2.415 MB / 0.5696 GB, free: 12.04 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.114572333870456]