Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.00215/0.00215, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.002457/0.002457, allocations: 208 kB / 23.74 MB, free: 4.539 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.678/1.678, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2678/0.2678, allocations: 46.93 MB / 360.8 MB, free: 4.371 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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00256/0.00256, allocations: 71.88 kB / 0.4967 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3906, allocations: 66.03 MB / 0.5612 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.003369/0.394, allocations: 1.745 MB / 0.5629 GB, free: 2.652 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.396, allocations: 1.049 MB / 0.5639 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.3961, allocations: 7.875 kB / 0.5639 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00046/0.3966, allocations: 47.77 kB / 0.564 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004195/0.397, allocations: 99.53 kB / 0.5641 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.3973, allocations: 83.66 kB / 0.5641 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.3975, allocations: 103.7 kB / 0.5642 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.3977, allocations: 7.984 kB / 0.5643 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001375/0.3978, allocations: 51.72 kB / 0.5643 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.3979, allocations: 31.84 kB / 0.5643 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.3979, allocations: 4 kB / 0.5643 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.398, allocations: 39.98 kB / 0.5644 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.3981, allocations: 27.91 kB / 0.5644 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.999e-05/0.3982, allocations: 39.62 kB / 0.5644 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003258/0.3985, allocations: 141.8 kB / 0.5646 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.3985, allocations: 0 / 0.5646 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3986, allocations: 0 / 0.5646 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.3986, allocations: 0 / 0.5646 GB, free: 0.9297 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.0008917/0.3995, allocations: 361.4 kB / 0.5649 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/0.3995, allocations: 8.031 kB / 0.5649 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.3996, allocations: 8.891 kB / 0.5649 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004536/0.4, allocations: 163.1 kB / 0.5651 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.4001, allocations: 4.375 kB / 0.5651 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.4001, allocations: 12.11 kB / 0.5651 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.4003, allocations: 61.55 kB / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.4003, allocations: 0 / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.4004, allocations: 0 / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4004, allocations: 0 / 0.5652 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.854e-05/0.4005, allocations: 19.98 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.4011, allocations: 263.9 kB / 0.5654 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.4013, allocations: 58.55 kB / 0.5655 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.4014, allocations: 16.92 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.4014, allocations: 4 kB / 0.5655 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.4016, allocations: 63.39 kB / 0.5656 GB, free: 15.78 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.4016, allocations: 4 kB / 0.5656 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007456/0.4024, allocations: 189.6 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.4024, allocations: 51.41 kB / 0.5658 GB, free: 15.52 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.4027, allocations: 231 kB / 0.566 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.4028, allocations: 37.69 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.028e-05/0.4029, allocations: 108.1 kB / 0.5662 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.4029, allocations: 23.84 kB / 0.5662 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.4029, allocations: 25.72 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4031, allocations: 334.8 kB / 0.5665 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.081e-05/0.4032, allocations: 20.06 kB / 0.5666 GB, free: 14.72 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.928e-05/0.4033, allocations: 45.58 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.4034, allocations: 53.7 kB / 0.5666 GB, free: 14.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4034, allocations: 4 kB / 0.5667 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002051/0.4036, allocations: 105.5 kB / 0.5668 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.4036, allocations: 12 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.078e-06/0.4036, allocations: 3.984 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.4036, allocations: 0 / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.4037, allocations: 12 kB / 0.5668 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.4037, allocations: 4 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.4038, allocations: 3.938 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.4038, allocations: 4 kB / 0.5668 GB, free: 14.46 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.0001391/0.4039, allocations: 133.8 kB / 0.5669 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.404, allocations: 19.91 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/0.4042, allocations: 123.1 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.4043, allocations: 0 / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.4043, allocations: 4 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.4043, allocations: 11.86 kB / 0.5671 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.4048, allocations: 362.4 kB / 0.5674 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4048, allocations: 0 / 0.5674 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.389e-05/0.4049, allocations: 8 kB / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.4049, allocations: 8.031 kB / 0.5674 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.4049, allocations: 15.86 kB / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4049, allocations: 0 / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4049, allocations: 0 / 0.5674 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.4052, allocations: 200.3 kB / 0.5676 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.52e-05/0.4052, allocations: 15.91 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.4053, allocations: 3.938 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.4053, allocations: 11.98 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.4054, allocations: 0 / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.4054, allocations: 8 kB / 0.5677 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.4056, allocations: 175.2 kB / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4056, allocations: 0 / 0.5678 GB, free: 13.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.4059, allocations: 23.98 kB / 0.5679 GB, free: 13.26 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.002122/0.408, allocations: 475.3 kB / 0.5683 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.4082, allocations: 51.97 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4082, allocations: 0 / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.017e-05/0.4083, allocations: 27.92 kB / 0.5684 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.4087, allocations: 45.59 kB / 0.5684 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.4093, allocations: 263.2 kB / 0.5687 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.4097, allocations: 0.708 MB / 0.5694 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.513e-05/0.4098, allocations: 12.97 kB / 0.5694 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.4098, allocations: 31.36 kB / 0.5694 GB, free: 11.79 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4098, allocations: 0 / 0.5694 GB, free: 11.79 MB / 414.1 MB Notification: Performance of Templates: time 0.00544/0.4152, allocations: 1.779 MB / 0.5712 GB, free: 10.03 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test51.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.597397161880508]