Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001265/0.001265, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.001395/0.001395, allocations: 215.5 kB / 24.48 MB, free: 3.957 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.499/1.499, allocations: 230.6 MB / 258.2 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.2499/0.2499, allocations: 46.96 MB / 361.6 MB, free: 4.055 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 63.91 kB / 0.4974 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3806, allocations: 66.04 MB / 0.5619 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003783/0.3844, allocations: 1.791 MB / 0.5636 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.3865, allocations: 1.038 MB / 0.5646 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.605e-05/0.3866, allocations: 0 / 0.5646 GB, free: 1.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005744/0.3872, allocations: 299.3 kB / 0.5649 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005198/0.3877, allocations: 263.2 kB / 0.5652 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002527/0.3879, allocations: 111.6 kB / 0.5653 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003801/0.3883, allocations: 263.2 kB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.822e-05/0.3884, allocations: 9.812 kB / 0.5655 GB, free: 408 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.3886, allocations: 123.6 kB / 0.5657 GB, free: 284 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.3888, allocations: 219.8 kB / 0.5659 GB, free: 64 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.3889, allocations: 8 kB / 0.5659 GB, free: 56 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.389, allocations: 47.98 kB / 0.5659 GB, free: 8 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.3892, allocations: 132.5 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.3893, allocations: 115 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004589/0.3898, allocations: 380.6 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.3898, allocations: 0 / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3898, allocations: 0 / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.3898, allocations: 4 kB / 0.5665 GB, free: 15.39 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.001103/0.3909, allocations: 0.6669 MB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3909, allocations: 12.03 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.481e-05/0.391, allocations: 48.61 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006721/0.3917, allocations: 394.5 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.3917, allocations: 384 / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.3917, allocations: 12.12 kB / 0.5676 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.3919, allocations: 87.34 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.392, allocations: 0 / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.392, allocations: 8 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.392, allocations: 0 / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.3921, allocations: 35.91 kB / 0.5677 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004026/0.3925, allocations: 302.1 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.3928, allocations: 101.2 kB / 0.5681 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3929, allocations: 45.62 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.3929, allocations: 7.938 kB / 0.5682 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002602/0.3932, allocations: 109 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.3932, allocations: 0 / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005608/0.3938, allocations: 213.2 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.3938, allocations: 77.11 kB / 0.5686 GB, free: 13.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.3951, allocations: 1.034 MB / 0.5696 GB, free: 12.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.3951, allocations: 33.64 kB / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.3953, allocations: 236.1 kB / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.3954, allocations: 31.78 kB / 0.5699 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.3954, allocations: 25.72 kB / 0.5699 GB, free: 11.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.3956, allocations: 370.8 kB / 0.5702 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.396e-05/0.3957, allocations: 28.48 kB / 0.5703 GB, free: 11.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.3958, allocations: 59.42 kB / 0.5703 GB, free: 11.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.396, allocations: 103.3 kB / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.396, allocations: 0 / 0.5704 GB, free: 11.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003318/0.3964, allocations: 181.2 kB / 0.5706 GB, free: 10.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.3964, allocations: 4 kB / 0.5706 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.3964, allocations: 3.938 kB / 0.5706 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.3964, allocations: 4 kB / 0.5706 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3965, allocations: 23.92 kB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3966, allocations: 4 kB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.3967, allocations: 15.88 kB / 0.5706 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.3967, allocations: 16.05 kB / 0.5707 GB, free: 10.92 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.0002341/0.3969, allocations: 209.8 kB / 0.5709 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.951e-05/0.397, allocations: 55.61 kB / 0.5709 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004322/0.3974, allocations: 205.8 kB / 0.5711 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.3974, allocations: 4 kB / 0.5711 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3974, allocations: 256 / 0.5711 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3974, allocations: 0 / 0.5711 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.3977, allocations: 269.2 kB / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3977, allocations: 0 / 0.5714 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-05/0.3978, allocations: 19.92 kB / 0.5714 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3978, allocations: 7.938 kB / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3978, allocations: 0 / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.3978, allocations: 4 kB / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3978, allocations: 0 / 0.5714 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.3982, allocations: 225.4 kB / 0.5716 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.3983, allocations: 71.53 kB / 0.5717 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.3984, allocations: 0 / 0.5717 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.3985, allocations: 7.984 kB / 0.5717 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.3985, allocations: 11.98 kB / 0.5717 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3985, allocations: 8 kB / 0.5717 GB, free: 9.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008935/0.3994, allocations: 0.7721 MB / 0.5725 GB, free: 9 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3994, allocations: 0 / 0.5725 GB, free: 9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.3997, allocations: 47.98 kB / 0.5725 GB, free: 8.953 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.001665/0.4014, allocations: 439.8 kB / 0.5729 GB, free: 8.703 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.4017, allocations: 79.89 kB / 0.573 GB, free: 8.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4017, allocations: 7.938 kB / 0.573 GB, free: 8.617 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.4018, allocations: 51.98 kB / 0.5731 GB, free: 8.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.4022, allocations: 71.81 kB / 0.5731 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.4036, allocations: 0.9145 MB / 0.574 GB, free: 7.547 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.4038, allocations: 237.8 kB / 0.5743 GB, free: 7.293 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.85e-05/0.4039, allocations: 39.41 kB / 0.5743 GB, free: 7.258 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4039, allocations: 0 / 0.5743 GB, free: 7.258 MB / 414.1 MB Notification: Performance of Templates: time 0.00926/0.4132, allocations: 5.217 MB / 0.5794 GB, free: 2.043 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.306616048008436]