Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001332/0.001332, 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.001643/0.001643, allocations: 209.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.523/1.523, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2352/0.2352, allocations: 46.97 MB / 360.9 MB, free: 4.023 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 71.84 kB / 0.4966 GB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3995, allocations: 66.03 MB / 0.5611 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003323/0.4028, allocations: 1.787 MB / 0.5629 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002066/0.4049, allocations: 1.042 MB / 0.5639 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.405, allocations: 4 kB / 0.5639 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005881/0.4056, allocations: 315.2 kB / 0.5642 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000535/0.4061, allocations: 255.2 kB / 0.5644 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.4064, allocations: 107.7 kB / 0.5645 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003869/0.4068, allocations: 263.3 kB / 0.5648 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.757e-05/0.4069, allocations: 5.812 kB / 0.5648 GB, free: 352 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.4071, allocations: 139.5 kB / 0.5649 GB, free: 212 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.4074, allocations: 223.4 kB / 0.5651 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.4074, allocations: 8 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.4075, allocations: 47.98 kB / 0.5652 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.4077, allocations: 143.5 kB / 0.5653 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001362/0.4078, allocations: 115.1 kB / 0.5654 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.4083, allocations: 384.6 kB / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4083, allocations: 0 / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4083, allocations: 0 / 0.5658 GB, free: 15.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.4083, allocations: 0 / 0.5658 GB, free: 15.31 MB / 414.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.00111/0.4094, allocations: 0.6824 MB / 0.5665 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4095, allocations: 16.03 kB / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.763e-05/0.4095, allocations: 48.61 kB / 0.5665 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006471/0.4102, allocations: 390.5 kB / 0.5669 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.4102, allocations: 8.359 kB / 0.5669 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.4102, allocations: 8.125 kB / 0.5669 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.4105, allocations: 95.27 kB / 0.567 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4105, allocations: 0 / 0.567 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.4105, allocations: 4 kB / 0.567 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.4105, allocations: 0 / 0.567 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.4106, allocations: 35.97 kB / 0.5671 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.411, allocations: 310.1 kB / 0.5674 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.4113, allocations: 113.1 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.4114, allocations: 37.7 kB / 0.5675 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.4114, allocations: 0 / 0.5675 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.4117, allocations: 116.9 kB / 0.5676 GB, free: 13.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.4117, allocations: 7.938 kB / 0.5676 GB, free: 13.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005584/0.4123, allocations: 205.2 kB / 0.5678 GB, free: 13.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.4123, allocations: 81.09 kB / 0.5679 GB, free: 13.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.4135, allocations: 1.058 MB / 0.5689 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.4136, allocations: 33.69 kB / 0.569 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.4138, allocations: 236.1 kB / 0.5692 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.4138, allocations: 31.73 kB / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.4139, allocations: 33.7 kB / 0.5692 GB, free: 11.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.4141, allocations: 362.8 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.4142, allocations: 43.98 kB / 0.5696 GB, free: 11.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.4143, allocations: 59.28 kB / 0.5697 GB, free: 11.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002026/0.4145, allocations: 87.86 kB / 0.5698 GB, free: 11.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.4145, allocations: 7.984 kB / 0.5698 GB, free: 11.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003603/0.4149, allocations: 185.1 kB / 0.57 GB, free: 10.83 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4149, allocations: 4 kB / 0.57 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4149, allocations: 64 / 0.57 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.4149, allocations: 8 kB / 0.57 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.4151, allocations: 19.98 kB / 0.57 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4151, allocations: 4 kB / 0.57 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.4152, allocations: 15.92 kB / 0.57 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.4152, allocations: 7.984 kB / 0.57 GB, free: 10.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002461/0.4155, allocations: 225.7 kB / 0.5702 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.666e-05/0.4155, allocations: 59.56 kB / 0.5703 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004555/0.416, allocations: 201.8 kB / 0.5705 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.416, allocations: 4 kB / 0.5705 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.416, allocations: 4 kB / 0.5705 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.416, allocations: 0 / 0.5705 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.4163, allocations: 265.2 kB / 0.5707 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4163, allocations: 0 / 0.5707 GB, free: 9.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.923e-05/0.4164, allocations: 12 kB / 0.5707 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.4164, allocations: 3.938 kB / 0.5708 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.4164, allocations: 11.98 kB / 0.5708 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.4164, allocations: 4.188 kB / 0.5708 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4164, allocations: 0 / 0.5708 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.4168, allocations: 225.5 kB / 0.571 GB, free: 9.707 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.417, allocations: 71.53 kB / 0.5711 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.445e-05/0.417, allocations: 8 kB / 0.5711 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.111e-05/0.4171, allocations: 4 kB / 0.5711 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/0.4172, allocations: 11.98 kB / 0.5711 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.4172, allocations: 7.984 kB / 0.5711 GB, free: 9.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009179/0.4181, allocations: 0.7878 MB / 0.5719 GB, free: 8.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4181, allocations: 0 / 0.5719 GB, free: 8.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.4184, allocations: 47.94 kB / 0.5719 GB, free: 8.773 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001664/0.4201, allocations: 437.5 kB / 0.5723 GB, free: 8.523 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002972/0.4204, allocations: 87.89 kB / 0.5724 GB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4204, allocations: 4 kB / 0.5724 GB, free: 8.434 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.4205, allocations: 47.89 kB / 0.5724 GB, free: 8.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.4209, allocations: 70.97 kB / 0.5725 GB, free: 8.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.4223, allocations: 0.905 MB / 0.5734 GB, free: 7.387 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.4226, allocations: 245.7 kB / 0.5736 GB, free: 7.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000125/0.4227, allocations: 62.92 kB / 0.5737 GB, free: 7.066 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.4228, allocations: 27.44 kB / 0.5737 GB, free: 7.043 MB / 414.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4228, allocations: 0 / 0.5737 GB, free: 7.043 MB / 414.1 MB Notification: Performance of Templates: time 0.009794/0.4326, allocations: 4.4 MB / 0.578 GB, free: 2.688 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.389828893356025]