Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001385/0.001385, allocations: 113 kB / 18.49 MB, free: 4.539 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.001562/0.001562, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.514/1.514, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2417/0.2417, allocations: 46.92 MB / 357.8 MB, free: 10.29 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.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.91 kB / 0.4917 GB, free: 7.844 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1378/0.1398, allocations: 65.99 MB / 0.5561 GB, free: 5.723 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003375/0.1431, allocations: 1.826 MB / 0.5579 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002832/0.146, allocations: 1.711 MB / 0.5596 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.686e-05/0.1461, allocations: 7.938 kB / 0.5596 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003094/0.1464, allocations: 47.69 kB / 0.5596 GB, free: 2.109 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.1468, allocations: 147.4 kB / 0.5598 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.147, allocations: 107.6 kB / 0.5599 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002921/0.1473, allocations: 203.3 kB / 0.5601 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.882e-05/0.1474, allocations: 13.62 kB / 0.5601 GB, free: 1.645 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001548/0.1475, allocations: 99.55 kB / 0.5602 GB, free: 1.547 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.1478, allocations: 75.62 kB / 0.5603 GB, free: 1.473 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.004e-05/0.1478, allocations: 8 kB / 0.5603 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002106/0.148, allocations: 115.9 kB / 0.5604 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.1481, allocations: 35.89 kB / 0.5604 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.178e-05/0.1482, allocations: 63.55 kB / 0.5605 GB, free: 1.254 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.1485, allocations: 235 kB / 0.5607 GB, free: 1.023 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1485, allocations: 4 kB / 0.5607 GB, free: 1.02 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1485, allocations: 0 / 0.5607 GB, free: 1.02 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.403e-06/0.1485, allocations: 0 / 0.5607 GB, free: 1.02 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.0008434/0.1494, allocations: 0.4941 MB / 0.5612 GB, free: 488 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1494, allocations: 8.031 kB / 0.5612 GB, free: 480 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.009e-05/0.1494, allocations: 4.188 kB / 0.5612 GB, free: 476 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.423e-05/0.1495, allocations: 38.73 kB / 0.5612 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.841e-05/0.1495, allocations: 20.84 kB / 0.5612 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.15, allocations: 257.1 kB / 0.5615 GB, free: 112 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.15, allocations: 8.125 kB / 0.5615 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.15, allocations: 4 kB / 0.5615 GB, free: 100 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.1503, allocations: 101 kB / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1503, allocations: 0 / 0.5616 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.1503, allocations: 8 kB / 0.5616 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1503, allocations: 0 / 0.5616 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1504, allocations: 27.98 kB / 0.5616 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.1507, allocations: 222.5 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/0.151, allocations: 105.1 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1511, allocations: 41.69 kB / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.1511, allocations: 0 / 0.562 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003606/0.1515, allocations: 113 kB / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1515, allocations: 0 / 0.5621 GB, free: 15.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004891/0.152, allocations: 165.4 kB / 0.5622 GB, free: 15.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.1521, allocations: 132.5 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003036/0.1524, allocations: 244.1 kB / 0.5626 GB, free: 14.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.1524, allocations: 25.7 kB / 0.5626 GB, free: 14.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.02e-05/0.1525, allocations: 116.1 kB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.84e-05/0.1526, allocations: 27.8 kB / 0.5628 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.563e-05/0.1526, allocations: 37.64 kB / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.1528, allocations: 330.8 kB / 0.5631 GB, free: 14.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.1529, allocations: 23.98 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.153, allocations: 77.56 kB / 0.5632 GB, free: 14.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001946/0.1532, allocations: 95.33 kB / 0.5633 GB, free: 14.03 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1532, allocations: 4 kB / 0.5633 GB, free: 14.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003179/0.1535, allocations: 133.5 kB / 0.5634 GB, free: 13.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1535, allocations: 7.938 kB / 0.5634 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1535, allocations: 0 / 0.5634 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.1536, allocations: 4 kB / 0.5635 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1537, allocations: 28.05 kB / 0.5635 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.1537, allocations: 3.938 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.269e-05/0.1538, allocations: 15.89 kB / 0.5635 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1538, allocations: 4 kB / 0.5635 GB, free: 13.82 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.0001421/0.1539, allocations: 136 kB / 0.5636 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.154, allocations: 15.91 kB / 0.5636 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.788e-05/0.154, allocations: 20.98 kB / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.154, allocations: 4 kB / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.154, allocations: 4 kB / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1541, allocations: 0 / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.1543, allocations: 229.5 kB / 0.5639 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1543, allocations: 0 / 0.5639 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.1543, allocations: 11.98 kB / 0.5639 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1543, allocations: 4 kB / 0.5639 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1543, allocations: 128 / 0.5639 GB, free: 13.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.1544, allocations: 11.94 kB / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1544, allocations: 0 / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.1547, allocations: 169.7 kB / 0.5641 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.1548, allocations: 104.9 kB / 0.5642 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.1548, allocations: 4 kB / 0.5642 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.392e-05/0.1549, allocations: 7.984 kB / 0.5642 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.1549, allocations: 8 kB / 0.5642 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.1549, allocations: 7.984 kB / 0.5642 GB, free: 13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002191/0.1552, allocations: 177.6 kB / 0.5644 GB, free: 12.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1552, allocations: 4 kB / 0.5644 GB, free: 12.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.1555, allocations: 51.92 kB / 0.5644 GB, free: 12.77 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.002524/0.158, allocations: 1.117 MB / 0.5655 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002906/0.1583, allocations: 75.97 kB / 0.5656 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1583, allocations: 3.938 kB / 0.5656 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.1584, allocations: 35.92 kB / 0.5656 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.1588, allocations: 50.88 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.002602/0.1614, allocations: 1.899 MB / 0.5675 GB, free: 9.656 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.1618, allocations: 0.7164 MB / 0.5682 GB, free: 8.914 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.1619, allocations: 37.52 kB / 0.5683 GB, free: 8.879 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.162, allocations: 59.39 kB / 0.5683 GB, free: 8.82 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.162, allocations: 0 / 0.5683 GB, free: 8.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02345/0.1854, allocations: 5.377 MB / 0.5736 GB, free: 3.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.685/8.87, allocations: 15.94 kB / 0.5736 GB, free: 3.465 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.085269239963964] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 9.051333015027922 9.066355033 8.914844075 Calling exit ...