Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.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.001698/0.001698, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.002214/0.002214, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.484/1.484, allocations: 230.2 MB / 254.5 MB, free: 15.11 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.2531/0.2531, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31",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.002332/0.002332, allocations: 87.86 kB / 0.4913 GB, free: 8.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1505, allocations: 65.98 MB / 0.5557 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003299/0.1538, allocations: 1.735 MB / 0.5574 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1557, allocations: 1.034 MB / 0.5584 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.128e-05/0.1557, allocations: 4 kB / 0.5584 GB, free: 3.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003196/0.1561, allocations: 39.77 kB / 0.5585 GB, free: 3.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.1564, allocations: 95.59 kB / 0.5586 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.1566, allocations: 79.66 kB / 0.5587 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.1568, allocations: 107.7 kB / 0.5588 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.87e-05/0.1569, allocations: 8 kB / 0.5588 GB, free: 3.25 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.157, allocations: 51.77 kB / 0.5588 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.836e-05/0.1571, allocations: 31.8 kB / 0.5588 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.1571, allocations: 4 kB / 0.5588 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001006/0.1572, allocations: 43.98 kB / 0.5589 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.09e-05/0.1573, allocations: 23.91 kB / 0.5589 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.1573, allocations: 31.75 kB / 0.5589 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1576, allocations: 119.4 kB / 0.5591 GB, free: 2.949 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1576, allocations: 0 / 0.5591 GB, free: 2.949 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.908e-06/0.1576, allocations: 7.922 kB / 0.5591 GB, free: 2.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.1576, allocations: 0 / 0.5591 GB, free: 2.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.0006678/0.1582, allocations: 422.7 kB / 0.5595 GB, free: 2.48 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1583, allocations: 11.97 kB / 0.5595 GB, free: 2.469 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.222e-05/0.1583, allocations: 38.73 kB / 0.5595 GB, free: 2.422 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.1584, allocations: 8.891 kB / 0.5595 GB, free: 2.414 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.1587, allocations: 216.8 kB / 0.5597 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1587, allocations: 4.375 kB / 0.5597 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.1587, allocations: 384 / 0.5597 GB, free: 2.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.1589, allocations: 65.73 kB / 0.5598 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1589, allocations: 4 kB / 0.5598 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1589, allocations: 0 / 0.5598 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1589, allocations: 0 / 0.5598 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.436e-05/0.159, allocations: 19.98 kB / 0.5598 GB, free: 2.066 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003995/0.1594, allocations: 280.9 kB / 0.5601 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.1596, allocations: 62.61 kB / 0.5601 GB, free: 1.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.973e-05/0.1596, allocations: 16.86 kB / 0.5602 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1597, allocations: 7.984 kB / 0.5602 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.1598, allocations: 67.39 kB / 0.5602 GB, free: 1.566 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1598, allocations: 3.938 kB / 0.5602 GB, free: 1.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005329/0.1604, allocations: 173.3 kB / 0.5604 GB, free: 1.387 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.1604, allocations: 59.39 kB / 0.5605 GB, free: 1.316 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.1606, allocations: 194.4 kB / 0.5606 GB, free: 1.117 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.1606, allocations: 29.7 kB / 0.5607 GB, free: 1.082 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.057e-05/0.1607, allocations: 96.14 kB / 0.5608 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.1607, allocations: 31.77 kB / 0.5608 GB, free: 0.9531 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.1608, allocations: 21.72 kB / 0.5608 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.1609, allocations: 326.8 kB / 0.5611 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.674e-05/0.161, allocations: 19.98 kB / 0.5611 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-05/0.1611, allocations: 45.64 kB / 0.5612 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.1612, allocations: 57.7 kB / 0.5612 GB, free: 476 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1612, allocations: 0 / 0.5612 GB, free: 476 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001874/0.1614, allocations: 105.5 kB / 0.5613 GB, free: 364 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1614, allocations: 4 kB / 0.5614 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1614, allocations: 0 / 0.5614 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.1614, allocations: 0 / 0.5614 GB, free: 360 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1616, allocations: 19.98 kB / 0.5614 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/0.1616, allocations: 4.031 kB / 0.5614 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.146e-05/0.1616, allocations: 0 / 0.5614 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.1616, allocations: 4.188 kB / 0.5614 GB, free: 332 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.0001135/0.1617, allocations: 135.2 kB / 0.5615 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.1618, allocations: 19.84 kB / 0.5615 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.733e-05/0.1618, allocations: 21.38 kB / 0.5615 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1618, allocations: 0 / 0.5615 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1618, allocations: 4 kB / 0.5615 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.1618, allocations: 4 kB / 0.5616 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005534/0.1624, allocations: 391.3 kB / 0.5619 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.1624, allocations: 4 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.989e-05/0.1624, allocations: 4 kB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.1624, allocations: 7.984 kB / 0.5619 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1624, allocations: 0 / 0.5619 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1624, allocations: 3.938 kB / 0.5619 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.1624, allocations: 4 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002417/0.1627, allocations: 204.3 kB / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.165e-05/0.1627, allocations: 88.95 kB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.1627, allocations: 4.375 kB / 0.5622 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.291e-05/0.1628, allocations: 11.92 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.1629, allocations: 4 kB / 0.5622 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1629, allocations: 8 kB / 0.5623 GB, free: 15.31 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.163, allocations: 152.2 kB / 0.5624 GB, free: 15.16 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.163, allocations: 0 / 0.5624 GB, free: 15.16 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1633, allocations: 27.92 kB / 0.5624 GB, free: 15.14 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.002152/0.1654, allocations: 1.092 MB / 0.5635 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.1656, allocations: 55.91 kB / 0.5635 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1656, allocations: 0 / 0.5635 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.868e-05/0.1657, allocations: 27.94 kB / 0.5636 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.1661, allocations: 34.12 kB / 0.5636 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.168, allocations: 1.664 MB / 0.5652 GB, free: 12.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.1684, allocations: 0.7041 MB / 0.5659 GB, free: 11.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.343e-05/0.1685, allocations: 21.17 kB / 0.5659 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.1685, allocations: 35.42 kB / 0.566 GB, free: 11.54 MB / 430.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1685, allocations: 0 / 0.566 GB, free: 11.54 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.1965, allocations: 3.495 MB / 0.5694 GB, free: 8.113 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.26, allocations: 2.531 kB / 0.5694 GB, free: 8.113 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.343006544746459] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.383108827285469 8.398018888 8.237593695 Calling exit ...