Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.00131/0.00131, allocations: 119 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.001416/0.001416, 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.561/1.561, allocations: 227.4 MB / 252.3 MB, free: 60 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.2441/0.2441, allocations: 46.17 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.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 83.34 kB / 490.9 MB, free: 27.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1311, allocations: 62.45 MB / 0.5404 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003397/0.1345, allocations: 1.83 MB / 0.5422 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.1365, allocations: 1.099 MB / 0.5433 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.76e-05/0.1366, allocations: 3.938 kB / 0.5433 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005927/0.1373, allocations: 299.3 kB / 0.5436 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004901/0.1378, allocations: 251.2 kB / 0.5438 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.1381, allocations: 103.6 kB / 0.5439 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003539/0.1384, allocations: 263.3 kB / 0.5441 GB, free: 344 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.244e-05/0.1385, allocations: 21.69 kB / 0.5442 GB, free: 320 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.1387, allocations: 127.5 kB / 0.5443 GB, free: 192 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.139, allocations: 192 kB / 0.5445 GB, free: 0 / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.876e-05/0.139, allocations: 4.047 kB / 0.5445 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1392, allocations: 43.94 kB / 0.5445 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.1393, allocations: 136.4 kB / 0.5446 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.1395, allocations: 142.8 kB / 0.5448 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.14, allocations: 370.2 kB / 0.5451 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.14, allocations: 0 / 0.5451 GB, free: 15.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.027e-06/0.14, allocations: 0 / 0.5451 GB, free: 15.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.007e-06/0.14, allocations: 11.94 kB / 0.5451 GB, free: 15.3 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.001086/0.1411, allocations: 0.7539 MB / 0.5459 GB, free: 14.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1411, allocations: 8.031 kB / 0.5459 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.85e-05/0.1413, allocations: 52.61 kB / 0.5459 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006553/0.1419, allocations: 448.4 kB / 0.5464 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1419, allocations: 4.375 kB / 0.5464 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.142, allocations: 384 / 0.5464 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.1422, allocations: 91.67 kB / 0.5465 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1422, allocations: 7.984 kB / 0.5465 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.1423, allocations: 4 kB / 0.5465 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1423, allocations: 3.938 kB / 0.5465 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1424, allocations: 31.92 kB / 0.5465 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.1429, allocations: 378.3 kB / 0.5469 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.1432, allocations: 113.1 kB / 0.547 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.1433, allocations: 41.69 kB / 0.547 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1433, allocations: 4 kB / 0.547 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002421/0.1436, allocations: 109 kB / 0.5471 GB, free: 13.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.1436, allocations: 4 kB / 0.5471 GB, free: 13.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005132/0.1441, allocations: 201.2 kB / 0.5473 GB, free: 12.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.831e-05/0.1442, allocations: 81.11 kB / 0.5474 GB, free: 12.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.1454, allocations: 1.022 MB / 0.5484 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.1455, allocations: 29.7 kB / 0.5484 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.1457, allocations: 236.1 kB / 0.5486 GB, free: 11.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.151e-05/0.1457, allocations: 27.78 kB / 0.5487 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.283e-05/0.1458, allocations: 25.72 kB / 0.5487 GB, free: 11.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.146, allocations: 374.8 kB / 0.5491 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-05/0.1461, allocations: 27.98 kB / 0.5491 GB, free: 11.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.1462, allocations: 51.42 kB / 0.5491 GB, free: 10.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.1464, allocations: 91.34 kB / 0.5492 GB, free: 10.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1464, allocations: 0 / 0.5492 GB, free: 10.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003221/0.1468, allocations: 173.8 kB / 0.5494 GB, free: 10.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1468, allocations: 4 kB / 0.5494 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1468, allocations: 8.062 kB / 0.5494 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1468, allocations: 7.938 kB / 0.5494 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.147, allocations: 23.98 kB / 0.5494 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.147, allocations: 4 kB / 0.5494 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.284e-05/0.1471, allocations: 11.94 kB / 0.5494 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1471, allocations: 4 kB / 0.5494 GB, free: 10.61 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.0002389/0.1473, allocations: 217.7 kB / 0.5496 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.872e-05/0.1474, allocations: 55.61 kB / 0.5497 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.763e-05/0.1475, allocations: 64.08 kB / 0.5498 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1475, allocations: 4 kB / 0.5498 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1475, allocations: 0 / 0.5498 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1475, allocations: 0 / 0.5498 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.1479, allocations: 345.4 kB / 0.5501 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1479, allocations: 0 / 0.5501 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.1479, allocations: 11.94 kB / 0.5501 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.148, allocations: 3.938 kB / 0.5501 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.148, allocations: 4 kB / 0.5501 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.148, allocations: 7.938 kB / 0.5501 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.148, allocations: 0 / 0.5501 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.1484, allocations: 209.5 kB / 0.5503 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.1485, allocations: 140.7 kB / 0.5505 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.1486, allocations: 8 kB / 0.5505 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.426e-05/0.1486, allocations: 0 / 0.5505 GB, free: 9.461 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.1487, allocations: 11.97 kB / 0.5505 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.1487, allocations: 12 kB / 0.5505 GB, free: 9.438 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008918/0.1496, allocations: 0.7682 MB / 0.5512 GB, free: 8.672 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1496, allocations: 0 / 0.5512 GB, free: 8.672 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.1499, allocations: 40 kB / 0.5513 GB, free: 8.633 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.001528/0.1514, allocations: 405.7 kB / 0.5517 GB, free: 8.379 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002663/0.1517, allocations: 83.89 kB / 0.5517 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1517, allocations: 128 / 0.5517 GB, free: 8.297 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.1519, allocations: 43.92 kB / 0.5518 GB, free: 8.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.1523, allocations: 82.41 kB / 0.5519 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.1537, allocations: 0.9027 MB / 0.5527 GB, free: 7.246 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/0.1542, allocations: 0.8388 MB / 0.5536 GB, free: 6.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.541e-05/0.1543, allocations: 39.38 kB / 0.5536 GB, free: 6.348 MB / 414.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1543, allocations: 3.938 kB / 0.5536 GB, free: 6.344 MB / 414.1 MB Notification: Performance of Templates: time 0.008592/0.1629, allocations: 5.09 MB / 0.5586 GB, free: 1.258 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69.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.231383993988857]