Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.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.001356/0.001356, allocations: 110.4 kB / 21.17 MB, free: 0.7852 MB / 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.002164/0.002164, allocations: 220.1 kB / 24.47 MB, free: 4.359 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.485/1.485, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2254/0.2254, allocations: 46.89 MB / 361.1 MB, free: 4.738 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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8") [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.002343/0.002343, allocations: 80.2 kB / 0.4969 GB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2999, allocations: 65.97 MB / 0.5613 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003246/0.3032, allocations: 1.779 MB / 0.563 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.305, allocations: 1.053 MB / 0.5641 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.829e-05/0.305, allocations: 0 / 0.5641 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.3054, allocations: 111.7 kB / 0.5642 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00034/0.3057, allocations: 127.5 kB / 0.5643 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.3059, allocations: 79.66 kB / 0.5644 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002106/0.3062, allocations: 135.6 kB / 0.5645 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.893e-05/0.3063, allocations: 15.98 kB / 0.5645 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001108/0.3064, allocations: 55.77 kB / 0.5646 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.3065, allocations: 71.8 kB / 0.5646 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3065, allocations: 4 kB / 0.5646 GB, free: 1.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.3066, allocations: 67.95 kB / 0.5647 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.806e-05/0.3067, allocations: 35.8 kB / 0.5647 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.965e-05/0.3067, allocations: 39.69 kB / 0.5648 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.307, allocations: 158 kB / 0.5649 GB, free: 1.297 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.307, allocations: 3.984 kB / 0.5649 GB, free: 1.293 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.307, allocations: 0 / 0.5649 GB, free: 1.293 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.307, allocations: 4 kB / 0.5649 GB, free: 1.289 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006412/0.3076, allocations: 466.3 kB / 0.5654 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.3077, allocations: 8.031 kB / 0.5654 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.3077, allocations: 24.83 kB / 0.5654 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.3081, allocations: 229 kB / 0.5656 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3081, allocations: 384 / 0.5656 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.3081, allocations: 4.375 kB / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.3083, allocations: 73.97 kB / 0.5657 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3083, allocations: 0 / 0.5657 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3083, allocations: 0 / 0.5657 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3083, allocations: 3.938 kB / 0.5657 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.653e-05/0.3084, allocations: 31.97 kB / 0.5657 GB, free: 380 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/0.3088, allocations: 324.7 kB / 0.566 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003053/0.3091, allocations: 74.66 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.24e-05/0.3092, allocations: 24.84 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.3092, allocations: 4.062 kB / 0.5661 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.3094, allocations: 75.33 kB / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.3094, allocations: 0 / 0.5662 GB, free: 15.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008397/0.3102, allocations: 285 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.3103, allocations: 55.39 kB / 0.5665 GB, free: 15.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.3105, allocations: 255.8 kB / 0.5668 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.3106, allocations: 33.7 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.3107, allocations: 108.1 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.3107, allocations: 47.67 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/0.3107, allocations: 29.66 kB / 0.567 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.3109, allocations: 338.8 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.209e-05/0.311, allocations: 31.98 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.219e-05/0.3111, allocations: 45.7 kB / 0.5674 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001684/0.3113, allocations: 85.7 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3113, allocations: 8 kB / 0.5675 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002702/0.3115, allocations: 145.5 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3116, allocations: 10.34 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.3116, allocations: 0 / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3116, allocations: 0 / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.465e-05/0.3117, allocations: 23.98 kB / 0.5676 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.3117, allocations: 0 / 0.5676 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.235e-05/0.3117, allocations: 11.89 kB / 0.5677 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3117, allocations: 11.94 kB / 0.5677 GB, free: 14.24 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 (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.0001316/0.3119, allocations: 137.9 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.3119, allocations: 11.91 kB / 0.5678 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.3122, allocations: 163.7 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.3122, allocations: 7.984 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3122, allocations: 0 / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3123, allocations: 3.938 kB / 0.568 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006248/0.3129, allocations: 480 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3129, allocations: 0 / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.623e-05/0.3129, allocations: 15.94 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.3129, allocations: 7.938 kB / 0.5685 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.313, allocations: 3.984 kB / 0.5685 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.313, allocations: 4 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.313, allocations: 0 / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.3133, allocations: 245.2 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/0.3133, allocations: 96.94 kB / 0.5688 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.3134, allocations: 11.94 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.212e-05/0.3135, allocations: 4 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.3135, allocations: 11.92 kB / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.3135, allocations: 8 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.3137, allocations: 193.5 kB / 0.569 GB, free: 12.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3137, allocations: 4 kB / 0.569 GB, free: 12.74 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.314, allocations: 31.92 kB / 0.569 GB, free: 12.71 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001895/0.3159, allocations: 0.4968 MB / 0.5695 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.3162, allocations: 91.77 kB / 0.5696 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3162, allocations: 0 / 0.5696 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.3163, allocations: 43.92 kB / 0.5697 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.3166, allocations: 46.83 kB / 0.5697 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006324/0.3173, allocations: 324.5 kB / 0.57 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.3176, allocations: 0.7162 MB / 0.5707 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.024e-05/0.3177, allocations: 29.06 kB / 0.5707 GB, free: 11.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.266e-05/0.3178, allocations: 27.42 kB / 0.5708 GB, free: 11.08 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3178, allocations: 0 / 0.5708 GB, free: 11.08 MB / 414.1 MB Notification: Performance of Templates: time 0.005808/0.3236, allocations: 2.143 MB / 0.5729 GB, free: 8.949 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test8.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.882196238730103]