Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.0013/0.0013, allocations: 118.3 kB / 18.49 MB, free: 4.535 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.00143/0.00143, allocations: 222.3 kB / 21.46 MB, free: 1.582 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.429/1.429, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2166/0.2166, allocations: 46.91 MB / 357.7 MB, free: 10.19 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.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002308/0.002308, allocations: 79.88 kB / 0.4917 GB, free: 7.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1297, allocations: 66.05 MB / 0.5562 GB, free: 5.441 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.00331/0.133, allocations: 1.735 MB / 0.5579 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001819/0.1348, allocations: 1.038 MB / 0.5589 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.919e-05/0.1349, allocations: 3.938 kB / 0.5589 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003237/0.1352, allocations: 59.75 kB / 0.559 GB, free: 2.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.1356, allocations: 95.59 kB / 0.5591 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.1358, allocations: 79.66 kB / 0.5592 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.136, allocations: 107.6 kB / 0.5593 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.1361, allocations: 11.98 kB / 0.5593 GB, free: 2.293 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1362, allocations: 43.78 kB / 0.5593 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.542e-05/0.1363, allocations: 39.84 kB / 0.5594 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.1363, allocations: 4 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.1364, allocations: 43.98 kB / 0.5594 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.118e-05/0.1365, allocations: 31.84 kB / 0.5594 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.416e-05/0.1366, allocations: 47.61 kB / 0.5595 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.1368, allocations: 123.4 kB / 0.5596 GB, free: 1.965 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1368, allocations: 0 / 0.5596 GB, free: 1.965 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1368, allocations: 0 / 0.5596 GB, free: 1.965 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1368, allocations: 0 / 0.5596 GB, free: 1.965 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.000694/0.1375, allocations: 462.3 kB / 0.56 GB, free: 1.465 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1376, allocations: 12.03 kB / 0.5601 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.686e-05/0.1376, allocations: 192 / 0.5601 GB, free: 1.453 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.057e-05/0.1376, allocations: 34.75 kB / 0.5601 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.1377, allocations: 12.84 kB / 0.5601 GB, free: 1.398 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.138, allocations: 225 kB / 0.5603 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.138, allocations: 4.375 kB / 0.5603 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.1381, allocations: 4.359 kB / 0.5603 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1382, allocations: 57.61 kB / 0.5604 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1382, allocations: 4 kB / 0.5604 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1383, allocations: 0 / 0.5604 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1383, allocations: 4 kB / 0.5604 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.331e-05/0.1383, allocations: 19.98 kB / 0.5604 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.1387, allocations: 304.8 kB / 0.5607 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.1389, allocations: 54.61 kB / 0.5608 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.139, allocations: 28.78 kB / 0.5608 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.139, allocations: 4 kB / 0.5608 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.1392, allocations: 63.39 kB / 0.5608 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1392, allocations: 0 / 0.5608 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005794/0.1397, allocations: 181.3 kB / 0.561 GB, free: 344 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.1398, allocations: 51.41 kB / 0.5611 GB, free: 280 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.1401, allocations: 274.8 kB / 0.5613 GB, free: 15.99 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.1401, allocations: 33.7 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.607e-05/0.1402, allocations: 116 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.1402, allocations: 31.72 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.1403, allocations: 17.72 kB / 0.5615 GB, free: 15.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1404, allocations: 334.8 kB / 0.5618 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.923e-05/0.1405, allocations: 19.98 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.452e-05/0.1406, allocations: 41.7 kB / 0.5619 GB, free: 15.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.1407, allocations: 53.7 kB / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.1407, allocations: 384 / 0.5619 GB, free: 15.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002054/0.1409, allocations: 113.5 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1409, allocations: 4 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1409, allocations: 4 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1409, allocations: 4 kB / 0.5621 GB, free: 15.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.106e-05/0.141, allocations: 23.95 kB / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.778e-06/0.141, allocations: 0 / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.866e-05/0.1411, allocations: 4 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.1411, allocations: 7.938 kB / 0.5621 GB, free: 15.16 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.0001216/0.1412, allocations: 131.5 kB / 0.5622 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.1412, allocations: 15.91 kB / 0.5622 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.1413, allocations: 25.39 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1413, allocations: 0 / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1413, allocations: 4 kB / 0.5623 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1413, allocations: 4 kB / 0.5623 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.1418, allocations: 403.2 kB / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1418, allocations: 0 / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.148e-05/0.1418, allocations: 15.98 kB / 0.5627 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1418, allocations: 0 / 0.5627 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1419, allocations: 7.938 kB / 0.5627 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1419, allocations: 0 / 0.5627 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1419, allocations: 192 / 0.5627 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.1421, allocations: 212.3 kB / 0.5629 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.1422, allocations: 92.95 kB / 0.563 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.1422, allocations: 11.91 kB / 0.563 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.1423, allocations: 4 kB / 0.563 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.1424, allocations: 0 / 0.563 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.1424, allocations: 15.92 kB / 0.563 GB, free: 14.12 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.1426, allocations: 204.6 kB / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1426, allocations: 0 / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002665/0.1428, allocations: 23.94 kB / 0.5632 GB, free: 13.9 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.002191/0.145, allocations: 1.096 MB / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1452, allocations: 55.91 kB / 0.5643 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1452, allocations: 0 / 0.5643 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.255e-05/0.1453, allocations: 27.98 kB / 0.5644 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.1456, allocations: 36.09 kB / 0.5644 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/0.1478, allocations: 1.85 MB / 0.5662 GB, free: 10.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.1482, allocations: 0.7157 MB / 0.5669 GB, free: 10.15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.531e-05/0.1483, allocations: 21.17 kB / 0.5669 GB, free: 10.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.262e-05/0.1484, allocations: 43.42 kB / 0.567 GB, free: 10.09 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1484, allocations: 4 kB / 0.567 GB, free: 10.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.1675, allocations: 3.841 MB / 0.5707 GB, free: 6.305 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.303, allocations: 10.56 kB / 0.5707 GB, free: 6.297 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.183901023003273] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.482887212012429 8.499579768 8.359804695 Calling exit ...