Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001562/0.001562, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001532/0.001532, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.2396/0.2396, allocations: 46.93 MB / 361.6 MB, free: 4.254 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.91 kB / 0.4974 GB, free: 7.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.38, allocations: 66.03 MB / 0.5619 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003586/0.3836, allocations: 1.846 MB / 0.5637 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.3857, allocations: 1.116 MB / 0.5648 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.237e-05/0.3858, allocations: 3.938 kB / 0.5648 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.3864, allocations: 311.3 kB / 0.5651 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005141/0.3869, allocations: 259.2 kB / 0.5654 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.3871, allocations: 107.6 kB / 0.5655 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.3875, allocations: 267.2 kB / 0.5657 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.026e-05/0.3876, allocations: 9.797 kB / 0.5657 GB, free: 460 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002187/0.3878, allocations: 147.4 kB / 0.5659 GB, free: 312 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.3881, allocations: 215.5 kB / 0.5661 GB, free: 96 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.3881, allocations: 4 kB / 0.5661 GB, free: 92 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.3882, allocations: 51.98 kB / 0.5661 GB, free: 40 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.3884, allocations: 143.6 kB / 0.5663 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.3885, allocations: 154.7 kB / 0.5664 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000474/0.389, allocations: 376.6 kB / 0.5668 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.389, allocations: 0 / 0.5668 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.389, allocations: 0 / 0.5668 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.389, allocations: 0 / 0.5668 GB, free: 15.38 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.001082/0.3901, allocations: 0.6863 MB / 0.5674 GB, free: 14.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3901, allocations: 8.031 kB / 0.5674 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.5e-05/0.3902, allocations: 60.55 kB / 0.5675 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000691/0.3909, allocations: 398.5 kB / 0.5679 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.3909, allocations: 4.375 kB / 0.5679 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.391, allocations: 8.125 kB / 0.5679 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.3912, allocations: 87.31 kB / 0.568 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.3912, allocations: 3.984 kB / 0.568 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3912, allocations: 3.984 kB / 0.568 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3912, allocations: 4 kB / 0.568 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.3913, allocations: 31.98 kB / 0.568 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.3918, allocations: 353.4 kB / 0.5684 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.392, allocations: 97.17 kB / 0.5685 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.701e-05/0.3921, allocations: 45.64 kB / 0.5685 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.3922, allocations: 3.984 kB / 0.5685 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.3924, allocations: 109 kB / 0.5686 GB, free: 13.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.3924, allocations: 0 / 0.5686 GB, free: 13.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005011/0.3929, allocations: 205.2 kB / 0.5688 GB, free: 13.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.3929, allocations: 77.11 kB / 0.5689 GB, free: 13.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.3942, allocations: 1.05 MB / 0.5699 GB, free: 11.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.3942, allocations: 25.7 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.3944, allocations: 240.1 kB / 0.5702 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.164e-05/0.3945, allocations: 31.73 kB / 0.5702 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-05/0.3945, allocations: 29.7 kB / 0.5702 GB, free: 11.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.3947, allocations: 374.8 kB / 0.5706 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.78e-05/0.3948, allocations: 31.98 kB / 0.5706 GB, free: 11.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/0.3949, allocations: 55.36 kB / 0.5707 GB, free: 11.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001942/0.3951, allocations: 95.84 kB / 0.5707 GB, free: 11.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3951, allocations: 4 kB / 0.5707 GB, free: 11.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003249/0.3954, allocations: 173.1 kB / 0.5709 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3955, allocations: 7.984 kB / 0.5709 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3955, allocations: 4 kB / 0.5709 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3955, allocations: 0 / 0.5709 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3956, allocations: 24 kB / 0.5709 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3956, allocations: 7.922 kB / 0.571 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.053e-05/0.3957, allocations: 12 kB / 0.571 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.3957, allocations: 4 kB / 0.571 GB, free: 10.83 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.0002414/0.396, allocations: 233.6 kB / 0.5712 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.396, allocations: 55.62 kB / 0.5712 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000392/0.3964, allocations: 193.8 kB / 0.5714 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3964, allocations: 4 kB / 0.5714 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3964, allocations: 0 / 0.5714 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3964, allocations: 0 / 0.5714 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000352/0.3968, allocations: 328.5 kB / 0.5717 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3968, allocations: 0 / 0.5717 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.3968, allocations: 12.23 kB / 0.5718 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3968, allocations: 4 kB / 0.5718 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.3968, allocations: 8 kB / 0.5718 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.3969, allocations: 0 / 0.5718 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3969, allocations: 4 kB / 0.5718 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.3972, allocations: 225.4 kB / 0.572 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001273/0.3973, allocations: 67.53 kB / 0.5721 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.219e-05/0.3974, allocations: 4 kB / 0.5721 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.3975, allocations: 8 kB / 0.5721 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.3975, allocations: 11.97 kB / 0.5721 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.3975, allocations: 7.984 kB / 0.5721 GB, free: 9.605 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008924/0.3984, allocations: 0.7839 MB / 0.5729 GB, free: 8.824 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3984, allocations: 0 / 0.5729 GB, free: 8.824 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.3987, allocations: 44 kB / 0.5729 GB, free: 8.781 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.001566/0.4002, allocations: 407.1 kB / 0.5733 GB, free: 8.535 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.4005, allocations: 83.83 kB / 0.5734 GB, free: 8.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4005, allocations: 4 kB / 0.5734 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.4006, allocations: 31.98 kB / 0.5734 GB, free: 8.418 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000443/0.4011, allocations: 80 kB / 0.5735 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.4024, allocations: 0.9458 MB / 0.5744 GB, free: 7.359 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/0.403, allocations: 0.8428 MB / 0.5752 GB, free: 6.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.117e-05/0.4031, allocations: 31.44 kB / 0.5752 GB, free: 6.465 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4031, allocations: 4 kB / 0.5753 GB, free: 6.461 MB / 414.1 MB Notification: Performance of Templates: time 0.008924/0.412, allocations: 5.232 MB / 0.5804 GB, free: 1.234 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.258976633893326]