Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.001614/0.001613, allocations: 114 kB / 19.12 MB, free: 3.945 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.001867/0.001866, allocations: 212.9 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.542/1.542, allocations: 227.4 MB / 252.3 MB, free: 96 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.2669/0.2669, allocations: 46.16 MB / 351.8 MB, free: 14.28 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00228/0.00228, allocations: 79.61 kB / 490.9 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1234, allocations: 62.44 MB / 0.5404 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003932/0.1274, allocations: 1.838 MB / 0.5422 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.1296, allocations: 1.095 MB / 0.5433 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1297, allocations: 4 kB / 0.5433 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000641/0.1304, allocations: 307.3 kB / 0.5436 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005138/0.1309, allocations: 255.2 kB / 0.5438 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.1312, allocations: 107.6 kB / 0.5439 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.1315, allocations: 263.3 kB / 0.5442 GB, free: 320 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.642e-05/0.1316, allocations: 21.66 kB / 0.5442 GB, free: 296 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.1318, allocations: 131.5 kB / 0.5443 GB, free: 164 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000275/0.1321, allocations: 199.6 kB / 0.5445 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.1321, allocations: 8 kB / 0.5445 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.1322, allocations: 47.92 kB / 0.5445 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.1324, allocations: 131.6 kB / 0.5447 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.1326, allocations: 150.8 kB / 0.5448 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005194/0.1331, allocations: 378.1 kB / 0.5452 GB, free: 15.26 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1331, allocations: 0 / 0.5452 GB, free: 15.26 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.1331, allocations: 4 kB / 0.5452 GB, free: 15.26 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1331, allocations: 0 / 0.5452 GB, free: 15.26 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001203/0.1344, allocations: 0.7693 MB / 0.5459 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1344, allocations: 8.031 kB / 0.5459 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.866e-05/0.1345, allocations: 52.61 kB / 0.546 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008109/0.1353, allocations: 452.4 kB / 0.5464 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.1354, allocations: 384 / 0.5464 GB, free: 13.9 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.099e-05/0.1354, allocations: 8.375 kB / 0.5464 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.1356, allocations: 91.61 kB / 0.5465 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1356, allocations: 0 / 0.5465 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1357, allocations: 4 kB / 0.5465 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.1357, allocations: 4 kB / 0.5465 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.1358, allocations: 27.97 kB / 0.5466 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.1363, allocations: 386.3 kB / 0.5469 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/0.1367, allocations: 109.2 kB / 0.547 GB, free: 13.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.1368, allocations: 41.69 kB / 0.5471 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1368, allocations: 0 / 0.5471 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.1371, allocations: 120.9 kB / 0.5472 GB, free: 13.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.1371, allocations: 0 / 0.5472 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005126/0.1376, allocations: 197.7 kB / 0.5474 GB, free: 12.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.1377, allocations: 85.03 kB / 0.5475 GB, free: 12.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.1389, allocations: 1.054 MB / 0.5485 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1389, allocations: 29.7 kB / 0.5485 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.1391, allocations: 236.1 kB / 0.5487 GB, free: 11.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.1392, allocations: 31.73 kB / 0.5488 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/0.1392, allocations: 25.72 kB / 0.5488 GB, free: 11.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002206/0.1394, allocations: 374.8 kB / 0.5491 GB, free: 10.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.865e-05/0.1395, allocations: 27.98 kB / 0.5492 GB, free: 10.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.1397, allocations: 65.11 kB / 0.5492 GB, free: 10.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.1398, allocations: 83.47 kB / 0.5493 GB, free: 10.75 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1399, allocations: 4 kB / 0.5493 GB, free: 10.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003108/0.1402, allocations: 177.1 kB / 0.5495 GB, free: 10.56 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.1402, allocations: 8.062 kB / 0.5495 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1402, allocations: 4 kB / 0.5495 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1402, allocations: 0 / 0.5495 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1403, allocations: 23.98 kB / 0.5495 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1404, allocations: 0 / 0.5495 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.055e-05/0.1405, allocations: 7.984 kB / 0.5495 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.448e-05/0.1405, allocations: 8 kB / 0.5495 GB, free: 10.51 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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.000222/0.1407, allocations: 221.7 kB / 0.5497 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.409e-05/0.1408, allocations: 67.55 kB / 0.5498 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.698e-05/0.1409, allocations: 64.14 kB / 0.5499 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1409, allocations: 0 / 0.5499 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1409, allocations: 0 / 0.5499 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1409, allocations: 0 / 0.5499 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.1412, allocations: 349.4 kB / 0.5502 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1413, allocations: 0 / 0.5502 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.1413, allocations: 8.062 kB / 0.5502 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1413, allocations: 4 kB / 0.5502 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.1413, allocations: 7.984 kB / 0.5502 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1413, allocations: 4 kB / 0.5502 GB, free: 9.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.1413, allocations: 7.938 kB / 0.5502 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.1417, allocations: 205.5 kB / 0.5504 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.1418, allocations: 140.7 kB / 0.5506 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.1419, allocations: 4 kB / 0.5506 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.142, allocations: 11.92 kB / 0.5506 GB, free: 9.336 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.142, allocations: 19.92 kB / 0.5506 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.1421, allocations: 4 kB / 0.5506 GB, free: 9.312 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000877/0.1429, allocations: 0.7839 MB / 0.5514 GB, free: 8.531 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.143, allocations: 0 / 0.5514 GB, free: 8.531 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1432, allocations: 40 kB / 0.5514 GB, free: 8.492 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001506/0.1447, allocations: 404.1 kB / 0.5518 GB, free: 8.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.145, allocations: 79.89 kB / 0.5519 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.145, allocations: 4.125 kB / 0.5519 GB, free: 8.156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.1451, allocations: 43.92 kB / 0.5519 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004341/0.1456, allocations: 75.86 kB / 0.552 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.147, allocations: 0.9222 MB / 0.5529 GB, free: 7.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005814/0.1476, allocations: 0.8505 MB / 0.5537 GB, free: 6.215 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.1476, allocations: 27.44 kB / 0.5537 GB, free: 6.191 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1476, allocations: 0 / 0.5537 GB, free: 6.191 MB / 414.1 MB Notification: Performance of Templates: time 0.008838/0.1565, allocations: 5.199 MB / 0.5588 GB, free: 0.9961 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.062173212063499]