Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.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.001321/0.001321, allocations: 118.2 kB / 18.49 MB, free: 4.566 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.001457/0.001457, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.419/1.419, allocations: 230.4 MB / 254.7 MB, free: 15.21 MB / 206.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.2254/0.2254, allocations: 46.91 MB / 357.7 MB, free: 10.22 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002297/0.002297, allocations: 75.89 kB / 0.4917 GB, free: 7.656 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1329, allocations: 66.05 MB / 0.5562 GB, free: 5.477 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.005761/0.1386, allocations: 1.737 MB / 0.5579 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.1415, allocations: 1.038 MB / 0.5589 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.1416, allocations: 0 / 0.5589 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003712/0.142, allocations: 51.75 kB / 0.559 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004704/0.1425, allocations: 103.5 kB / 0.5591 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.1428, allocations: 75.73 kB / 0.5592 GB, free: 2.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.143, allocations: 107.6 kB / 0.5593 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1431, allocations: 12 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.1433, allocations: 43.8 kB / 0.5593 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1434, allocations: 31.83 kB / 0.5594 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.1434, allocations: 4 kB / 0.5594 GB, free: 2.258 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.1436, allocations: 43.98 kB / 0.5594 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.449e-05/0.1437, allocations: 31.8 kB / 0.5594 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.128e-05/0.1437, allocations: 35.75 kB / 0.5595 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.1441, allocations: 135.4 kB / 0.5596 GB, free: 2.016 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1441, allocations: 0 / 0.5596 GB, free: 2.016 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1441, allocations: 0 / 0.5596 GB, free: 2.016 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1441, allocations: 0 / 0.5596 GB, free: 2.016 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007815/0.1448, allocations: 438.5 kB / 0.56 GB, free: 1.539 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.1449, allocations: 8.031 kB / 0.56 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.397e-05/0.1449, allocations: 4.125 kB / 0.56 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.145, allocations: 34.75 kB / 0.5601 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.145, allocations: 20.81 kB / 0.5601 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.1455, allocations: 221.5 kB / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1455, allocations: 384 / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.147e-05/0.1455, allocations: 4.375 kB / 0.5603 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.1457, allocations: 57.61 kB / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1457, allocations: 0 / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1458, allocations: 0 / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1458, allocations: 0 / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.1459, allocations: 23.98 kB / 0.5604 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005182/0.1464, allocations: 300.8 kB / 0.5607 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.1466, allocations: 54.67 kB / 0.5607 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.874e-05/0.1467, allocations: 20.84 kB / 0.5607 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.1467, allocations: 0 / 0.5607 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.1469, allocations: 75.33 kB / 0.5608 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1469, allocations: 0 / 0.5608 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007469/0.1477, allocations: 173.6 kB / 0.561 GB, free: 436 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.1477, allocations: 59.34 kB / 0.561 GB, free: 364 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003757/0.1481, allocations: 234.1 kB / 0.5612 GB, free: 120 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.1481, allocations: 25.7 kB / 0.5613 GB, free: 88 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.1483, allocations: 116.2 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.1483, allocations: 15.86 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.1484, allocations: 33.7 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.1486, allocations: 326.8 kB / 0.5617 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.1487, allocations: 19.98 kB / 0.5618 GB, free: 15.56 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.1488, allocations: 37.83 kB / 0.5618 GB, free: 15.52 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.1491, allocations: 65.56 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1491, allocations: 4 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003368/0.1494, allocations: 101.6 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1494, allocations: 6.031 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.1494, allocations: 4 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1494, allocations: 0 / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.1496, allocations: 15.94 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1496, allocations: 7.922 kB / 0.562 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.886e-05/0.1497, allocations: 8 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.1497, allocations: 7.938 kB / 0.562 GB, free: 15.3 MB / 430.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.0001684/0.1499, allocations: 133.9 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.1499, allocations: 12.09 kB / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.282e-05/0.15, allocations: 17.41 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.15, allocations: 7.922 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.15, allocations: 0 / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.15, allocations: 3.984 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008004/0.1508, allocations: 399.3 kB / 0.5626 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1508, allocations: 4.031 kB / 0.5626 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.261e-05/0.1509, allocations: 11.98 kB / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.1509, allocations: 0 / 0.5626 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.1509, allocations: 11.94 kB / 0.5626 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1509, allocations: 0 / 0.5626 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.1509, allocations: 3.938 kB / 0.5626 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004262/0.1513, allocations: 200.5 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.246e-05/0.1514, allocations: 93.02 kB / 0.5629 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.376e-05/0.1515, allocations: 11.94 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.1516, allocations: 3.984 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.72e-05/0.1517, allocations: 4 kB / 0.5629 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.1517, allocations: 4 kB / 0.5629 GB, free: 14.28 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002817/0.152, allocations: 176.4 kB / 0.5631 GB, free: 14.11 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.152, allocations: 0 / 0.5631 GB, free: 14.11 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004927/0.1525, allocations: 31.92 kB / 0.5631 GB, free: 14.08 MB / 430.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.003545/0.156, allocations: 1.103 MB / 0.5642 GB, free: 13.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003355/0.1563, allocations: 59.91 kB / 0.5642 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1563, allocations: 0 / 0.5642 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.1565, allocations: 20 kB / 0.5642 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006359/0.1571, allocations: 34.47 kB / 0.5643 GB, free: 13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003457/0.1606, allocations: 1.754 MB / 0.566 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.1611, allocations: 0.7119 MB / 0.5667 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.149e-05/0.1612, allocations: 13.19 kB / 0.5667 GB, free: 10.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.1613, allocations: 43.41 kB / 0.5667 GB, free: 10.36 MB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1613, allocations: 4 kB / 0.5667 GB, free: 10.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.1897, allocations: 3.679 MB / 0.5703 GB, free: 6.746 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.111/8.301, allocations: 14.09 kB / 0.5703 GB, free: 6.734 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.253722080029547] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.480856520007364 8.510100274000001 8.360609113 Calling exit ...