Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.002045/0.002045, allocations: 117 kB / 19.13 MB, free: 3.922 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.002521/0.002521, allocations: 214.5 kB / 22.08 MB, free: 0.9727 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.586/1.586, allocations: 227.4 MB / 252.3 MB, free: 108 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.2377/0.2377, allocations: 46.16 MB / 351.8 MB, free: 14.32 MB / 286.1 MB " [Timeout remaining time 180] 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 75.61 kB / 490.9 MB, free: 27.74 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1178, allocations: 62.45 MB / 0.5404 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003215/0.1211, allocations: 1.739 MB / 0.5421 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.1229, allocations: 1.032 MB / 0.5431 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.783e-05/0.123, allocations: 0 / 0.5431 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003312/0.1233, allocations: 47.77 kB / 0.5432 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.1237, allocations: 107.6 kB / 0.5433 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002187/0.1239, allocations: 75.67 kB / 0.5433 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.1241, allocations: 103.7 kB / 0.5434 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1242, allocations: 15.94 kB / 0.5435 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.386e-05/0.1243, allocations: 43.83 kB / 0.5435 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.1244, allocations: 31.8 kB / 0.5435 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.1244, allocations: 4 kB / 0.5435 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1245, allocations: 43.98 kB / 0.5436 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.1246, allocations: 31.91 kB / 0.5436 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.909e-05/0.1247, allocations: 47.61 kB / 0.5437 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.125, allocations: 139.3 kB / 0.5438 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.125, allocations: 4 kB / 0.5438 GB, free: 0.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.125, allocations: 0 / 0.5438 GB, free: 0.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.125, allocations: 0 / 0.5438 GB, free: 0.707 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.000653/0.1257, allocations: 454.3 kB / 0.5442 GB, free: 220 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1257, allocations: 8.031 kB / 0.5442 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.1258, allocations: 20.83 kB / 0.5443 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.1261, allocations: 231.9 kB / 0.5445 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1262, allocations: 384 / 0.5445 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.1262, allocations: 4.375 kB / 0.5445 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1263, allocations: 57.98 kB / 0.5445 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1264, allocations: 7.922 kB / 0.5445 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.1264, allocations: 0 / 0.5445 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1264, allocations: 0 / 0.5445 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.872e-05/0.1265, allocations: 19.98 kB / 0.5446 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.1269, allocations: 308.8 kB / 0.5449 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.1271, allocations: 62.56 kB / 0.5449 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.1272, allocations: 20.84 kB / 0.5449 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.1272, allocations: 0 / 0.5449 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.1274, allocations: 71.39 kB / 0.545 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.1274, allocations: 0 / 0.545 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000547/0.1279, allocations: 185.2 kB / 0.5452 GB, free: 15.11 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.128, allocations: 55.41 kB / 0.5452 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.1283, allocations: 280.2 kB / 0.5455 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1283, allocations: 29.7 kB / 0.5455 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.907e-05/0.1284, allocations: 112.1 kB / 0.5456 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.1285, allocations: 27.73 kB / 0.5457 GB, free: 14.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-05/0.1285, allocations: 33.7 kB / 0.5457 GB, free: 14.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.1287, allocations: 326.8 kB / 0.546 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.28e-05/0.1288, allocations: 23.98 kB / 0.546 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.316e-05/0.1288, allocations: 41.64 kB / 0.5461 GB, free: 14.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.129, allocations: 57.7 kB / 0.5461 GB, free: 14.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.129, allocations: 0 / 0.5461 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001992/0.1292, allocations: 113.5 kB / 0.5462 GB, free: 13.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1292, allocations: 4 kB / 0.5462 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1292, allocations: 384 / 0.5462 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.1293, allocations: 4 kB / 0.5462 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.906e-05/0.1293, allocations: 15.98 kB / 0.5463 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1294, allocations: 0 / 0.5463 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.1294, allocations: 12 kB / 0.5463 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.1294, allocations: 0 / 0.5463 GB, free: 13.93 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.0001358/0.1296, allocations: 147.3 kB / 0.5464 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.1296, allocations: 15.84 kB / 0.5464 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.1297, allocations: 25.39 kB / 0.5464 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1297, allocations: 0 / 0.5464 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1297, allocations: 0 / 0.5464 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1297, allocations: 0 / 0.5464 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.1302, allocations: 415.4 kB / 0.5468 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1302, allocations: 0 / 0.5468 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.385e-05/0.1302, allocations: 11.98 kB / 0.5469 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1302, allocations: 4.031 kB / 0.5469 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.1303, allocations: 0 / 0.5469 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.1303, allocations: 8.125 kB / 0.5469 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1303, allocations: 0 / 0.5469 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.1305, allocations: 204.2 kB / 0.5471 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.536e-05/0.1306, allocations: 89.02 kB / 0.5471 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.1306, allocations: 11.98 kB / 0.5472 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.085e-05/0.1307, allocations: 11.88 kB / 0.5472 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.1308, allocations: 4 kB / 0.5472 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1308, allocations: 11.92 kB / 0.5472 GB, free: 12.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.131, allocations: 212.6 kB / 0.5474 GB, free: 12.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.131, allocations: 0 / 0.5474 GB, free: 12.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1313, allocations: 31.88 kB / 0.5474 GB, free: 12.65 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.001688/0.133, allocations: 453 kB / 0.5478 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001925/0.1332, allocations: 59.91 kB / 0.5479 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1332, allocations: 0 / 0.5479 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.071e-05/0.1332, allocations: 24 kB / 0.5479 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003871/0.1336, allocations: 42.64 kB / 0.548 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005671/0.1342, allocations: 341.1 kB / 0.5483 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.1346, allocations: 0.7158 MB / 0.549 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.1347, allocations: 19.44 kB / 0.549 GB, free: 11.12 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1347, allocations: 4 kB / 0.549 GB, free: 11.12 MB / 414.1 MB Notification: Performance of Templates: time 0.004524/0.1392, allocations: 2.144 MB / 0.5511 GB, free: 8.988 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.959042605943978]