Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.001688/0.001688, allocations: 116.9 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.002096/0.002096, allocations: 220.7 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.451/1.451, allocations: 230.5 MB / 254.7 MB, free: 15.01 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.2223/0.2223, allocations: 46.92 MB / 357.7 MB, free: 10.16 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.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 79.88 kB / 0.4917 GB, free: 7.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1267, allocations: 66.04 MB / 0.5562 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003348/0.1301, allocations: 1.731 MB / 0.5579 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.132, allocations: 1.039 MB / 0.5589 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.594e-05/0.1321, allocations: 0 / 0.5589 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.1325, allocations: 87.69 kB / 0.559 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003687/0.1328, allocations: 115.5 kB / 0.5591 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.133, allocations: 67.75 kB / 0.5592 GB, free: 2.34 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002095/0.1332, allocations: 127.6 kB / 0.5593 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1333, allocations: 8 kB / 0.5593 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1335, allocations: 59.75 kB / 0.5594 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.1336, allocations: 63.8 kB / 0.5595 GB, free: 2.086 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.1336, allocations: 8 kB / 0.5595 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.636e-05/0.1337, allocations: 43.98 kB / 0.5595 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.725e-05/0.1338, allocations: 27.8 kB / 0.5595 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.177e-05/0.1338, allocations: 39.73 kB / 0.5596 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.134, allocations: 123.4 kB / 0.5597 GB, free: 1.848 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.134, allocations: 3.984 kB / 0.5597 GB, free: 1.844 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.134, allocations: 0 / 0.5597 GB, free: 1.844 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.1341, allocations: 0 / 0.5597 GB, free: 1.844 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.0006311/0.1347, allocations: 426.6 kB / 0.5601 GB, free: 1.379 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1347, allocations: 8.031 kB / 0.5601 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.57e-05/0.1347, allocations: 8.188 kB / 0.5601 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/0.1348, allocations: 34.75 kB / 0.5601 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.1348, allocations: 12.84 kB / 0.5602 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.1352, allocations: 220.1 kB / 0.5604 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1352, allocations: 4.375 kB / 0.5604 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.1352, allocations: 384 / 0.5604 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.1354, allocations: 61.61 kB / 0.5604 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1354, allocations: 0 / 0.5604 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1354, allocations: 4 kB / 0.5604 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1354, allocations: 0 / 0.5604 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.528e-05/0.1355, allocations: 19.98 kB / 0.5605 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004029/0.1359, allocations: 300.7 kB / 0.5607 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.1361, allocations: 58.61 kB / 0.5608 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.089e-05/0.1361, allocations: 24.84 kB / 0.5608 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.1361, allocations: 0 / 0.5608 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.1363, allocations: 75.27 kB / 0.5609 GB, free: 448 kB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1363, allocations: 0 / 0.5609 GB, free: 448 kB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005603/0.1369, allocations: 177.6 kB / 0.5611 GB, free: 264 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.1369, allocations: 55.34 kB / 0.5611 GB, free: 196 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.1372, allocations: 232 kB / 0.5613 GB, free: 15.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1372, allocations: 25.7 kB / 0.5614 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.1373, allocations: 112.1 kB / 0.5615 GB, free: 15.8 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.1373, allocations: 23.8 kB / 0.5615 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.1373, allocations: 21.7 kB / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1375, allocations: 326.8 kB / 0.5618 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/0.1375, allocations: 20 kB / 0.5618 GB, free: 15.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.623e-05/0.1376, allocations: 33.7 kB / 0.5619 GB, free: 15.36 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.1377, allocations: 77.61 kB / 0.5619 GB, free: 15.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1378, allocations: 0 / 0.5619 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001893/0.1379, allocations: 97.58 kB / 0.562 GB, free: 15.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.138, allocations: 8 kB / 0.562 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.138, allocations: 0 / 0.562 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.138, allocations: 0 / 0.562 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.665e-05/0.1381, allocations: 19.94 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1381, allocations: 4.031 kB / 0.5621 GB, free: 15.15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.1381, allocations: 7.984 kB / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1381, allocations: 7.938 kB / 0.5621 GB, free: 15.14 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.0001029/0.1382, allocations: 121.8 kB / 0.5622 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.1383, allocations: 19.89 kB / 0.5622 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.597e-05/0.1383, allocations: 17.41 kB / 0.5622 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1383, allocations: 0 / 0.5622 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1383, allocations: 0 / 0.5622 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1383, allocations: 0 / 0.5622 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.1388, allocations: 407.2 kB / 0.5626 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1388, allocations: 0 / 0.5626 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.1388, allocations: 8 kB / 0.5626 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1388, allocations: 0 / 0.5626 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1388, allocations: 11.86 kB / 0.5626 GB, free: 14.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.1389, allocations: 7.938 kB / 0.5627 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1389, allocations: 0 / 0.5627 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.1391, allocations: 204.3 kB / 0.5628 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.1392, allocations: 85.25 kB / 0.5629 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.1392, allocations: 3.938 kB / 0.5629 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.1393, allocations: 11.94 kB / 0.5629 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.677e-05/0.1393, allocations: 7.984 kB / 0.5629 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.1393, allocations: 4 kB / 0.563 GB, free: 14.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.1395, allocations: 165.2 kB / 0.5631 GB, free: 13.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1395, allocations: 8 kB / 0.5631 GB, free: 13.96 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1397, allocations: 23.94 kB / 0.5631 GB, free: 13.94 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.002155/0.1419, allocations: 1.093 MB / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.1421, allocations: 63.84 kB / 0.5643 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1421, allocations: 0 / 0.5643 GB, free: 12.92 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.1421, allocations: 23.98 kB / 0.5643 GB, free: 12.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1425, allocations: 33.98 kB / 0.5643 GB, free: 12.87 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.1444, allocations: 1.722 MB / 0.566 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1447, allocations: 0.708 MB / 0.5667 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.186e-05/0.1448, allocations: 17.19 kB / 0.5667 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.1449, allocations: 39.42 kB / 0.5668 GB, free: 10.27 MB / 430.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1449, allocations: 0 / 0.5668 GB, free: 10.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.1632, allocations: 3.619 MB / 0.5703 GB, free: 6.715 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.243, allocations: 6.5 kB / 0.5703 GB, free: 6.711 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.217659182962961] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.418318067968357 8.433734837 8.296617717 Calling exit ...