Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.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.001762/0.001762, allocations: 125.8 kB / 18.51 MB, free: 4.555 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.002258/0.002258, allocations: 215.2 kB / 21.46 MB, free: 1.602 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.57/1.57, 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.2317/0.2317, allocations: 46.89 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.Test42,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42",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.002197/0.002197, allocations: 87.86 kB / 0.4913 GB, free: 8.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1409, allocations: 65.98 MB / 0.5557 GB, free: 6.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003185/0.1441, allocations: 1.733 MB / 0.5574 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.1459, allocations: 1.038 MB / 0.5584 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.278e-05/0.146, allocations: 3.938 kB / 0.5585 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002944/0.1463, allocations: 39.78 kB / 0.5585 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003161/0.1466, allocations: 95.59 kB / 0.5586 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000207/0.1468, allocations: 79.66 kB / 0.5587 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1471, allocations: 107.7 kB / 0.5588 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.1471, allocations: 12 kB / 0.5588 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.713e-05/0.1472, allocations: 47.77 kB / 0.5588 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.278e-05/0.1473, allocations: 27.86 kB / 0.5588 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1473, allocations: 4 kB / 0.5588 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1474, allocations: 47.92 kB / 0.5589 GB, free: 3.082 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.438e-05/0.1475, allocations: 23.91 kB / 0.5589 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.1476, allocations: 39.67 kB / 0.559 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.1478, allocations: 119.5 kB / 0.5591 GB, free: 2.902 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1478, allocations: 0 / 0.5591 GB, free: 2.902 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1478, allocations: 0 / 0.5591 GB, free: 2.902 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1478, allocations: 8 kB / 0.5591 GB, free: 2.895 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.0005797/0.1484, allocations: 426.6 kB / 0.5595 GB, free: 2.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1484, allocations: 12.03 kB / 0.5595 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.513e-05/0.1484, allocations: 38.62 kB / 0.5595 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.1485, allocations: 8.891 kB / 0.5595 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.1488, allocations: 220.1 kB / 0.5597 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.1488, allocations: 384 / 0.5597 GB, free: 2.109 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.1488, allocations: 4.359 kB / 0.5598 GB, free: 2.105 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.149, allocations: 65.8 kB / 0.5598 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.149, allocations: 0 / 0.5598 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.149, allocations: 0 / 0.5598 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.149, allocations: 0 / 0.5598 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.1491, allocations: 23.92 kB / 0.5598 GB, free: 2.012 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004121/0.1495, allocations: 288.8 kB / 0.5601 GB, free: 1.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.1497, allocations: 58.67 kB / 0.5602 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.1497, allocations: 16.86 kB / 0.5602 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.733e-05/0.1497, allocations: 0 / 0.5602 GB, free: 1.594 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.1499, allocations: 67.33 kB / 0.5602 GB, free: 1.516 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.243e-06/0.1499, allocations: 0 / 0.5602 GB, free: 1.516 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005798/0.1505, allocations: 185.3 kB / 0.5604 GB, free: 1.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.1505, allocations: 59.41 kB / 0.5605 GB, free: 1.258 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.1508, allocations: 214.1 kB / 0.5607 GB, free: 1.039 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1508, allocations: 25.7 kB / 0.5607 GB, free: 1.008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.615e-05/0.1509, allocations: 100.1 kB / 0.5608 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.1509, allocations: 27.78 kB / 0.5608 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.151, allocations: 21.72 kB / 0.5609 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1511, allocations: 334.8 kB / 0.5612 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.896e-05/0.1512, allocations: 16 kB / 0.5612 GB, free: 0.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.884e-05/0.1513, allocations: 37.7 kB / 0.5612 GB, free: 468 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.1514, allocations: 65.7 kB / 0.5613 GB, free: 396 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1514, allocations: 0 / 0.5613 GB, free: 396 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001953/0.1516, allocations: 97.59 kB / 0.5614 GB, free: 292 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1516, allocations: 4 kB / 0.5614 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1516, allocations: 4 kB / 0.5614 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1516, allocations: 8.016 kB / 0.5614 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.078e-05/0.1517, allocations: 15.94 kB / 0.5614 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1517, allocations: 0 / 0.5614 GB, free: 260 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.832e-05/0.1518, allocations: 12.12 kB / 0.5614 GB, free: 248 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1518, allocations: 4 kB / 0.5614 GB, free: 244 kB / 414.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.0001178/0.1519, allocations: 134.8 kB / 0.5616 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.1519, allocations: 19.89 kB / 0.5616 GB, free: 80 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.564e-05/0.152, allocations: 17.39 kB / 0.5616 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.152, allocations: 0 / 0.5616 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.152, allocations: 4 kB / 0.5616 GB, free: 52 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.152, allocations: 4 kB / 0.5616 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/0.1525, allocations: 395.3 kB / 0.562 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1525, allocations: 3.984 kB / 0.562 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.264e-05/0.1525, allocations: 8 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1525, allocations: 3.938 kB / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1525, allocations: 0 / 0.562 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.1526, allocations: 7.938 kB / 0.562 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1526, allocations: 4.031 kB / 0.562 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.1528, allocations: 204.3 kB / 0.5622 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.76e-05/0.1529, allocations: 89.05 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.1529, allocations: 0 / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.153, allocations: 12.31 kB / 0.5623 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.153, allocations: 3.984 kB / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.153, allocations: 12 kB / 0.5623 GB, free: 15.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.1531, allocations: 160.8 kB / 0.5625 GB, free: 15.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1531, allocations: 0 / 0.5625 GB, free: 15.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002559/0.1534, allocations: 23.94 kB / 0.5625 GB, free: 15.04 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.002095/0.1555, allocations: 1.1 MB / 0.5636 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.1557, allocations: 59.86 kB / 0.5636 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1557, allocations: 0 / 0.5636 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.1558, allocations: 27.98 kB / 0.5636 GB, free: 14.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.1561, allocations: 27.98 kB / 0.5637 GB, free: 13.98 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.158, allocations: 1.693 MB / 0.5653 GB, free: 12.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/0.1584, allocations: 0.7119 MB / 0.566 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.803e-05/0.1585, allocations: 20.8 kB / 0.566 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.577e-05/0.1585, allocations: 35.42 kB / 0.5661 GB, free: 11.4 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1585, allocations: 0 / 0.5661 GB, free: 11.4 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.1828, allocations: 3.545 MB / 0.5695 GB, free: 7.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.119, allocations: 5.969 kB / 0.5695 GB, free: 7.914 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.204506812617183] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.241289675235748 8.256933808 8.106185599 Calling exit ...