Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.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.001294/0.001294, allocations: 118.7 kB / 18.5 MB, free: 4.574 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.001332/0.001332, allocations: 210.5 kB / 21.46 MB, free: 1.617 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.437/1.437, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.227/0.227, allocations: 46.89 MB / 357.4 MB, free: 10.54 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.Test59,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59",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.002304/0.002304, allocations: 79.88 kB / 0.4913 GB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1243, allocations: 65.99 MB / 0.5557 GB, free: 6.406 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003057/0.1274, allocations: 1.739 MB / 0.5574 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002402/0.1298, allocations: 1.64 MB / 0.559 GB, free: 3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.1299, allocations: 7.938 kB / 0.559 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.1301, allocations: 31.83 kB / 0.5591 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.1304, allocations: 99.55 kB / 0.5592 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.1306, allocations: 79.67 kB / 0.5592 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.1308, allocations: 107.7 kB / 0.5594 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.543e-05/0.1309, allocations: 12 kB / 0.5594 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.19e-05/0.131, allocations: 43.78 kB / 0.5594 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.1311, allocations: 47.77 kB / 0.5594 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1311, allocations: 8 kB / 0.5595 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.1313, allocations: 107.9 kB / 0.5596 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.1314, allocations: 27.84 kB / 0.5596 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.543e-05/0.1314, allocations: 35.73 kB / 0.5596 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.1317, allocations: 167.4 kB / 0.5598 GB, free: 2.238 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1317, allocations: 0 / 0.5598 GB, free: 2.238 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1317, allocations: 0 / 0.5598 GB, free: 2.238 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.1317, allocations: 0 / 0.5598 GB, free: 2.238 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.0006014/0.1323, allocations: 426.6 kB / 0.5602 GB, free: 1.773 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1323, allocations: 12.03 kB / 0.5602 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.1324, allocations: 38.69 kB / 0.5602 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.1324, allocations: 16.84 kB / 0.5603 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.1327, allocations: 219.5 kB / 0.5605 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.1327, allocations: 4.375 kB / 0.5605 GB, free: 1.445 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1327, allocations: 7.938 kB / 0.5605 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.1329, allocations: 67.39 kB / 0.5605 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1329, allocations: 0 / 0.5605 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1329, allocations: 0 / 0.5605 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1329, allocations: 0 / 0.5605 GB, free: 1.359 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.133, allocations: 27.92 kB / 0.5606 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.1334, allocations: 292.9 kB / 0.5608 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.1336, allocations: 46.69 kB / 0.5609 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.537e-05/0.1336, allocations: 20.84 kB / 0.5609 GB, free: 0.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.1336, allocations: 8 kB / 0.5609 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.1338, allocations: 67.33 kB / 0.561 GB, free: 0.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1338, allocations: 0 / 0.561 GB, free: 0.832 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005533/0.1344, allocations: 181.3 kB / 0.5612 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.1344, allocations: 85.05 kB / 0.5612 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.1346, allocations: 166.4 kB / 0.5614 GB, free: 380 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1346, allocations: 25.7 kB / 0.5614 GB, free: 348 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.573e-05/0.1347, allocations: 104.1 kB / 0.5615 GB, free: 240 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.1347, allocations: 23.81 kB / 0.5615 GB, free: 216 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.807e-05/0.1348, allocations: 29.7 kB / 0.5616 GB, free: 180 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1349, allocations: 326.8 kB / 0.5619 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.727e-05/0.135, allocations: 12 kB / 0.5619 GB, free: 15.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.1351, allocations: 42.56 kB / 0.5619 GB, free: 15.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.1352, allocations: 69.66 kB / 0.562 GB, free: 15.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.1352, allocations: 0 / 0.562 GB, free: 15.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002061/0.1354, allocations: 97.58 kB / 0.5621 GB, free: 15.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1354, allocations: 4 kB / 0.5621 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1354, allocations: 3.984 kB / 0.5621 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.1354, allocations: 4 kB / 0.5621 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.1355, allocations: 16 kB / 0.5621 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1355, allocations: 0 / 0.5621 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.1356, allocations: 11.97 kB / 0.5621 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.1356, allocations: 384 / 0.5621 GB, free: 15.57 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.0001027/0.1357, allocations: 126.9 kB / 0.5622 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.1357, allocations: 7.953 kB / 0.5623 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.1357, allocations: 20.66 kB / 0.5623 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1357, allocations: 4 kB / 0.5623 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1358, allocations: 7.984 kB / 0.5623 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1358, allocations: 3.938 kB / 0.5623 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004925/0.1362, allocations: 399.3 kB / 0.5627 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1362, allocations: 0 / 0.5627 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.1363, allocations: 11.94 kB / 0.5627 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1363, allocations: 3.938 kB / 0.5627 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.1363, allocations: 4 kB / 0.5627 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1363, allocations: 0 / 0.5627 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1363, allocations: 0 / 0.5627 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.1366, allocations: 204.4 kB / 0.5629 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.1366, allocations: 85.06 kB / 0.563 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.1366, allocations: 3.938 kB / 0.563 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.1367, allocations: 8 kB / 0.563 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.039e-05/0.1367, allocations: 8.172 kB / 0.563 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.1368, allocations: 7.938 kB / 0.563 GB, free: 14.58 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.1369, allocations: 131.9 kB / 0.5631 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1369, allocations: 0 / 0.5631 GB, free: 14.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.1372, allocations: 47.86 kB / 0.5632 GB, free: 14.4 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.002355/0.1395, allocations: 1.186 MB / 0.5643 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.1397, allocations: 55.91 kB / 0.5644 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1397, allocations: 0 / 0.5644 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.495e-05/0.1398, allocations: 27.92 kB / 0.5644 GB, free: 13.31 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1402, allocations: 27.8 kB / 0.5644 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.142, allocations: 1.6 MB / 0.566 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.1423, allocations: 0.6934 MB / 0.5667 GB, free: 10.87 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.29e-05/0.1424, allocations: 16.88 kB / 0.5667 GB, free: 10.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.576e-05/0.1424, allocations: 47.41 kB / 0.5667 GB, free: 10.8 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1424, allocations: 0 / 0.5667 GB, free: 10.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.1699, allocations: 4.055 MB / 0.5707 GB, free: 6.777 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.332/8.501, allocations: 19.78 kB / 0.5707 GB, free: 6.766 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --stepSize=0.0198452 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.325381333939731] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.624672163743526 8.642555083 8.5079802 Calling exit ...