Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.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.001311/0.001311, allocations: 116.4 kB / 18.5 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.001334/0.001334, allocations: 212.9 kB / 21.46 MB, free: 1.586 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.553/1.553, 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.2477/0.2477, 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.Test85,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85",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.00232/0.00232, allocations: 79.81 kB / 0.4913 GB, free: 8.598 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1546, allocations: 65.98 MB / 0.5557 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.003432/0.158, allocations: 1.688 MB / 0.5574 GB, free: 4.777 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1597, allocations: 1.016 MB / 0.5584 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.901e-05/0.1598, allocations: 4 kB / 0.5584 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.1601, allocations: 51.75 kB / 0.5584 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.1605, allocations: 107.5 kB / 0.5585 GB, free: 3.598 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.1607, allocations: 79.72 kB / 0.5586 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.1609, allocations: 95.7 kB / 0.5587 GB, free: 3.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.774e-05/0.1609, allocations: 8.219 kB / 0.5587 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.161, allocations: 51.77 kB / 0.5588 GB, free: 3.367 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.762e-05/0.1611, allocations: 39.78 kB / 0.5588 GB, free: 3.328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1612, allocations: 4 kB / 0.5588 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.263e-05/0.1612, allocations: 39.97 kB / 0.5588 GB, free: 3.285 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.1613, allocations: 15.94 kB / 0.5588 GB, free: 3.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.272e-05/0.1613, allocations: 27.8 kB / 0.5589 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.1616, allocations: 103.5 kB / 0.559 GB, free: 3.141 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1616, allocations: 4 kB / 0.559 GB, free: 3.137 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1616, allocations: 3.938 kB / 0.559 GB, free: 3.133 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1616, allocations: 0 / 0.559 GB, free: 3.133 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006145/0.1622, allocations: 409 kB / 0.5594 GB, free: 2.688 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1622, allocations: 15.97 kB / 0.5594 GB, free: 2.672 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.1623, allocations: 34.75 kB / 0.5594 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.1623, allocations: 8.891 kB / 0.5594 GB, free: 2.621 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.1626, allocations: 212.1 kB / 0.5596 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1626, allocations: 384 / 0.5596 GB, free: 2.375 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/0.1627, allocations: 8.375 kB / 0.5596 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.1628, allocations: 53.73 kB / 0.5597 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1628, allocations: 0 / 0.5597 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1628, allocations: 0 / 0.5597 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1628, allocations: 0 / 0.5597 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.569e-05/0.1629, allocations: 19.98 kB / 0.5597 GB, free: 2.289 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000224/0.1631, allocations: 181.7 kB / 0.5599 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.1633, allocations: 46.61 kB / 0.5599 GB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.071e-05/0.1633, allocations: 20.84 kB / 0.5599 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.1634, allocations: 4 kB / 0.5599 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.1635, allocations: 79.27 kB / 0.56 GB, free: 1.891 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.1635, allocations: 0 / 0.56 GB, free: 1.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002972/0.1638, allocations: 89.62 kB / 0.5601 GB, free: 1.797 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.1639, allocations: 51.41 kB / 0.5602 GB, free: 1.734 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.1641, allocations: 185.4 kB / 0.5603 GB, free: 1.543 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.1641, allocations: 29.7 kB / 0.5604 GB, free: 1.508 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/0.1642, allocations: 104.1 kB / 0.5605 GB, free: 1.402 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.556e-05/0.1642, allocations: 15.89 kB / 0.5605 GB, free: 1.387 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.1643, allocations: 17.72 kB / 0.5605 GB, free: 1.363 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1644, allocations: 322.8 kB / 0.5608 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.378e-05/0.1645, allocations: 15.98 kB / 0.5608 GB, free: 1.023 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.467e-05/0.1645, allocations: 29.7 kB / 0.5608 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.908e-05/0.1646, allocations: 41.72 kB / 0.5609 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1646, allocations: 4 kB / 0.5609 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001639/0.1648, allocations: 89.45 kB / 0.561 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1648, allocations: 8 kB / 0.561 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1648, allocations: 0 / 0.561 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1648, allocations: 0 / 0.561 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.165, allocations: 8 kB / 0.561 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.165, allocations: 7.938 kB / 0.561 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.122e-05/0.165, allocations: 0 / 0.561 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1651, allocations: 7.984 kB / 0.561 GB, free: 0.8125 MB / 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 (7): * Single equations (assignments): 7 * 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.0001429/0.1652, allocations: 129.8 kB / 0.5611 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.1652, allocations: 11.89 kB / 0.5611 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.1653, allocations: 16.92 kB / 0.5612 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1653, allocations: 0 / 0.5612 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1653, allocations: 0 / 0.5612 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1653, allocations: 0 / 0.5612 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.1655, allocations: 185.6 kB / 0.5613 GB, free: 424 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1655, allocations: 3.938 kB / 0.5613 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.1655, allocations: 4.312 kB / 0.5613 GB, free: 416 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.1655, allocations: 3.984 kB / 0.5613 GB, free: 412 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.1655, allocations: 12 kB / 0.5614 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1655, allocations: 0 / 0.5614 GB, free: 400 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1655, allocations: 4 kB / 0.5614 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.1657, allocations: 101.1 kB / 0.5615 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.1658, allocations: 88.94 kB / 0.5615 GB, free: 168 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1658, allocations: 8 kB / 0.5615 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.275e-05/0.1658, allocations: 0 / 0.5615 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.1658, allocations: 11.98 kB / 0.5616 GB, free: 148 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.1659, allocations: 0 / 0.5616 GB, free: 148 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.166, allocations: 136.9 kB / 0.5617 GB, free: 12 kB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.166, allocations: 0 / 0.5617 GB, free: 12 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.1662, allocations: 23.92 kB / 0.5617 GB, free: 15.99 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001971/0.1682, allocations: 0.9444 MB / 0.5626 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.1684, allocations: 35.92 kB / 0.5627 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1684, allocations: 0 / 0.5627 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.122e-05/0.1684, allocations: 16 kB / 0.5627 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.1687, allocations: 49.86 kB / 0.5627 GB, free: 15.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.1704, allocations: 1.484 MB / 0.5642 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.1707, allocations: 0.7079 MB / 0.5649 GB, free: 12.76 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.29e-05/0.1708, allocations: 12.55 kB / 0.5649 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/0.1708, allocations: 27.42 kB / 0.5649 GB, free: 12.72 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1708, allocations: 0 / 0.5649 GB, free: 12.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.1981, allocations: 3.127 MB / 0.568 GB, free: 9.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.821/8.019, allocations: 12.06 kB / 0.568 GB, free: 9.648 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --stepSize=0.00059952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.239941121079028] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.145128522068262 8.172466108 8.005936218 Calling exit ...