Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.001417/0.001417, allocations: 117.1 kB / 19.13 MB, free: 3.918 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.001499/0.0015, allocations: 206.6 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.525/1.525, allocations: 227.4 MB / 252.3 MB, free: 284 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.2437/0.2437, allocations: 46.18 MB / 351.8 MB, free: 14.33 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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002269/0.002269, allocations: 83.72 kB / 490.9 MB, free: 27.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1201, allocations: 62.45 MB / 0.5404 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003366/0.1235, allocations: 1.83 MB / 0.5422 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1255, allocations: 1.095 MB / 0.5433 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.084e-05/0.1256, allocations: 4 kB / 0.5433 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005371/0.1262, allocations: 307.3 kB / 0.5436 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004776/0.1267, allocations: 255.2 kB / 0.5438 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.1269, allocations: 103.6 kB / 0.5439 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.1273, allocations: 263.3 kB / 0.5442 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.669e-05/0.1274, allocations: 21.62 kB / 0.5442 GB, free: 332 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001811/0.1276, allocations: 135.5 kB / 0.5443 GB, free: 196 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.1278, allocations: 195.5 kB / 0.5445 GB, free: 0 / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.23e-05/0.1279, allocations: 4.047 kB / 0.5445 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.128, allocations: 47.88 kB / 0.5446 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.1282, allocations: 139.6 kB / 0.5447 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.1283, allocations: 146.8 kB / 0.5448 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004715/0.1288, allocations: 378.2 kB / 0.5452 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1288, allocations: 0 / 0.5452 GB, free: 15.3 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1288, allocations: 7.938 kB / 0.5452 GB, free: 15.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.1289, allocations: 0 / 0.5452 GB, free: 15.29 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.001062/0.1299, allocations: 0.7732 MB / 0.5459 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.13, allocations: 8.031 kB / 0.546 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.868e-05/0.1301, allocations: 52.61 kB / 0.546 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/0.1307, allocations: 460.4 kB / 0.5464 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1307, allocations: 384 / 0.5464 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1308, allocations: 4.375 kB / 0.5464 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.131, allocations: 95.61 kB / 0.5465 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.131, allocations: 0 / 0.5465 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.131, allocations: 0 / 0.5465 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.131, allocations: 4 kB / 0.5465 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.1312, allocations: 27.98 kB / 0.5466 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004474/0.1316, allocations: 386.3 kB / 0.5469 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.1319, allocations: 109.2 kB / 0.547 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.783e-05/0.132, allocations: 37.7 kB / 0.5471 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.132, allocations: 0 / 0.5471 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.1323, allocations: 120.9 kB / 0.5472 GB, free: 13.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.492e-06/0.1323, allocations: 0 / 0.5472 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005118/0.1328, allocations: 193.2 kB / 0.5474 GB, free: 12.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.731e-05/0.1329, allocations: 81.11 kB / 0.5475 GB, free: 12.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.1341, allocations: 1.058 MB / 0.5485 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.1342, allocations: 29.7 kB / 0.5485 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000205/0.1344, allocations: 236.1 kB / 0.5487 GB, free: 11.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.1344, allocations: 35.73 kB / 0.5488 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.1345, allocations: 33.7 kB / 0.5488 GB, free: 11.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.1347, allocations: 362.8 kB / 0.5492 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.1348, allocations: 27.98 kB / 0.5492 GB, free: 10.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.1349, allocations: 59.41 kB / 0.5492 GB, free: 10.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/0.1351, allocations: 91.86 kB / 0.5493 GB, free: 10.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1352, allocations: 0 / 0.5493 GB, free: 10.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003196/0.1355, allocations: 181.1 kB / 0.5495 GB, free: 10.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1355, allocations: 9.875 kB / 0.5495 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1355, allocations: 0 / 0.5495 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1355, allocations: 0 / 0.5495 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1357, allocations: 28.05 kB / 0.5495 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.1357, allocations: 3.938 kB / 0.5495 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.1358, allocations: 8 kB / 0.5495 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.1358, allocations: 4 kB / 0.5495 GB, free: 10.54 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.0002393/0.136, allocations: 225.7 kB / 0.5498 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.325e-05/0.1361, allocations: 59.56 kB / 0.5498 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.961e-05/0.1362, allocations: 60.14 kB / 0.5499 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1362, allocations: 0 / 0.5499 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1362, allocations: 8 kB / 0.5499 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.1363, allocations: 3.984 kB / 0.5499 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.1366, allocations: 345.4 kB / 0.5502 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1366, allocations: 0 / 0.5502 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.1367, allocations: 11.94 kB / 0.5502 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1367, allocations: 0 / 0.5502 GB, free: 9.777 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.1367, allocations: 7.984 kB / 0.5502 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1367, allocations: 0 / 0.5502 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1367, allocations: 0 / 0.5502 GB, free: 9.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.1371, allocations: 209.5 kB / 0.5504 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.1372, allocations: 140.7 kB / 0.5506 GB, free: 9.387 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.1373, allocations: 8 kB / 0.5506 GB, free: 9.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8e-05/0.1374, allocations: 7.984 kB / 0.5506 GB, free: 9.371 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.1374, allocations: 7.938 kB / 0.5506 GB, free: 9.363 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/0.1375, allocations: 16.05 kB / 0.5506 GB, free: 9.348 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008824/0.1384, allocations: 0.78 MB / 0.5514 GB, free: 8.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1384, allocations: 4 kB / 0.5514 GB, free: 8.566 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1386, allocations: 40 kB / 0.5514 GB, free: 8.527 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.001571/0.1402, allocations: 410.7 kB / 0.5518 GB, free: 8.266 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002817/0.1405, allocations: 83.89 kB / 0.5519 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1405, allocations: 0 / 0.5519 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.1406, allocations: 35.92 kB / 0.5519 GB, free: 8.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004385/0.1411, allocations: 77.89 kB / 0.552 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.1424, allocations: 0.9261 MB / 0.5529 GB, free: 7.117 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.143, allocations: 0.8427 MB / 0.5537 GB, free: 6.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.435e-05/0.1431, allocations: 31.42 kB / 0.5538 GB, free: 6.223 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1431, allocations: 0 / 0.5538 GB, free: 6.223 MB / 414.1 MB Notification: Performance of Templates: time 0.009197/0.1523, allocations: 5.204 MB / 0.5588 GB, free: 1.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.152847288991325]