Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.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.001732/0.001732, allocations: 108.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.002079/0.002079, allocations: 217.3 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.645/1.645, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.252/0.252, allocations: 46.89 MB / 361.1 MB, free: 4.621 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-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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52") [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.00314/0.00314, allocations: 83.88 kB / 0.4968 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4776/0.4807, allocations: 65.98 MB / 0.5613 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.004509/0.4852, allocations: 1.751 MB / 0.563 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.4877, allocations: 1.049 MB / 0.564 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.4878, allocations: 4 kB / 0.564 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000593/0.4884, allocations: 43.77 kB / 0.5641 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004037/0.4888, allocations: 107.5 kB / 0.5642 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.4891, allocations: 79.62 kB / 0.5642 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.4893, allocations: 99.73 kB / 0.5643 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001543/0.4895, allocations: 8 kB / 0.5643 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.4896, allocations: 47.78 kB / 0.5644 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.4897, allocations: 35.77 kB / 0.5644 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.4898, allocations: 4 kB / 0.5644 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001224/0.4899, allocations: 39.98 kB / 0.5645 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.932e-05/0.49, allocations: 27.86 kB / 0.5645 GB, free: 1.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.789e-05/0.49, allocations: 43.67 kB / 0.5645 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.4903, allocations: 138.1 kB / 0.5647 GB, free: 1.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.4903, allocations: 0 / 0.5647 GB, free: 1.523 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4903, allocations: 0 / 0.5647 GB, free: 1.523 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.4903, allocations: 0 / 0.5647 GB, free: 1.523 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.0008142/0.4911, allocations: 434.6 kB / 0.5651 GB, free: 1.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4912, allocations: 8.031 kB / 0.5651 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.4912, allocations: 8.891 kB / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005298/0.4918, allocations: 228.8 kB / 0.5653 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.4918, allocations: 8.375 kB / 0.5653 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.4918, allocations: 4.375 kB / 0.5653 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.492, allocations: 57.98 kB / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.492, allocations: 0 / 0.5654 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.492, allocations: 3.984 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.492, allocations: 0 / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.093e-05/0.4921, allocations: 19.98 kB / 0.5654 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.4926, allocations: 296.8 kB / 0.5657 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.4927, allocations: 58.62 kB / 0.5657 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.747e-05/0.4928, allocations: 20.78 kB / 0.5658 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.4928, allocations: 4 kB / 0.5658 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.493, allocations: 67.39 kB / 0.5658 GB, free: 164 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.493, allocations: 0 / 0.5658 GB, free: 164 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006399/0.4936, allocations: 181.3 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.4937, allocations: 55.34 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.4939, allocations: 235 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.494, allocations: 33.7 kB / 0.5663 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.146e-05/0.4941, allocations: 108.1 kB / 0.5664 GB, free: 15.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/0.4941, allocations: 27.78 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.966e-05/0.4942, allocations: 21.72 kB / 0.5665 GB, free: 15.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.4944, allocations: 338.7 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.251e-05/0.4944, allocations: 19.98 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.16e-05/0.4945, allocations: 33.7 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.4946, allocations: 69.69 kB / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4946, allocations: 0 / 0.5669 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002069/0.4948, allocations: 101.5 kB / 0.567 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.4948, allocations: 12.03 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4948, allocations: 0 / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.4949, allocations: 0 / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.495, allocations: 15.98 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.495, allocations: 4 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.506e-05/0.495, allocations: 3.938 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.495, allocations: 4 kB / 0.567 GB, free: 14.85 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.0001429/0.4952, allocations: 133.8 kB / 0.5672 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.4952, allocations: 15.91 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.4956, allocations: 115.1 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.4956, allocations: 0 / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.4956, allocations: 4 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4956, allocations: 0 / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005508/0.4961, allocations: 399.2 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4961, allocations: 0 / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/0.4962, allocations: 11.94 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4962, allocations: 4 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.4962, allocations: 8.016 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.4962, allocations: 8.188 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4962, allocations: 0 / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003025/0.4965, allocations: 212.6 kB / 0.5679 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.463e-05/0.4966, allocations: 89.02 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.4966, allocations: 4 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.4967, allocations: 19.92 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.4967, allocations: 192 / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.4967, allocations: 4 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.4969, allocations: 188.3 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4969, allocations: 0 / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002777/0.4972, allocations: 23.94 kB / 0.5682 GB, free: 13.52 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.001904/0.4991, allocations: 456.5 kB / 0.5687 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.4993, allocations: 51.92 kB / 0.5687 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4993, allocations: 7.875 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.4994, allocations: 27.98 kB / 0.5687 GB, free: 13.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.4998, allocations: 35.22 kB / 0.5688 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006154/0.5004, allocations: 283 kB / 0.569 GB, free: 12.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004613/0.5009, allocations: 0.7119 MB / 0.5697 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.768e-05/0.5009, allocations: 17.17 kB / 0.5698 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.501, allocations: 23.42 kB / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.501, allocations: 0 / 0.5698 GB, free: 12.04 MB / 414.1 MB Notification: Performance of Templates: time 0.005688/0.5067, allocations: 1.78 MB / 0.5715 GB, free: 10.27 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.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: 5.611046091187745]