Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.001993/0.001993, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002463/0.002463, allocations: 207.2 kB / 23.73 MB, free: 4.523 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.575/1.575, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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.2506/0.2506, allocations: 46.96 MB / 360.9 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 179] 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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00216/0.00216, allocations: 68.09 kB / 0.4967 GB, free: 7.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3786, allocations: 66.04 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003367/0.382, allocations: 1.71 MB / 0.5628 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.384, allocations: 0.991 MB / 0.5638 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.728e-05/0.3841, allocations: 0 / 0.5638 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.3844, allocations: 39.78 kB / 0.5638 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004064/0.3848, allocations: 95.59 kB / 0.5639 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.3851, allocations: 83.61 kB / 0.564 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.3853, allocations: 111.7 kB / 0.5641 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.3854, allocations: 7.984 kB / 0.5641 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.886e-05/0.3855, allocations: 51.72 kB / 0.5642 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.3856, allocations: 47.83 kB / 0.5642 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.3856, allocations: 4 kB / 0.5642 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.3859, allocations: 111.9 kB / 0.5643 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.942e-05/0.3859, allocations: 23.92 kB / 0.5643 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.785e-05/0.386, allocations: 31.78 kB / 0.5644 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.3863, allocations: 173.7 kB / 0.5645 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3863, allocations: 4 kB / 0.5645 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3863, allocations: 0 / 0.5645 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3863, allocations: 3.938 kB / 0.5645 GB, free: 0.6758 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.0006214/0.3869, allocations: 361.4 kB / 0.5649 GB, free: 300 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.387, allocations: 12.03 kB / 0.5649 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.387, allocations: 12.89 kB / 0.5649 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.3873, allocations: 152 kB / 0.565 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3874, allocations: 4.375 kB / 0.5651 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.3874, allocations: 4.125 kB / 0.5651 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.3876, allocations: 97.03 kB / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3876, allocations: 0 / 0.5651 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3876, allocations: 4 kB / 0.5652 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3876, allocations: 3.984 kB / 0.5652 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.467e-05/0.3877, allocations: 23.98 kB / 0.5652 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.3881, allocations: 232.5 kB / 0.5654 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.3883, allocations: 66.55 kB / 0.5655 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.942e-05/0.3884, allocations: 24.97 kB / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.3884, allocations: 0 / 0.5655 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001877/0.3886, allocations: 75.38 kB / 0.5656 GB, free: 15.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.3886, allocations: 0 / 0.5656 GB, free: 15.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006944/0.3893, allocations: 209.3 kB / 0.5658 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.964e-05/0.3894, allocations: 81.05 kB / 0.5658 GB, free: 15.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.3896, allocations: 177.9 kB / 0.566 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3896, allocations: 29.7 kB / 0.566 GB, free: 14.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.3897, allocations: 96.12 kB / 0.5661 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.663e-05/0.3897, allocations: 35.73 kB / 0.5662 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.3898, allocations: 25.7 kB / 0.5662 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.39, allocations: 330.8 kB / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.94e-05/0.39, allocations: 27.98 kB / 0.5665 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3902, allocations: 92.12 kB / 0.5666 GB, free: 14.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.3903, allocations: 81.58 kB / 0.5667 GB, free: 14.26 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.3903, allocations: 7.969 kB / 0.5667 GB, free: 14.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002582/0.3906, allocations: 117.6 kB / 0.5668 GB, free: 14.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.3906, allocations: 4 kB / 0.5668 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3906, allocations: 0 / 0.5668 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.3906, allocations: 3.984 kB / 0.5668 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.3907, allocations: 27.92 kB / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.3907, allocations: 0 / 0.5668 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.361e-05/0.3908, allocations: 11.98 kB / 0.5669 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.3908, allocations: 3.938 kB / 0.5669 GB, free: 14.08 MB / 414.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.0001114/0.3909, allocations: 126 kB / 0.567 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.391, allocations: 19.84 kB / 0.567 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000319/0.3913, allocations: 134.2 kB / 0.5671 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3913, allocations: 4 kB / 0.5671 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3913, allocations: 0 / 0.5671 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3913, allocations: 0 / 0.5671 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.3919, allocations: 370.9 kB / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3919, allocations: 0 / 0.5675 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.279e-05/0.3919, allocations: 15.94 kB / 0.5675 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3919, allocations: 4.031 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.3919, allocations: 11.92 kB / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3919, allocations: 0 / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.392, allocations: 0 / 0.5675 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.3923, allocations: 224.3 kB / 0.5677 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.3923, allocations: 15.89 kB / 0.5677 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.3923, allocations: 3.938 kB / 0.5678 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/0.3924, allocations: 12 kB / 0.5678 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.3924, allocations: 11.92 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.3925, allocations: 4 kB / 0.5678 GB, free: 13.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.3926, allocations: 139.2 kB / 0.5679 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3926, allocations: 0 / 0.5679 GB, free: 12.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003263/0.3929, allocations: 43.88 kB / 0.568 GB, free: 12.89 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 (11): * Single equations (assignments): 9 * 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.002181/0.3951, allocations: 0.5979 MB / 0.5685 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002488/0.3954, allocations: 79.91 kB / 0.5686 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3954, allocations: 0 / 0.5686 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.675e-05/0.3955, allocations: 39.92 kB / 0.5686 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003684/0.3958, allocations: 29.44 kB / 0.5687 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000511/0.3963, allocations: 222.7 kB / 0.5689 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.3964, allocations: 89.44 kB / 0.569 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.348e-05/0.3965, allocations: 28.62 kB / 0.569 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.032e-05/0.3966, allocations: 27.36 kB / 0.569 GB, free: 11.98 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3966, allocations: 3.938 kB / 0.569 GB, free: 11.98 MB / 414.1 MB Notification: Performance of Templates: time 0.006562/0.4031, allocations: 2.708 MB / 0.5717 GB, free: 9.293 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.4970172718167305]