Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.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.001275/0.001275, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001336/0.001336, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.425/1.425, allocations: 230.2 MB / 254.5 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2223/0.2223, allocations: 46.88 MB / 357.4 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 88.14 kB / 0.4913 GB, free: 8.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1214, allocations: 65.98 MB / 0.5557 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003527/0.1249, allocations: 2.042 MB / 0.5577 GB, free: 4.281 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.1268, allocations: 1.127 MB / 0.5588 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.87e-05/0.1269, allocations: 0 / 0.5588 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.1272, allocations: 47.64 kB / 0.5589 GB, free: 3.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.1275, allocations: 111.4 kB / 0.559 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.1278, allocations: 115.6 kB / 0.5591 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002841/0.1281, allocations: 203.4 kB / 0.5593 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1282, allocations: 25.67 kB / 0.5593 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.1283, allocations: 83.62 kB / 0.5594 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.1285, allocations: 83.61 kB / 0.5595 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.764e-05/0.1285, allocations: 12 kB / 0.5595 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1286, allocations: 55.97 kB / 0.5595 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.27e-05/0.1287, allocations: 35.84 kB / 0.5596 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.906e-05/0.1288, allocations: 71.48 kB / 0.5596 GB, free: 2.32 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003091/0.1291, allocations: 199.1 kB / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1291, allocations: 0 / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1291, allocations: 0 / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.1291, allocations: 4 kB / 0.5598 GB, free: 2.121 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009553/0.13, allocations: 0.5757 MB / 0.5604 GB, free: 1.484 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1301, allocations: 12.03 kB / 0.5604 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.1301, allocations: 34.75 kB / 0.5604 GB, free: 1.43 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.1302, allocations: 20.84 kB / 0.5604 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.1305, allocations: 261 kB / 0.5607 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1305, allocations: 8.375 kB / 0.5607 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/0.1306, allocations: 8.359 kB / 0.5607 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.131, allocations: 158.6 kB / 0.5609 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.131, allocations: 0 / 0.5609 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.131, allocations: 4 kB / 0.5609 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.131, allocations: 4 kB / 0.5609 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.1315, allocations: 103.9 kB / 0.561 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007031/0.1322, allocations: 0.5516 MB / 0.5615 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006321/0.1328, allocations: 162.4 kB / 0.5617 GB, free: 48 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002534/0.133, allocations: 68.8 kB / 0.5617 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.1331, allocations: 11.94 kB / 0.5617 GB, free: 15.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003769/0.1334, allocations: 127.3 kB / 0.5619 GB, free: 15.83 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.583e-06/0.1334, allocations: 0 / 0.5619 GB, free: 15.83 MB / 430.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008524/0.1343, allocations: 257.3 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.68e-05/0.1343, allocations: 55.41 kB / 0.5622 GB, free: 15.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.1346, allocations: 244.8 kB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.1346, allocations: 29.7 kB / 0.5624 GB, free: 15.22 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.337e-05/0.1347, allocations: 124.4 kB / 0.5625 GB, free: 15.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.1348, allocations: 47.81 kB / 0.5626 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.1348, allocations: 33.7 kB / 0.5626 GB, free: 15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.135, allocations: 330.8 kB / 0.5629 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002521/0.1352, allocations: 63.94 kB / 0.563 GB, free: 14.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.1355, allocations: 108.2 kB / 0.5631 GB, free: 14.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005025/0.136, allocations: 201 kB / 0.5633 GB, free: 14.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.136, allocations: 0 / 0.5633 GB, free: 14.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006315/0.1366, allocations: 259.1 kB / 0.5635 GB, free: 14.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.1367, allocations: 33.7 kB / 0.5636 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1367, allocations: 0 / 0.5636 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1367, allocations: 4 kB / 0.5636 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.1369, allocations: 35.91 kB / 0.5636 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1369, allocations: 7.938 kB / 0.5636 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/0.1371, allocations: 31.86 kB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.1371, allocations: 4 kB / 0.5636 GB, free: 13.89 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001385/0.1372, allocations: 141.9 kB / 0.5638 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.1372, allocations: 15.91 kB / 0.5638 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.209e-05/0.1373, allocations: 25.33 kB / 0.5638 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1373, allocations: 4 kB / 0.5638 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1373, allocations: 3.938 kB / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1373, allocations: 0 / 0.5638 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.1375, allocations: 237.5 kB / 0.5641 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1375, allocations: 3.984 kB / 0.5641 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.1377, allocations: 27.97 kB / 0.5641 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1377, allocations: 0 / 0.5641 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1377, allocations: 4 kB / 0.5641 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1377, allocations: 0 / 0.5641 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1377, allocations: 7.938 kB / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008346/0.1386, allocations: 300.8 kB / 0.5644 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.1386, allocations: 93 kB / 0.5645 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.1387, allocations: 15.86 kB / 0.5645 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.1388, allocations: 19.97 kB / 0.5645 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.1389, allocations: 19.92 kB / 0.5645 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1389, allocations: 4 kB / 0.5645 GB, free: 12.88 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000166/0.1391, allocations: 177.7 kB / 0.5647 GB, free: 12.71 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1391, allocations: 0 / 0.5647 GB, free: 12.71 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.1393, allocations: 43.92 kB / 0.5647 GB, free: 12.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002455/0.1418, allocations: 1.138 MB / 0.5659 GB, free: 11.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006273/0.1424, allocations: 215 kB / 0.5661 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1424, allocations: 0 / 0.5661 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002573/0.1427, allocations: 67.94 kB / 0.5661 GB, free: 11.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.143, allocations: 57.95 kB / 0.5662 GB, free: 11.31 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.1464, allocations: 2.182 MB / 0.5683 GB, free: 9.016 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.1467, allocations: 0.7319 MB / 0.569 GB, free: 8.258 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1468, allocations: 25.53 kB / 0.569 GB, free: 8.234 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.1469, allocations: 55.41 kB / 0.5691 GB, free: 8.18 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1469, allocations: 0 / 0.5691 GB, free: 8.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02874/0.1757, allocations: 5.063 MB / 0.574 GB, free: 3.188 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.399/8.575, allocations: 8.047 kB / 0.5741 GB, free: 3.18 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --stepSize=0.00039968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.43170766113326] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 8.700270660221577 8.726665954 8.592835586 Calling exit ...