Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.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.001571/0.001571, allocations: 111.8 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.001439/0.001439, allocations: 212.9 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.459/1.459, 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.2258/0.2258, allocations: 46.16 MB / 351.8 MB, free: 14.27 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.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 85.94 kB / 490.9 MB, free: 27.87 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1133, allocations: 62.45 MB / 0.5404 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003249/0.1166, allocations: 1.85 MB / 0.5422 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001671/0.1182, allocations: 1.02 MB / 0.5432 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.1183, allocations: 0 / 0.5432 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.1186, allocations: 59.72 kB / 0.5432 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.1189, allocations: 123.4 kB / 0.5433 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.1194, allocations: 166.3 kB / 0.5435 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000281/0.1197, allocations: 199.4 kB / 0.5437 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.1198, allocations: 25.48 kB / 0.5437 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1199, allocations: 91.66 kB / 0.5438 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.1201, allocations: 95.66 kB / 0.5439 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.1201, allocations: 16 kB / 0.5439 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.1203, allocations: 43.97 kB / 0.544 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.802e-05/0.1204, allocations: 39.89 kB / 0.544 GB, free: 472 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.491e-05/0.1205, allocations: 71.53 kB / 0.5441 GB, free: 400 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002905/0.1208, allocations: 183.2 kB / 0.5442 GB, free: 216 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.1208, allocations: 4 kB / 0.5442 GB, free: 212 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1208, allocations: 0 / 0.5442 GB, free: 212 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1208, allocations: 0 / 0.5442 GB, free: 212 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001112/0.1219, allocations: 0.5797 MB / 0.5448 GB, free: 15.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1219, allocations: 8.031 kB / 0.5448 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.943e-05/0.122, allocations: 20.8 kB / 0.5448 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.1223, allocations: 241 kB / 0.5451 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.1223, allocations: 8.375 kB / 0.5451 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.1223, allocations: 4.375 kB / 0.5451 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.1229, allocations: 149.9 kB / 0.5452 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1229, allocations: 0 / 0.5452 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.1229, allocations: 0 / 0.5452 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1229, allocations: 0 / 0.5452 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007385/0.1236, allocations: 163.8 kB / 0.5454 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005116/0.1242, allocations: 360.6 kB / 0.5457 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00081/0.125, allocations: 194.4 kB / 0.5459 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/0.1254, allocations: 96.75 kB / 0.546 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.1254, allocations: 4.109 kB / 0.546 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005652/0.126, allocations: 171 kB / 0.5462 GB, free: 14.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 2.034e-06/0.126, allocations: 0 / 0.5462 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003788/0.1298, allocations: 0.8207 MB / 0.547 GB, free: 13.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.1299, allocations: 55.39 kB / 0.547 GB, free: 13.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.1302, allocations: 243.2 kB / 0.5473 GB, free: 12.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.1302, allocations: 25.7 kB / 0.5473 GB, free: 12.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.1303, allocations: 132 kB / 0.5474 GB, free: 12.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.1304, allocations: 39.69 kB / 0.5474 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.892e-05/0.1305, allocations: 37.7 kB / 0.5475 GB, free: 12.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1306, allocations: 334.8 kB / 0.5478 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007395/0.1314, allocations: 163.8 kB / 0.548 GB, free: 12.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007215/0.1321, allocations: 171.7 kB / 0.5481 GB, free: 12.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.1335, allocations: 362.2 kB / 0.5485 GB, free: 11.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1335, allocations: 4 kB / 0.5485 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001607/0.1351, allocations: 456.5 kB / 0.5489 GB, free: 11.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.757e-05/0.1352, allocations: 65.27 kB / 0.549 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1352, allocations: 0 / 0.549 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1352, allocations: 0 / 0.549 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.1357, allocations: 71.84 kB / 0.549 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1357, allocations: 0 / 0.549 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004149/0.1361, allocations: 71.84 kB / 0.5491 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.1362, allocations: 8 kB / 0.5491 GB, free: 10.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001488/0.1363, allocations: 133.8 kB / 0.5492 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.893e-05/0.1364, allocations: 19.86 kB / 0.5493 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.138, allocations: 410.7 kB / 0.5496 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.138, allocations: 4 kB / 0.5496 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.138, allocations: 0 / 0.5496 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.138, allocations: 7.922 kB / 0.5497 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.1399, allocations: 0.6994 MB / 0.5503 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.1399, allocations: 0.5625 kB / 0.5503 GB, free: 9.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004021/0.1403, allocations: 71.84 kB / 0.5504 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.1403, allocations: 0 / 0.5504 GB, free: 9.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.1404, allocations: 3.938 kB / 0.5504 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1404, allocations: 7.938 kB / 0.5504 GB, free: 9.527 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1404, allocations: 4 kB / 0.5504 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.142, allocations: 486.9 kB / 0.5509 GB, free: 9.031 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.686e-05/0.142, allocations: 89.02 kB / 0.551 GB, free: 8.926 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.1421, allocations: 11.92 kB / 0.551 GB, free: 8.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.1425, allocations: 63.91 kB / 0.551 GB, free: 8.852 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.1427, allocations: 43.94 kB / 0.5511 GB, free: 8.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.1427, allocations: 8 kB / 0.5511 GB, free: 8.801 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001973/0.1429, allocations: 188.6 kB / 0.5513 GB, free: 8.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1429, allocations: 0 / 0.5513 GB, free: 8.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000316/0.1432, allocations: 47.92 kB / 0.5513 GB, free: 8.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001504/0.1448, allocations: 409.7 kB / 0.5517 GB, free: 8.316 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001674/0.1464, allocations: 462.4 kB / 0.5522 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1465, allocations: 0 / 0.5522 GB, free: 7.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007672/0.1472, allocations: 187.7 kB / 0.5523 GB, free: 7.656 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003914/0.1476, allocations: 35.27 kB / 0.5524 GB, free: 7.621 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001005/0.1486, allocations: 376.3 kB / 0.5527 GB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.149, allocations: 0.7278 MB / 0.5534 GB, free: 6.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.1491, allocations: 23.44 kB / 0.5535 GB, free: 6.445 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1492, allocations: 0 / 0.5535 GB, free: 6.445 MB / 414.1 MB Notification: Performance of Templates: time 0.005682/0.1548, allocations: 3.212 MB / 0.5566 GB, free: 3.242 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.740720644011162] Failed to read output from testmodel.py, exit status != 0: 0.16176578507293016 0.17542195300000002 0.052038704000000005 Calling exit ...