Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.00185/0.00185, 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.002255/0.002255, allocations: 213.3 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.44/1.44, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.2451/0.2451, allocations: 46.96 MB / 361.6 MB, free: 4.012 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.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.89 kB / 0.4974 GB, free: 7.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3874, allocations: 66.03 MB / 0.5619 GB, free: 4.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.005544/0.3929, allocations: 1.937 MB / 0.5638 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.3961, allocations: 1.135 MB / 0.5649 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001925/0.3963, allocations: 3.938 kB / 0.5649 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.3973, allocations: 199.4 kB / 0.5651 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007983/0.3981, allocations: 215.2 kB / 0.5653 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.3988, allocations: 163.5 kB / 0.5654 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005842/0.3994, allocations: 271.2 kB / 0.5657 GB, free: 216 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.3996, allocations: 16.59 kB / 0.5657 GB, free: 196 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.3999, allocations: 111.6 kB / 0.5658 GB, free: 84 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003081/0.4002, allocations: 123.6 kB / 0.5659 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 5.47e-05/0.4002, allocations: 15.98 kB / 0.5659 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.4005, allocations: 59.84 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.4006, allocations: 63.75 kB / 0.5661 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.4007, allocations: 63.55 kB / 0.5661 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005228/0.4013, allocations: 249.3 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.4013, allocations: 0 / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4013, allocations: 3.938 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.622e-05/0.4013, allocations: 0 / 0.5664 GB, free: 15.52 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001406/0.4027, allocations: 0.4944 MB / 0.5668 GB, free: 14.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.4027, allocations: 8.031 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.4029, allocations: 24.8 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005746/0.4034, allocations: 226.6 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.4035, allocations: 8.312 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.987e-05/0.4035, allocations: 8.125 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.4038, allocations: 95.36 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4038, allocations: 0 / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.4039, allocations: 4 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.4039, allocations: 4 kB / 0.5672 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.4041, allocations: 39.97 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009054/0.405, allocations: 325.1 kB / 0.5675 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/0.4055, allocations: 121.2 kB / 0.5677 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.4056, allocations: 49.62 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.4056, allocations: 4 kB / 0.5677 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003019/0.4059, allocations: 113.1 kB / 0.5678 GB, free: 13.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.4059, allocations: 0 / 0.5678 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.000684/0.4066, allocations: 197.9 kB / 0.568 GB, free: 13.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.166e-05/0.4067, allocations: 77.11 kB / 0.5681 GB, free: 13.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006598/0.4073, allocations: 368.4 kB / 0.5684 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/0.4074, allocations: 25.7 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.4076, allocations: 140.1 kB / 0.5686 GB, free: 13.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.4076, allocations: 27.75 kB / 0.5686 GB, free: 13.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.538e-05/0.4077, allocations: 33.7 kB / 0.5687 GB, free: 12.97 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.4079, allocations: 342.8 kB / 0.569 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.408, allocations: 35.98 kB / 0.569 GB, free: 12.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.4082, allocations: 100.9 kB / 0.5691 GB, free: 12.47 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.4085, allocations: 103.4 kB / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.4085, allocations: 0 / 0.5692 GB, free: 12.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004165/0.4089, allocations: 153.4 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.4089, allocations: 4 kB / 0.5694 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.409, allocations: 7.984 kB / 0.5694 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.409, allocations: 0 / 0.5694 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.4091, allocations: 27.92 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.4091, allocations: 8.062 kB / 0.5694 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.4093, allocations: 7.953 kB / 0.5694 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.4093, allocations: 7.984 kB / 0.5694 GB, free: 12.14 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0002085/0.4095, allocations: 165.7 kB / 0.5696 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.4096, allocations: 28 kB / 0.5696 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/0.4101, allocations: 179.5 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4101, allocations: 0 / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4101, allocations: 0 / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.4101, allocations: 7.922 kB / 0.5698 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.4104, allocations: 189.2 kB / 0.57 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.4104, allocations: 4 kB / 0.57 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.799e-05/0.4104, allocations: 11.94 kB / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.4104, allocations: 0 / 0.57 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.4104, allocations: 7.984 kB / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4105, allocations: 0 / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.4105, allocations: 0 / 0.57 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004561/0.4109, allocations: 205.7 kB / 0.5702 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.411, allocations: 19.86 kB / 0.5702 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.411, allocations: 4 kB / 0.5702 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.4111, allocations: 11.98 kB / 0.5702 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.4112, allocations: 15.92 kB / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.4112, allocations: 8 kB / 0.5702 GB, free: 11.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003851/0.4116, allocations: 263 kB / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4116, allocations: 0 / 0.5705 GB, free: 10.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000406/0.412, allocations: 43.92 kB / 0.5705 GB, free: 10.93 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.00202/0.414, allocations: 453.6 kB / 0.571 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003855/0.4144, allocations: 103.8 kB / 0.5711 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.4144, allocations: 0 / 0.5711 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.4146, allocations: 51.91 kB / 0.5711 GB, free: 10.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005447/0.4151, allocations: 59.48 kB / 0.5712 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.4162, allocations: 434 kB / 0.5716 GB, free: 9.992 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.4164, allocations: 145 kB / 0.5717 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.4165, allocations: 19.44 kB / 0.5717 GB, free: 9.82 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4165, allocations: 0 / 0.5717 GB, free: 9.82 MB / 414.1 MB Notification: Performance of Templates: time 0.008924/0.4254, allocations: 3.433 MB / 0.5751 GB, free: 6.395 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test83.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.319911300990498]