Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001384/0.001384, allocations: 121 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.001454/0.001454, allocations: 213.5 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.487/1.487, allocations: 230.6 MB / 254.8 MB, free: 14.89 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.2563/0.2563, allocations: 46.93 MB / 357.8 MB, free: 10.27 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.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.91 kB / 0.4917 GB, free: 7.852 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.142, allocations: 66 MB / 0.5561 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003409/0.1454, allocations: 1.822 MB / 0.5579 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002801/0.1482, allocations: 1.711 MB / 0.5596 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.48e-05/0.1483, allocations: 3.938 kB / 0.5596 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.1486, allocations: 55.61 kB / 0.5596 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004069/0.149, allocations: 139.4 kB / 0.5598 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.1492, allocations: 107.7 kB / 0.5599 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002933/0.1495, allocations: 207.3 kB / 0.5601 GB, free: 1.664 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.511e-05/0.1496, allocations: 5.688 kB / 0.5601 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.1497, allocations: 91.56 kB / 0.5602 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.15, allocations: 89.23 kB / 0.5602 GB, free: 1.48 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.15, allocations: 12 kB / 0.5603 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.1502, allocations: 107.9 kB / 0.5604 GB, free: 1.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.192e-05/0.1503, allocations: 39.83 kB / 0.5604 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.762e-05/0.1504, allocations: 59.61 kB / 0.5605 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003835/0.1507, allocations: 239 kB / 0.5607 GB, free: 1.031 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1508, allocations: 0 / 0.5607 GB, free: 1.031 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1508, allocations: 0 / 0.5607 GB, free: 1.031 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1508, allocations: 0 / 0.5607 GB, free: 1.031 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000802/0.1516, allocations: 0.498 MB / 0.5612 GB, free: 496 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1516, allocations: 12.03 kB / 0.5612 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.663e-05/0.1516, allocations: 4.188 kB / 0.5612 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.1517, allocations: 30.75 kB / 0.5612 GB, free: 440 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.859e-05/0.1517, allocations: 24.83 kB / 0.5612 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004914/0.1522, allocations: 261 kB / 0.5615 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.1522, allocations: 8.109 kB / 0.5615 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.1523, allocations: 4 kB / 0.5615 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.1525, allocations: 97.08 kB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1526, allocations: 0 / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.1526, allocations: 11.92 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1526, allocations: 0 / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.1527, allocations: 31.92 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.1531, allocations: 218.5 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.1535, allocations: 105.1 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.1536, allocations: 37.7 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.1536, allocations: 3.984 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003053/0.1539, allocations: 105.1 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.1539, allocations: 0 / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005309/0.1544, allocations: 169.4 kB / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.1546, allocations: 136.5 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003334/0.1549, allocations: 240.1 kB / 0.5626 GB, free: 14.81 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.535e-05/0.1549, allocations: 29.7 kB / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.155, allocations: 116.1 kB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/0.1551, allocations: 27.8 kB / 0.5628 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/0.1552, allocations: 37.7 kB / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.1554, allocations: 326.8 kB / 0.5631 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.084e-05/0.1555, allocations: 27.98 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.1556, allocations: 69.12 kB / 0.5632 GB, free: 14.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.1558, allocations: 99.83 kB / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1558, allocations: 0 / 0.5633 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003034/0.1561, allocations: 137.4 kB / 0.5634 GB, free: 13.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1561, allocations: 4 kB / 0.5634 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.1561, allocations: 4 kB / 0.5634 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.1562, allocations: 0 / 0.5634 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.1563, allocations: 28 kB / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.1563, allocations: 7.984 kB / 0.5635 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.044e-05/0.1564, allocations: 11.89 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.1564, allocations: 7.984 kB / 0.5635 GB, free: 13.83 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.000163/0.1566, allocations: 136 kB / 0.5636 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-05/0.1566, allocations: 15.91 kB / 0.5636 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.1567, allocations: 24.98 kB / 0.5637 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1567, allocations: 0 / 0.5637 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.1567, allocations: 3.938 kB / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1567, allocations: 8 kB / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.157, allocations: 225.5 kB / 0.5639 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.157, allocations: 3.938 kB / 0.5639 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.623e-05/0.157, allocations: 12 kB / 0.5639 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.157, allocations: 0 / 0.5639 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.157, allocations: 7.984 kB / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.157, allocations: 0 / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.157, allocations: 0 / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.1575, allocations: 169.9 kB / 0.5641 GB, free: 13.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.1576, allocations: 112.9 kB / 0.5642 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.1576, allocations: 0 / 0.5642 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.1577, allocations: 4 kB / 0.5642 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.1577, allocations: 11.98 kB / 0.5642 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.1577, allocations: 4 kB / 0.5642 GB, free: 13.01 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002297/0.158, allocations: 185.6 kB / 0.5644 GB, free: 12.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.158, allocations: 0 / 0.5644 GB, free: 12.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000337/0.1583, allocations: 47.94 kB / 0.5644 GB, free: 12.78 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002412/0.1607, allocations: 1.116 MB / 0.5655 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.161, allocations: 75.84 kB / 0.5656 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.161, allocations: 4.125 kB / 0.5656 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001044/0.1611, allocations: 31.98 kB / 0.5656 GB, free: 11.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.1615, allocations: 53.56 kB / 0.5657 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002866/0.1644, allocations: 1.889 MB / 0.5675 GB, free: 9.672 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.1648, allocations: 0.7203 MB / 0.5682 GB, free: 8.926 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.1649, allocations: 37.52 kB / 0.5683 GB, free: 8.891 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.165, allocations: 55.41 kB / 0.5683 GB, free: 8.836 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.165, allocations: 0 / 0.5683 GB, free: 8.836 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.1911, allocations: 5.381 MB / 0.5736 GB, free: 3.496 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.558/8.749, allocations: 15.88 kB / 0.5736 GB, free: 3.48 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.93959901999915] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 8.953656325000338 8.976351323 8.82143551 Calling exit ...