Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.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.001702/0.001702, allocations: 120.1 kB / 18.5 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.001403/0.001403, 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.413/1.413, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2152/0.2152, 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.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 75.88 kB / 0.4917 GB, free: 7.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1249, allocations: 66.05 MB / 0.5562 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.003509/0.1284, allocations: 1.739 MB / 0.5579 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001817/0.1302, allocations: 1.043 MB / 0.559 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.1303, allocations: 0 / 0.559 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.1306, allocations: 43.77 kB / 0.559 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.131, allocations: 91.59 kB / 0.5591 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.1312, allocations: 79.67 kB / 0.5592 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002427/0.1315, allocations: 107.6 kB / 0.5593 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.1316, allocations: 12 kB / 0.5593 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.1317, allocations: 47.78 kB / 0.5593 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.107e-05/0.1318, allocations: 23.86 kB / 0.5593 GB, free: 2.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.1318, allocations: 7.984 kB / 0.5593 GB, free: 2.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1319, allocations: 47.98 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.132, allocations: 19.92 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.132, allocations: 39.69 kB / 0.5594 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.1323, allocations: 123.4 kB / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1323, allocations: 0 / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1323, allocations: 0 / 0.5596 GB, free: 2.027 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1323, allocations: 0 / 0.5596 GB, free: 2.027 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.0007147/0.133, allocations: 422.7 kB / 0.56 GB, free: 1.566 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1331, allocations: 12.03 kB / 0.56 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.592e-05/0.1331, allocations: 4.188 kB / 0.56 GB, free: 1.551 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.1331, allocations: 34.75 kB / 0.56 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/0.1332, allocations: 12.89 kB / 0.56 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.1336, allocations: 212.8 kB / 0.5602 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1336, allocations: 384 / 0.5602 GB, free: 1.25 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.1336, allocations: 8.375 kB / 0.5602 GB, free: 1.242 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1338, allocations: 53.61 kB / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.1338, allocations: 0 / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.1338, allocations: 8 kB / 0.5603 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1338, allocations: 0 / 0.5603 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.286e-05/0.1339, allocations: 31.84 kB / 0.5603 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.1344, allocations: 284.8 kB / 0.5606 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.1346, allocations: 58.61 kB / 0.5607 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.397e-05/0.1346, allocations: 24.84 kB / 0.5607 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.582e-05/0.1347, allocations: 0 / 0.5607 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.1349, allocations: 63.39 kB / 0.5607 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.1349, allocations: 0 / 0.5607 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006129/0.1355, allocations: 185.6 kB / 0.5609 GB, free: 472 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.1355, allocations: 51.41 kB / 0.561 GB, free: 408 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.1357, allocations: 194.4 kB / 0.5612 GB, free: 204 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.1358, allocations: 33.7 kB / 0.5612 GB, free: 164 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.221e-05/0.1358, allocations: 96.14 kB / 0.5613 GB, free: 64 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.049e-05/0.1359, allocations: 27.78 kB / 0.5613 GB, free: 36 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.1359, allocations: 25.66 kB / 0.5613 GB, free: 4 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1361, allocations: 334.8 kB / 0.5616 GB, free: 15.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/0.1362, allocations: 12.06 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.598e-05/0.1363, allocations: 41.7 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.1364, allocations: 61.7 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1364, allocations: 0 / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002073/0.1366, allocations: 105.5 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1366, allocations: 4 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1366, allocations: 0 / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.1367, allocations: 4 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/0.1367, allocations: 15.98 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1368, allocations: 3.938 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.1368, allocations: 12.03 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1368, allocations: 3.938 kB / 0.5619 GB, free: 15.39 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.0001354/0.137, allocations: 129.8 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.137, allocations: 11.91 kB / 0.562 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.137, allocations: 17.39 kB / 0.5621 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.137, allocations: 4 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1371, allocations: 0 / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1371, allocations: 0 / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.1375, allocations: 395.3 kB / 0.5624 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1375, allocations: 0 / 0.5624 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.1376, allocations: 15.92 kB / 0.5624 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1376, allocations: 192 / 0.5624 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1376, allocations: 3.938 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1376, allocations: 7.938 kB / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1376, allocations: 0 / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.1379, allocations: 208.3 kB / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.665e-05/0.1379, allocations: 89.02 kB / 0.5627 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.138, allocations: 7.922 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.138, allocations: 8 kB / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.1381, allocations: 0 / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.1381, allocations: 7.984 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.1382, allocations: 144.2 kB / 0.5629 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1382, allocations: 4 kB / 0.5629 GB, free: 14.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.1385, allocations: 31.92 kB / 0.5629 GB, free: 14.21 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.002187/0.1407, allocations: 1.094 MB / 0.564 GB, free: 13.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.1409, allocations: 59.89 kB / 0.5641 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1409, allocations: 0 / 0.5641 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.731e-05/0.141, allocations: 27.98 kB / 0.5641 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1413, allocations: 22.94 kB / 0.5641 GB, free: 13.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.1433, allocations: 1.67 MB / 0.5657 GB, free: 11.39 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005423/0.1438, allocations: 0.7002 MB / 0.5664 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.161e-05/0.1439, allocations: 29.16 kB / 0.5665 GB, free: 10.63 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.71e-05/0.144, allocations: 35.42 kB / 0.5665 GB, free: 10.6 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.144, allocations: 0 / 0.5665 GB, free: 10.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0201/0.1641, allocations: 3.5 MB / 0.5699 GB, free: 7.168 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.05/8.214, allocations: 8 kB / 0.5699 GB, free: 7.16 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.125154464971274] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.391339770983905 8.40720888 8.271786187 Calling exit ...