Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001691/0.001691, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.002105/0.002105, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.519/1.519, allocations: 230.6 MB / 258.2 MB, free: 8.262 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.2398/0.2398, allocations: 46.95 MB / 361.6 MB, free: 4.312 MB / 286.1 MB " [Timeout remaining time 180] 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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 71.88 kB / 0.4975 GB, free: 7.352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3849, allocations: 66.02 MB / 0.5619 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003636/0.3885, allocations: 1.745 MB / 0.5636 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.3904, allocations: 1.049 MB / 0.5647 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.83e-05/0.3905, allocations: 0 / 0.5647 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.3908, allocations: 47.77 kB / 0.5647 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003392/0.3912, allocations: 95.59 kB / 0.5648 GB, free: 1.469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002144/0.3914, allocations: 83.61 kB / 0.5649 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.3916, allocations: 103.7 kB / 0.565 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3917, allocations: 12 kB / 0.565 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.3918, allocations: 47.78 kB / 0.565 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.435e-05/0.3919, allocations: 31.78 kB / 0.5651 GB, free: 1.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.3919, allocations: 4 kB / 0.5651 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.392, allocations: 39.98 kB / 0.5651 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.531e-05/0.3921, allocations: 27.86 kB / 0.5651 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.711e-05/0.3922, allocations: 35.73 kB / 0.5652 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.3924, allocations: 133.8 kB / 0.5653 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3924, allocations: 0 / 0.5653 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3924, allocations: 0 / 0.5653 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.3924, allocations: 0 / 0.5653 GB, free: 0.9648 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.0006087/0.393, allocations: 353.5 kB / 0.5656 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.3931, allocations: 12.03 kB / 0.5656 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.3931, allocations: 8.891 kB / 0.5657 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.3934, allocations: 158.2 kB / 0.5658 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.3934, allocations: 8.375 kB / 0.5658 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.3934, allocations: 8.062 kB / 0.5658 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.3936, allocations: 57.67 kB / 0.5659 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3936, allocations: 0 / 0.5659 GB, free: 320 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.3936, allocations: 4 kB / 0.5659 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.3936, allocations: 4 kB / 0.5659 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.371e-05/0.3937, allocations: 15.98 kB / 0.5659 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.3941, allocations: 263.9 kB / 0.5662 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.3943, allocations: 54.56 kB / 0.5662 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.163e-05/0.3944, allocations: 24.91 kB / 0.5662 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.3944, allocations: 4 kB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.3946, allocations: 63.39 kB / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.397e-06/0.3946, allocations: 3.984 kB / 0.5663 GB, free: 15.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005808/0.3952, allocations: 181.3 kB / 0.5665 GB, free: 15.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.3952, allocations: 55.34 kB / 0.5665 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.3954, allocations: 214.7 kB / 0.5667 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.3954, allocations: 33.7 kB / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.408e-05/0.3955, allocations: 104.1 kB / 0.5669 GB, free: 15.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.204e-05/0.3956, allocations: 27.83 kB / 0.5669 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.3956, allocations: 29.66 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001781/0.3958, allocations: 326.8 kB / 0.5672 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.859e-05/0.3958, allocations: 19.98 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.98e-05/0.3959, allocations: 41.7 kB / 0.5673 GB, free: 14.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.396, allocations: 49.72 kB / 0.5673 GB, free: 14.69 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.396, allocations: 0 / 0.5673 GB, free: 14.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001942/0.3962, allocations: 113.6 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3963, allocations: 4 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3963, allocations: 0 / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3963, allocations: 4 kB / 0.5674 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.3964, allocations: 15.98 kB / 0.5675 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.3964, allocations: 7.969 kB / 0.5675 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.3964, allocations: 7.938 kB / 0.5675 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.3964, allocations: 4 kB / 0.5675 GB, free: 14.53 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 (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.0001219/0.3966, allocations: 125.8 kB / 0.5676 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.3966, allocations: 11.91 kB / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.3968, allocations: 119 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.3968, allocations: 0 / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3969, allocations: 3.938 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3969, allocations: 7.938 kB / 0.5677 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/0.3973, allocations: 362.8 kB / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3973, allocations: 0 / 0.5681 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.3974, allocations: 19.92 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.3974, allocations: 4 kB / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.3974, allocations: 3.938 kB / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3974, allocations: 0 / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3974, allocations: 0 / 0.5681 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.3976, allocations: 212.3 kB / 0.5683 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.3977, allocations: 7.953 kB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.3977, allocations: 11.92 kB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.3978, allocations: 4 kB / 0.5683 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.3978, allocations: 4.172 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.3978, allocations: 7.938 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.398, allocations: 168.2 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.398, allocations: 0 / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.3982, allocations: 16 kB / 0.5685 GB, free: 13.37 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.001728/0.3999, allocations: 463.7 kB / 0.569 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.4001, allocations: 59.89 kB / 0.569 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4001, allocations: 0 / 0.569 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.538e-05/0.4002, allocations: 27.98 kB / 0.569 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.4006, allocations: 25.67 kB / 0.5691 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.4012, allocations: 272.5 kB / 0.5693 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.4016, allocations: 0.7119 MB / 0.57 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.4016, allocations: 19.44 kB / 0.57 GB, free: 11.93 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4016, allocations: 0 / 0.57 GB, free: 11.93 MB / 414.1 MB Notification: Performance of Templates: time 0.004387/0.406, allocations: 1.98 MB / 0.572 GB, free: 9.961 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.020911405794322]