Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.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.001655/0.001655, allocations: 117 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.001387/0.001387, allocations: 216.7 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.435/1.435, 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.2187/0.2187, allocations: 46.92 MB / 357.7 MB, free: 10.17 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.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 75.88 kB / 0.4917 GB, free: 7.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1251, allocations: 66.06 MB / 0.5562 GB, free: 5.426 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003112/0.1282, allocations: 1.736 MB / 0.5579 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.1299, allocations: 1.034 MB / 0.5589 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.13, allocations: 3.938 kB / 0.5589 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.1303, allocations: 59.75 kB / 0.559 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.1306, allocations: 95.58 kB / 0.5591 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000185/0.1307, allocations: 79.67 kB / 0.5592 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001802/0.1309, allocations: 103.7 kB / 0.5593 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.712e-05/0.131, allocations: 15.94 kB / 0.5593 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.675e-05/0.1311, allocations: 51.77 kB / 0.5593 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.129e-05/0.1312, allocations: 27.86 kB / 0.5594 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.1312, allocations: 4 kB / 0.5594 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1313, allocations: 43.98 kB / 0.5594 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.874e-05/0.1314, allocations: 39.83 kB / 0.5594 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.39e-05/0.1315, allocations: 35.69 kB / 0.5595 GB, free: 2.082 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.1317, allocations: 143.3 kB / 0.5596 GB, free: 1.941 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1317, allocations: 0 / 0.5596 GB, free: 1.941 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1317, allocations: 0 / 0.5596 GB, free: 1.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1317, allocations: 0 / 0.5596 GB, free: 1.941 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.000643/0.1324, allocations: 462.4 kB / 0.5601 GB, free: 1.441 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1324, allocations: 8.031 kB / 0.5601 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.838e-05/0.1324, allocations: 192 / 0.5601 GB, free: 1.434 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.921e-05/0.1324, allocations: 30.75 kB / 0.5601 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.1325, allocations: 16.84 kB / 0.5601 GB, free: 1.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.1328, allocations: 231.8 kB / 0.5603 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.1328, allocations: 384 / 0.5603 GB, free: 1.113 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.1328, allocations: 8.312 kB / 0.5603 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.133, allocations: 65.55 kB / 0.5604 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.133, allocations: 3.984 kB / 0.5604 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.133, allocations: 0 / 0.5604 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.133, allocations: 7.938 kB / 0.5604 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.819e-05/0.1331, allocations: 19.98 kB / 0.5604 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000424/0.1335, allocations: 292.9 kB / 0.5607 GB, free: 0.668 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.1337, allocations: 62.61 kB / 0.5608 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.1338, allocations: 16.84 kB / 0.5608 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.1338, allocations: 4 kB / 0.5608 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.1339, allocations: 67.38 kB / 0.5609 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1339, allocations: 0 / 0.5609 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005574/0.1345, allocations: 189.2 kB / 0.561 GB, free: 312 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.1346, allocations: 63.41 kB / 0.5611 GB, free: 236 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.1349, allocations: 271.9 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.1349, allocations: 29.7 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.135, allocations: 116.1 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.042e-05/0.1351, allocations: 19.86 kB / 0.5615 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.1351, allocations: 25.72 kB / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.1353, allocations: 330.8 kB / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.1354, allocations: 31.92 kB / 0.5619 GB, free: 15.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.775e-05/0.1354, allocations: 33.7 kB / 0.5619 GB, free: 15.35 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001184/0.1356, allocations: 53.72 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1356, allocations: 4.375 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002172/0.1358, allocations: 109.5 kB / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.1358, allocations: 8 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1358, allocations: 0 / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1358, allocations: 4.031 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.022e-05/0.1359, allocations: 20 kB / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.1359, allocations: 0 / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.297e-05/0.136, allocations: 7.984 kB / 0.5621 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.136, allocations: 7.938 kB / 0.5621 GB, free: 15.12 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.0001321/0.1361, allocations: 137.8 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.1361, allocations: 15.91 kB / 0.5623 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.495e-05/0.1362, allocations: 21.39 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1362, allocations: 4 kB / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1362, allocations: 0 / 0.5623 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.1362, allocations: 7.938 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/0.1367, allocations: 407.2 kB / 0.5627 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1367, allocations: 0 / 0.5627 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.276e-05/0.1367, allocations: 8.188 kB / 0.5627 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1367, allocations: 0 / 0.5627 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.1368, allocations: 15.86 kB / 0.5627 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1368, allocations: 0 / 0.5627 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.1368, allocations: 8.016 kB / 0.5627 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.137, allocations: 208.5 kB / 0.5629 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.767e-05/0.1371, allocations: 89.02 kB / 0.563 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.1371, allocations: 7.938 kB / 0.563 GB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.102e-05/0.1372, allocations: 4 kB / 0.563 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.419e-05/0.1372, allocations: 7.984 kB / 0.563 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.1372, allocations: 4 kB / 0.563 GB, free: 14.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002086/0.1374, allocations: 216.6 kB / 0.5632 GB, free: 13.88 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1374, allocations: 0 / 0.5632 GB, free: 13.88 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1377, allocations: 31.89 kB / 0.5633 GB, free: 13.85 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.002262/0.14, allocations: 1.102 MB / 0.5643 GB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000211/0.1402, allocations: 59.91 kB / 0.5644 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1402, allocations: 0 / 0.5644 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.324e-05/0.1403, allocations: 28.05 kB / 0.5644 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.1406, allocations: 27.97 kB / 0.5645 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.1428, allocations: 1.87 MB / 0.5663 GB, free: 10.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.1432, allocations: 0.7236 MB / 0.567 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.461e-05/0.1432, allocations: 17.17 kB / 0.567 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.314e-05/0.1433, allocations: 47.41 kB / 0.567 GB, free: 9.992 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1433, allocations: 0 / 0.567 GB, free: 9.992 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.1624, allocations: 3.901 MB / 0.5709 GB, free: 6.152 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/8.3, allocations: 4.062 kB / 0.5709 GB, free: 6.148 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.162592219014186] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.474860786984209 8.489750909 8.355249714 Calling exit ...