Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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.001545/0.001545, allocations: 121.3 kB / 19.18 MB, free: 3.852 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.001687/0.001687, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.533/1.533, allocations: 230.3 MB / 255.2 MB, free: 15.36 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.2435/0.2435, allocations: 46.93 MB / 358.2 MB, free: 10.43 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6") [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: 86.05 kB / 0.4926 GB, free: 26.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.106, allocations: 66.01 MB / 0.5571 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003261/0.1092, allocations: 1.733 MB / 0.5587 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.111, allocations: 1.038 MB / 0.5598 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.989e-05/0.1111, allocations: 3.938 kB / 0.5598 GB, free: 5.715 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.1114, allocations: 51.77 kB / 0.5598 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003587/0.1118, allocations: 103.5 kB / 0.5599 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.112, allocations: 83.66 kB / 0.56 GB, free: 5.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.1122, allocations: 95.77 kB / 0.5601 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.1123, allocations: 19.92 kB / 0.5601 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1124, allocations: 47.72 kB / 0.5601 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.03e-05/0.1125, allocations: 31.84 kB / 0.5602 GB, free: 5.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.1125, allocations: 4 kB / 0.5602 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1126, allocations: 43.98 kB / 0.5602 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.771e-05/0.1127, allocations: 35.84 kB / 0.5603 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.859e-05/0.1128, allocations: 35.69 kB / 0.5603 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002652/0.113, allocations: 147.2 kB / 0.5604 GB, free: 5.027 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.113, allocations: 4 kB / 0.5604 GB, free: 5.023 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.113, allocations: 0 / 0.5604 GB, free: 5.023 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.113, allocations: 0 / 0.5604 GB, free: 5.023 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006491/0.1137, allocations: 458.4 kB / 0.5609 GB, free: 4.527 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1137, allocations: 8.031 kB / 0.5609 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.1138, allocations: 16.84 kB / 0.5609 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.1141, allocations: 227.9 kB / 0.5611 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1141, allocations: 4.375 kB / 0.5611 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.1141, allocations: 4.375 kB / 0.5611 GB, free: 4.234 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1143, allocations: 65.92 kB / 0.5612 GB, free: 4.164 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1143, allocations: 3.984 kB / 0.5612 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1143, allocations: 0 / 0.5612 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1143, allocations: 3.938 kB / 0.5612 GB, free: 4.156 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.565e-05/0.1144, allocations: 19.98 kB / 0.5612 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.1148, allocations: 300.8 kB / 0.5615 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.115, allocations: 62.61 kB / 0.5616 GB, free: 3.723 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.1151, allocations: 20.84 kB / 0.5616 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.1151, allocations: 0 / 0.5616 GB, free: 3.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.1152, allocations: 67.39 kB / 0.5616 GB, free: 3.621 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1152, allocations: 3.938 kB / 0.5616 GB, free: 3.617 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005711/0.1158, allocations: 189.2 kB / 0.5618 GB, free: 3.426 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.1158, allocations: 51.41 kB / 0.5619 GB, free: 3.363 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.1161, allocations: 280.2 kB / 0.5621 GB, free: 3.078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.1162, allocations: 25.7 kB / 0.5622 GB, free: 3.047 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.943e-05/0.1162, allocations: 120.1 kB / 0.5623 GB, free: 2.926 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.1163, allocations: 23.8 kB / 0.5623 GB, free: 2.902 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.1163, allocations: 21.72 kB / 0.5623 GB, free: 2.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1165, allocations: 334.8 kB / 0.5626 GB, free: 2.539 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-05/0.1165, allocations: 27.98 kB / 0.5627 GB, free: 2.512 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.481e-05/0.1166, allocations: 41.64 kB / 0.5627 GB, free: 2.465 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1167, allocations: 53.78 kB / 0.5628 GB, free: 2.406 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1167, allocations: 0 / 0.5628 GB, free: 2.406 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002223/0.117, allocations: 117.5 kB / 0.5629 GB, free: 2.285 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.117, allocations: 4 kB / 0.5629 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.117, allocations: 4.031 kB / 0.5629 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.117, allocations: 4 kB / 0.5629 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.613e-05/0.1171, allocations: 12 kB / 0.5629 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1171, allocations: 0 / 0.5629 GB, free: 2.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.1171, allocations: 7.984 kB / 0.5629 GB, free: 2.254 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.1171, allocations: 0 / 0.5629 GB, free: 2.254 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.0001285/0.1173, allocations: 145.7 kB / 0.563 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.1173, allocations: 12.28 kB / 0.5631 GB, free: 2.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/0.1174, allocations: 29.39 kB / 0.5631 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1174, allocations: 4 kB / 0.5631 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1174, allocations: 0 / 0.5631 GB, free: 2.055 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1174, allocations: 7.984 kB / 0.5631 GB, free: 2.047 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.1179, allocations: 411.2 kB / 0.5635 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1179, allocations: 0 / 0.5635 GB, free: 1.586 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.317e-05/0.1179, allocations: 8.188 kB / 0.5635 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1179, allocations: 0 / 0.5635 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1179, allocations: 7.922 kB / 0.5635 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.1179, allocations: 11.97 kB / 0.5635 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1179, allocations: 0 / 0.5635 GB, free: 1.559 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.1182, allocations: 208.2 kB / 0.5637 GB, free: 1.336 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.1182, allocations: 89.02 kB / 0.5638 GB, free: 1.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.1183, allocations: 4 kB / 0.5638 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.1183, allocations: 3.938 kB / 0.5638 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.1184, allocations: 15.98 kB / 0.5638 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.1184, allocations: 4 kB / 0.5638 GB, free: 1.203 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.1186, allocations: 216.6 kB / 0.564 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1186, allocations: 0 / 0.564 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1189, allocations: 27.89 kB / 0.5641 GB, free: 0.9648 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.00172/0.1206, allocations: 454.8 kB / 0.5645 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.1208, allocations: 51.92 kB / 0.5645 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1208, allocations: 0 / 0.5645 GB, free: 0.625 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.907e-05/0.1209, allocations: 32.08 kB / 0.5646 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.1212, allocations: 38.44 kB / 0.5646 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005965/0.1218, allocations: 349.2 kB / 0.5649 GB, free: 192 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.1222, allocations: 0.7186 MB / 0.5656 GB, free: 15.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.1222, allocations: 19.44 kB / 0.5657 GB, free: 15.43 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1222, allocations: 0 / 0.5657 GB, free: 15.43 MB / 430.1 MB Notification: Performance of Templates: time 0.004497/0.1267, allocations: 2.141 MB / 0.5678 GB, free: 13.29 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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: 7.699802151997574]