Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.001406/0.001407, allocations: 117.1 kB / 19.13 MB, free: 3.941 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.001584/0.001584, allocations: 210.6 kB / 22.08 MB, free: 0.9922 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.556/1.556, allocations: 227.4 MB / 252.3 MB, free: 72 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3421/0.3421, allocations: 46.16 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 83.83 kB / 490.9 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1101, allocations: 62.45 MB / 0.5404 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003152/0.1132, allocations: 1.735 MB / 0.5421 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.115, allocations: 1.028 MB / 0.5431 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.495e-05/0.1151, allocations: 0 / 0.5431 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.1154, allocations: 39.77 kB / 0.5432 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.1157, allocations: 99.53 kB / 0.5433 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.1159, allocations: 75.73 kB / 0.5433 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1161, allocations: 107.6 kB / 0.5434 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1162, allocations: 16 kB / 0.5434 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.666e-05/0.1163, allocations: 43.78 kB / 0.5435 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.881e-05/0.1164, allocations: 35.84 kB / 0.5435 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.1165, allocations: 4 kB / 0.5435 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1166, allocations: 43.98 kB / 0.5436 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.466e-05/0.1166, allocations: 15.92 kB / 0.5436 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.1167, allocations: 35.75 kB / 0.5436 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.1169, allocations: 131.4 kB / 0.5437 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.117, allocations: 0 / 0.5437 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.117, allocations: 3.938 kB / 0.5437 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.117, allocations: 4 kB / 0.5437 GB, free: 0.7344 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.0006027/0.1176, allocations: 430.6 kB / 0.5442 GB, free: 272 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1176, allocations: 8.031 kB / 0.5442 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.1177, allocations: 8.891 kB / 0.5442 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.118, allocations: 208.1 kB / 0.5444 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.118, allocations: 4.375 kB / 0.5444 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.118, allocations: 4.375 kB / 0.5444 GB, free: 0 / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.1182, allocations: 65.92 kB / 0.5444 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1182, allocations: 4 kB / 0.5445 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1182, allocations: 3.938 kB / 0.5445 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.1182, allocations: 0 / 0.5445 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.694e-05/0.1183, allocations: 19.98 kB / 0.5445 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.1187, allocations: 292.8 kB / 0.5448 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.1189, allocations: 66.61 kB / 0.5448 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.513e-05/0.119, allocations: 20.84 kB / 0.5448 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.119, allocations: 4 kB / 0.5448 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.1192, allocations: 63.39 kB / 0.5449 GB, free: 15.39 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1192, allocations: 0 / 0.5449 GB, free: 15.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005344/0.1197, allocations: 169.4 kB / 0.5451 GB, free: 15.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.1198, allocations: 63.39 kB / 0.5451 GB, free: 15.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.12, allocations: 206.1 kB / 0.5453 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.12, allocations: 25.7 kB / 0.5453 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.1201, allocations: 108.1 kB / 0.5454 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.1201, allocations: 23.8 kB / 0.5455 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.422e-05/0.1202, allocations: 21.7 kB / 0.5455 GB, free: 14.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1203, allocations: 326.8 kB / 0.5458 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/0.1204, allocations: 23.98 kB / 0.5458 GB, free: 14.39 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-05/0.1205, allocations: 45.64 kB / 0.5459 GB, free: 14.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.1206, allocations: 53.72 kB / 0.5459 GB, free: 14.28 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1207, allocations: 384 / 0.5459 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.1209, allocations: 109.5 kB / 0.546 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1209, allocations: 4 kB / 0.546 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1209, allocations: 3.984 kB / 0.546 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1209, allocations: 4.031 kB / 0.546 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.121, allocations: 20 kB / 0.5461 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.121, allocations: 4.172 kB / 0.5461 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.1211, allocations: 4 kB / 0.5461 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.1211, allocations: 7.938 kB / 0.5461 GB, free: 14.12 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.0001137/0.1212, allocations: 131.3 kB / 0.5462 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.1212, allocations: 15.89 kB / 0.5462 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.842e-05/0.1213, allocations: 21.41 kB / 0.5462 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.1213, allocations: 0 / 0.5462 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1213, allocations: 4 kB / 0.5462 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1213, allocations: 0 / 0.5462 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004742/0.1218, allocations: 403.2 kB / 0.5466 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1218, allocations: 0 / 0.5466 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.313e-05/0.1218, allocations: 8 kB / 0.5466 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1218, allocations: 0 / 0.5466 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.1219, allocations: 4 kB / 0.5466 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1219, allocations: 7.922 kB / 0.5466 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1219, allocations: 0 / 0.5466 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.1221, allocations: 204.3 kB / 0.5468 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/0.1222, allocations: 85.06 kB / 0.5469 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.1222, allocations: 7.938 kB / 0.5469 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.972e-05/0.1223, allocations: 3.938 kB / 0.5469 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.1223, allocations: 11.98 kB / 0.5469 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1224, allocations: 4 kB / 0.5469 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.1225, allocations: 160.8 kB / 0.5471 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1225, allocations: 0 / 0.5471 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1228, allocations: 31.92 kB / 0.5471 GB, free: 12.93 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.001708/0.1245, allocations: 457.3 kB / 0.5476 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.1247, allocations: 55.92 kB / 0.5476 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1247, allocations: 0 / 0.5476 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.569e-05/0.1248, allocations: 27.98 kB / 0.5476 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.1251, allocations: 34.91 kB / 0.5477 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.1256, allocations: 288.3 kB / 0.5479 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.126, allocations: 0.708 MB / 0.5486 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.1261, allocations: 15.44 kB / 0.5487 GB, free: 11.48 MB / 414.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1261, allocations: 0 / 0.5487 GB, free: 11.48 MB / 414.1 MB Notification: Performance of Templates: time 0.004095/0.1302, allocations: 1.975 MB / 0.5506 GB, free: 9.508 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.023811563034542]