Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001746/0.001746, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002144/0.002144, allocations: 209 kB / 24.48 MB, free: 3.938 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.573/1.573, allocations: 230.6 MB / 258.2 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.2506/0.2506, allocations: 44.95 MB / 359.6 MB, free: 6.047 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") [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.002445/0.002445, allocations: 75.88 kB / 0.4943 GB, free: 9.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.368, allocations: 65.48 MB / 0.5583 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003564/0.3716, allocations: 1.722 MB / 0.56 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.3735, allocations: 0.9715 MB / 0.5609 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.331e-05/0.3736, allocations: 4 kB / 0.5609 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.374, allocations: 103.7 kB / 0.561 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003897/0.3744, allocations: 135.5 kB / 0.5611 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.3746, allocations: 83.66 kB / 0.5612 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.3748, allocations: 123.7 kB / 0.5613 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.375, allocations: 15.98 kB / 0.5613 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.3751, allocations: 59.75 kB / 0.5614 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.3752, allocations: 63.75 kB / 0.5615 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.3752, allocations: 8 kB / 0.5615 GB, free: 4.031 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.3753, allocations: 63.91 kB / 0.5615 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.297e-05/0.3754, allocations: 23.92 kB / 0.5616 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.3755, allocations: 35.73 kB / 0.5616 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000273/0.3757, allocations: 153.9 kB / 0.5617 GB, free: 3.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3757, allocations: 0 / 0.5617 GB, free: 3.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3757, allocations: 0 / 0.5617 GB, free: 3.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.3758, allocations: 0 / 0.5617 GB, free: 3.766 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006391/0.3764, allocations: 393.1 kB / 0.5621 GB, free: 3.352 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.3764, allocations: 8.031 kB / 0.5621 GB, free: 3.344 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.3765, allocations: 16.84 kB / 0.5621 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002991/0.3768, allocations: 158.4 kB / 0.5623 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.3768, allocations: 4.375 kB / 0.5623 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.3768, allocations: 12.08 kB / 0.5623 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.377, allocations: 65.66 kB / 0.5624 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.377, allocations: 0 / 0.5624 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.377, allocations: 7.984 kB / 0.5624 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.377, allocations: 4 kB / 0.5624 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.813e-05/0.3771, allocations: 27.92 kB / 0.5624 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.3776, allocations: 248.5 kB / 0.5626 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.3778, allocations: 58.55 kB / 0.5627 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.57e-05/0.3779, allocations: 24.97 kB / 0.5627 GB, free: 2.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.3779, allocations: 4 kB / 0.5627 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.3781, allocations: 71.33 kB / 0.5628 GB, free: 2.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.352e-06/0.3781, allocations: 0 / 0.5628 GB, free: 2.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008271/0.3789, allocations: 253.2 kB / 0.563 GB, free: 2.316 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.3789, allocations: 51.41 kB / 0.5631 GB, free: 2.254 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.3792, allocations: 254.7 kB / 0.5633 GB, free: 1.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.3793, allocations: 33.64 kB / 0.5634 GB, free: 1.949 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.376e-05/0.3794, allocations: 112.1 kB / 0.5635 GB, free: 1.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.878e-05/0.3794, allocations: 43.69 kB / 0.5635 GB, free: 1.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.3795, allocations: 33.7 kB / 0.5635 GB, free: 1.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.3797, allocations: 330.8 kB / 0.5639 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.986e-05/0.3797, allocations: 23.98 kB / 0.5639 GB, free: 1.398 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.497e-05/0.3798, allocations: 45.7 kB / 0.5639 GB, free: 1.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.38, allocations: 81.75 kB / 0.564 GB, free: 1.262 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.38, allocations: 0 / 0.564 GB, free: 1.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002466/0.3802, allocations: 137.5 kB / 0.5641 GB, free: 1.121 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3802, allocations: 4 kB / 0.5641 GB, free: 1.117 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3802, allocations: 11.97 kB / 0.5641 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.3803, allocations: 0 / 0.5641 GB, free: 1.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.3803, allocations: 19.98 kB / 0.5642 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3803, allocations: 4 kB / 0.5642 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.3804, allocations: 7.938 kB / 0.5642 GB, free: 1.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3804, allocations: 4 kB / 0.5642 GB, free: 1.07 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 (13): * Single equations (assignments): 13 * 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.0001378/0.3805, allocations: 137.8 kB / 0.5643 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.3806, allocations: 15.91 kB / 0.5643 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000335/0.3809, allocations: 155.7 kB / 0.5645 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3809, allocations: 4 kB / 0.5645 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.3809, allocations: 4 kB / 0.5645 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.3809, allocations: 7.922 kB / 0.5645 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005737/0.3815, allocations: 395.7 kB / 0.5649 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3815, allocations: 0 / 0.5649 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.3816, allocations: 19.98 kB / 0.5649 GB, free: 288 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.136e-06/0.3816, allocations: 7.938 kB / 0.5649 GB, free: 280 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3816, allocations: 4 kB / 0.5649 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3816, allocations: 7.875 kB / 0.5649 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3816, allocations: 0 / 0.5649 GB, free: 268 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.3819, allocations: 245.2 kB / 0.5651 GB, free: 0 / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.874e-05/0.3819, allocations: 16.09 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.382, allocations: 3.75 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.85e-05/0.3821, allocations: 7.984 kB / 0.5652 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.3821, allocations: 11.98 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.3821, allocations: 4 kB / 0.5652 GB, free: 15.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.3823, allocations: 196.2 kB / 0.5654 GB, free: 15.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3823, allocations: 3.938 kB / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.3826, allocations: 39.92 kB / 0.5654 GB, free: 15.72 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 (12): * Single equations (assignments): 10 * 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.002103/0.3847, allocations: 0.5364 MB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.3849, allocations: 79.91 kB / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3849, allocations: 0 / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.299e-05/0.385, allocations: 35.92 kB / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3854, allocations: 48.56 kB / 0.5661 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000663/0.3861, allocations: 334.2 kB / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.3862, allocations: 113.3 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.385e-05/0.3862, allocations: 15.44 kB / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3862, allocations: 0 / 0.5665 GB, free: 14.76 MB / 414.1 MB Notification: Performance of Templates: time 0.004832/0.3911, allocations: 2.364 MB / 0.5688 GB, free: 12.4 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.216860716231167]