Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.0013/0.0013, allocations: 120.1 kB / 18.49 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.001378/0.001378, 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.498/1.498, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2528/0.2528, allocations: 46.93 MB / 357.8 MB, free: 10.32 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.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 67.91 kB / 0.4917 GB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1487, allocations: 65.98 MB / 0.5561 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003796/0.1525, allocations: 1.744 MB / 0.5578 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.1544, allocations: 1.034 MB / 0.5589 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.476e-05/0.1545, allocations: 4 kB / 0.5589 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.1548, allocations: 51.75 kB / 0.5589 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.1551, allocations: 103.5 kB / 0.559 GB, free: 2.809 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.1553, allocations: 83.66 kB / 0.5591 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001966/0.1555, allocations: 99.69 kB / 0.5592 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.972e-05/0.1556, allocations: 12 kB / 0.5592 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1557, allocations: 51.77 kB / 0.5592 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.446e-05/0.1558, allocations: 27.8 kB / 0.5593 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.1558, allocations: 4 kB / 0.5593 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.1559, allocations: 43.98 kB / 0.5593 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.156, allocations: 35.84 kB / 0.5593 GB, free: 2.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.016e-05/0.156, allocations: 39.67 kB / 0.5594 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.1563, allocations: 135.4 kB / 0.5595 GB, free: 2.285 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1563, allocations: 4 kB / 0.5595 GB, free: 2.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1563, allocations: 0 / 0.5595 GB, free: 2.281 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.1563, allocations: 0 / 0.5595 GB, free: 2.281 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.0006242/0.1569, allocations: 454.3 kB / 0.56 GB, free: 1.789 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.157, allocations: 12.03 kB / 0.56 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.423e-05/0.157, allocations: 4.188 kB / 0.56 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.157, allocations: 30.75 kB / 0.56 GB, free: 1.734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.1571, allocations: 20.83 kB / 0.56 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.1574, allocations: 221.1 kB / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.1574, allocations: 8.125 kB / 0.5602 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.1574, allocations: 0 / 0.5602 GB, free: 1.449 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1576, allocations: 57.67 kB / 0.5603 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1576, allocations: 0 / 0.5603 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.1576, allocations: 0 / 0.5603 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.1576, allocations: 0 / 0.5603 GB, free: 1.387 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.911e-05/0.1577, allocations: 23.92 kB / 0.5603 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.1581, allocations: 308.8 kB / 0.5606 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.1583, allocations: 54.69 kB / 0.5607 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.914e-05/0.1583, allocations: 20.84 kB / 0.5607 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.1584, allocations: 3.938 kB / 0.5607 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.1585, allocations: 63.39 kB / 0.5607 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1585, allocations: 0 / 0.5607 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005652/0.1591, allocations: 189.3 kB / 0.5609 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.1591, allocations: 55.41 kB / 0.561 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.1594, allocations: 274.7 kB / 0.5612 GB, free: 316 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.1594, allocations: 25.7 kB / 0.5613 GB, free: 284 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.1595, allocations: 116.1 kB / 0.5614 GB, free: 164 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.1595, allocations: 31.72 kB / 0.5614 GB, free: 132 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/0.1596, allocations: 29.72 kB / 0.5614 GB, free: 96 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1598, allocations: 326.8 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.343e-05/0.1599, allocations: 20 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.047e-05/0.1599, allocations: 34.08 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.16, allocations: 61.64 kB / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.16, allocations: 0 / 0.5619 GB, free: 15.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002026/0.1603, allocations: 117.5 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.1603, allocations: 11.98 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1603, allocations: 0 / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1603, allocations: 0 / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.961e-05/0.1604, allocations: 12 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.1604, allocations: 12.08 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.742e-05/0.1604, allocations: 4 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.1605, allocations: 7.984 kB / 0.562 GB, free: 15.47 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.0001333/0.1606, allocations: 141.5 kB / 0.5621 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.1606, allocations: 15.91 kB / 0.5622 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.1607, allocations: 17.41 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1607, allocations: 0 / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1607, allocations: 3.938 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1607, allocations: 3.984 kB / 0.5622 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005043/0.1612, allocations: 403.3 kB / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1612, allocations: 0 / 0.5626 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.1612, allocations: 15.97 kB / 0.5626 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.1612, allocations: 7.938 kB / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.1612, allocations: 0 / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.1612, allocations: 0 / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1612, allocations: 4 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.1615, allocations: 200.3 kB / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/0.1616, allocations: 96.94 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.1616, allocations: 4 kB / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/0.1617, allocations: 8 kB / 0.5629 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1617, allocations: 11.92 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1617, allocations: 7.938 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.1619, allocations: 196.6 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1619, allocations: 192 / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1622, allocations: 31.92 kB / 0.5631 GB, free: 14.22 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.002295/0.1645, allocations: 1.086 MB / 0.5642 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.1647, allocations: 59.89 kB / 0.5642 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1647, allocations: 0 / 0.5642 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.1648, allocations: 23.94 kB / 0.5643 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003933/0.1652, allocations: 44.2 kB / 0.5643 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.1677, allocations: 1.846 MB / 0.5661 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.1681, allocations: 0.7274 MB / 0.5668 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.298e-05/0.1682, allocations: 8.891 kB / 0.5668 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1683, allocations: 47.41 kB / 0.5669 GB, free: 10.43 MB / 430.1 MB Notification: Performance of SimCode: time 4.3e-07/0.1683, allocations: 0 / 0.5669 GB, free: 10.43 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.1905, allocations: 3.855 MB / 0.5706 GB, free: 6.648 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.492/8.683, allocations: 7.938 kB / 0.5706 GB, free: 6.641 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498107 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.742265414970461] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.862793626030907 8.883726638 8.723381756 Calling exit ...