Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 218 kB / 25.13 MB, free: 3.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 230.4 MB / 258.7 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2269/0.2269, allocations: 46.93 MB / 362 MB, free: 4.234 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002338/0.002338, allocations: 83.84 kB / 0.4979 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.359, allocations: 66.08 MB / 0.5624 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003354/0.3624, allocations: 1.741 MB / 0.5641 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.3642, allocations: 1.037 MB / 0.5651 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.3643, allocations: 0 / 0.5651 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.3646, allocations: 47.7 kB / 0.5652 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003517/0.365, allocations: 103.5 kB / 0.5653 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.3652, allocations: 71.75 kB / 0.5653 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.3654, allocations: 115.6 kB / 0.5654 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.3655, allocations: 4 kB / 0.5654 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.3656, allocations: 43.78 kB / 0.5655 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.609e-05/0.3657, allocations: 39.78 kB / 0.5655 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.3657, allocations: 4 kB / 0.5655 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.3658, allocations: 39.98 kB / 0.5656 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.526e-05/0.3659, allocations: 23.84 kB / 0.5656 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.366, allocations: 35.73 kB / 0.5656 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.3662, allocations: 130 kB / 0.5657 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3662, allocations: 0 / 0.5657 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3662, allocations: 0 / 0.5657 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.3662, allocations: 0 / 0.5657 GB, free: 0.8008 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.0005721/0.3668, allocations: 329.6 kB / 0.5661 GB, free: 460 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.3668, allocations: 16.02 kB / 0.5661 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.685e-05/0.3669, allocations: 12.84 kB / 0.5661 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.3671, allocations: 159.1 kB / 0.5662 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3672, allocations: 8.359 kB / 0.5662 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.3672, allocations: 4.375 kB / 0.5662 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3673, allocations: 57.98 kB / 0.5663 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3673, allocations: 0 / 0.5663 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.3674, allocations: 0 / 0.5663 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3674, allocations: 0 / 0.5663 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.498e-05/0.3674, allocations: 23.98 kB / 0.5663 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.3679, allocations: 252 kB / 0.5666 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.3681, allocations: 62.61 kB / 0.5666 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.3681, allocations: 20.86 kB / 0.5666 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.3681, allocations: 0 / 0.5666 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.3683, allocations: 67.38 kB / 0.5667 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3683, allocations: 0 / 0.5667 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005903/0.3689, allocations: 185.3 kB / 0.5669 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.369, allocations: 51.41 kB / 0.5669 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002029/0.3692, allocations: 179.3 kB / 0.5671 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.3692, allocations: 29.7 kB / 0.5671 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.716e-05/0.3693, allocations: 104.1 kB / 0.5672 GB, free: 15.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.3693, allocations: 23.8 kB / 0.5673 GB, free: 15.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.3693, allocations: 25.7 kB / 0.5673 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3695, allocations: 330.8 kB / 0.5676 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.426e-05/0.3695, allocations: 16 kB / 0.5676 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.386e-05/0.3696, allocations: 41.64 kB / 0.5676 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.3697, allocations: 65.75 kB / 0.5677 GB, free: 14.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3697, allocations: 0 / 0.5677 GB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002015/0.3699, allocations: 105.5 kB / 0.5678 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.37, allocations: 10.38 kB / 0.5678 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.37, allocations: 0 / 0.5678 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.37, allocations: 0 / 0.5678 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.537e-05/0.3701, allocations: 20 kB / 0.5678 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3701, allocations: 3.938 kB / 0.5678 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.3701, allocations: 3.984 kB / 0.5678 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.3701, allocations: 4 kB / 0.5679 GB, free: 14.44 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.0001112/0.3703, allocations: 125.8 kB / 0.568 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.3703, allocations: 15.89 kB / 0.568 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.3705, allocations: 119 kB / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3705, allocations: 0 / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3705, allocations: 0 / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-06/0.3705, allocations: 3.938 kB / 0.5681 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004979/0.371, allocations: 366.4 kB / 0.5685 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.371, allocations: 0 / 0.5685 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.3711, allocations: 15.94 kB / 0.5685 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3711, allocations: 0 / 0.5685 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.3711, allocations: 8.031 kB / 0.5685 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3711, allocations: 4.312 kB / 0.5685 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3711, allocations: 0 / 0.5685 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.3714, allocations: 204.3 kB / 0.5687 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.3714, allocations: 19.89 kB / 0.5687 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.3714, allocations: 0 / 0.5687 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.3715, allocations: 11.94 kB / 0.5687 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.3715, allocations: 11.92 kB / 0.5687 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.3715, allocations: 4 kB / 0.5687 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001313/0.3717, allocations: 137.6 kB / 0.5689 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3717, allocations: 0 / 0.5689 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.3719, allocations: 23.98 kB / 0.5689 GB, free: 13.29 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.001673/0.3736, allocations: 460.5 kB / 0.5693 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.3738, allocations: 59.91 kB / 0.5694 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3738, allocations: 4 kB / 0.5694 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.656e-05/0.3739, allocations: 16 kB / 0.5694 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.3742, allocations: 31.97 kB / 0.5694 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004605/0.3747, allocations: 227.3 kB / 0.5696 GB, free: 12.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.375, allocations: 0.7002 MB / 0.5703 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.249e-05/0.3751, allocations: 17.22 kB / 0.5703 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.3751, allocations: 19.44 kB / 0.5704 GB, free: 11.88 MB / 414.1 MB Notification: Performance of SimCode: time 7.22e-07/0.3751, allocations: 0 / 0.5704 GB, free: 11.88 MB / 414.1 MB Notification: Performance of Templates: time 0.005296/0.3804, allocations: 1.778 MB / 0.5721 GB, free: 10.12 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test17.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: 4.986227951012552]