Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001677/0.001677, allocations: 122.2 kB / 18.5 MB, free: 4.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002191/0.002191, allocations: 215.1 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2481/0.2481, allocations: 46.92 MB / 357.8 MB, free: 10.34 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 67.89 kB / 0.4917 GB, free: 7.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1487, allocations: 65.98 MB / 0.5561 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.004442/0.1532, allocations: 1.732 MB / 0.5578 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.1554, allocations: 1.044 MB / 0.5589 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.1555, allocations: 0 / 0.5589 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.1558, allocations: 39.77 kB / 0.5589 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003827/0.1562, allocations: 99.53 kB / 0.559 GB, free: 2.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.1565, allocations: 79.73 kB / 0.5591 GB, free: 2.758 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002321/0.1567, allocations: 107.6 kB / 0.5592 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1568, allocations: 11.98 kB / 0.5592 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.1569, allocations: 47.78 kB / 0.5592 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.531e-05/0.157, allocations: 31.84 kB / 0.5593 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1571, allocations: 4 kB / 0.5593 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1572, allocations: 47.97 kB / 0.5593 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.1572, allocations: 23.86 kB / 0.5593 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.054e-05/0.1573, allocations: 31.75 kB / 0.5594 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.1576, allocations: 119.4 kB / 0.5595 GB, free: 2.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1576, allocations: 4 kB / 0.5595 GB, free: 2.336 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1576, allocations: 0 / 0.5595 GB, free: 2.336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1576, allocations: 3.938 kB / 0.5595 GB, free: 2.332 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.0006842/0.1583, allocations: 422.7 kB / 0.5599 GB, free: 1.871 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1583, allocations: 8.031 kB / 0.5599 GB, free: 1.863 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.404e-05/0.1583, allocations: 4.188 kB / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.133e-05/0.1584, allocations: 30.75 kB / 0.5599 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.1584, allocations: 12.88 kB / 0.5599 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.1587, allocations: 223.1 kB / 0.5601 GB, free: 1.555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1588, allocations: 12.11 kB / 0.5602 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.1588, allocations: 0 / 0.5602 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1589, allocations: 53.67 kB / 0.5602 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1589, allocations: 0 / 0.5602 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.159, allocations: 0 / 0.5602 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.159, allocations: 4 kB / 0.5602 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.159, allocations: 19.92 kB / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.1594, allocations: 300.8 kB / 0.5605 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.1596, allocations: 54.66 kB / 0.5606 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/0.1597, allocations: 16.86 kB / 0.5606 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1597, allocations: 0 / 0.5606 GB, free: 1.035 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001734/0.1599, allocations: 75.33 kB / 0.5607 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1599, allocations: 0 / 0.5607 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006048/0.1605, allocations: 173.4 kB / 0.5608 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.1605, allocations: 55.34 kB / 0.5609 GB, free: 0.707 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.1607, allocations: 202.3 kB / 0.5611 GB, free: 0.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.1608, allocations: 25.7 kB / 0.5611 GB, free: 480 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.1608, allocations: 108.1 kB / 0.5612 GB, free: 368 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.1609, allocations: 23.78 kB / 0.5612 GB, free: 344 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.1609, allocations: 25.72 kB / 0.5612 GB, free: 312 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1611, allocations: 322.8 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.505e-05/0.1611, allocations: 23.98 kB / 0.5616 GB, free: 15.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.1612, allocations: 33.7 kB / 0.5616 GB, free: 15.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.1613, allocations: 61.66 kB / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1613, allocations: 384 / 0.5617 GB, free: 15.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.1615, allocations: 101.7 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1615, allocations: 8 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1615, allocations: 80 / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.1616, allocations: 0 / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1617, allocations: 24.11 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.1617, allocations: 11.92 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.1617, allocations: 7.938 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.1617, allocations: 4 kB / 0.5618 GB, free: 15.69 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.0001121/0.1618, allocations: 128 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.1619, allocations: 11.91 kB / 0.562 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.1619, allocations: 17.41 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1619, allocations: 0 / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1619, allocations: 3.938 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1619, allocations: 0 / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.1624, allocations: 395.3 kB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1624, allocations: 0 / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.441e-05/0.1624, allocations: 15.94 kB / 0.5624 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1624, allocations: 7.969 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1624, allocations: 4 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1625, allocations: 3.938 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1625, allocations: 3.984 kB / 0.5624 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002503/0.1627, allocations: 200.3 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/0.1628, allocations: 92.95 kB / 0.5627 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.1628, allocations: 8 kB / 0.5627 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.1629, allocations: 0 / 0.5627 GB, free: 14.71 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.1629, allocations: 7.984 kB / 0.5627 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.1629, allocations: 8 kB / 0.5627 GB, free: 14.69 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001303/0.163, allocations: 144.2 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.163, allocations: 0 / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1633, allocations: 23.94 kB / 0.5628 GB, free: 14.53 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.00221/0.1655, allocations: 1.094 MB / 0.5639 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001971/0.1657, allocations: 55.92 kB / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1657, allocations: 0 / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.398e-05/0.1658, allocations: 24.14 kB / 0.564 GB, free: 13.51 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.1662, allocations: 49.33 kB / 0.564 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.1681, allocations: 1.673 MB / 0.5657 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.1684, allocations: 0.708 MB / 0.5664 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.154e-05/0.1685, allocations: 12.88 kB / 0.5664 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.946e-05/0.1685, allocations: 35.42 kB / 0.5664 GB, free: 10.92 MB / 430.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1685, allocations: 0 / 0.5664 GB, free: 10.92 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.1873, allocations: 3.517 MB / 0.5698 GB, free: 7.477 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.309/8.496, allocations: 8 kB / 0.5699 GB, free: 7.469 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.756551119033247] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.672817953978665 8.687166361 8.526613838 Calling exit ...