Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001386/0.001386, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001435/0.001435, allocations: 217.4 kB / 21.46 MB, free: 1.605 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.635/1.635, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2181/0.2181, allocations: 44.92 MB / 355.8 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 63.91 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1406, allocations: 65.43 MB / 0.5525 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003592/0.1442, allocations: 1.724 MB / 0.5542 GB, free: 8.305 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1462, allocations: 1.034 MB / 0.5552 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1464, allocations: 0 / 0.5552 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.1467, allocations: 55.75 kB / 0.5553 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.1471, allocations: 99.53 kB / 0.5554 GB, free: 7.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.1474, allocations: 75.73 kB / 0.5554 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.1477, allocations: 107.6 kB / 0.5555 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1478, allocations: 16.28 kB / 0.5556 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001213/0.1479, allocations: 47.78 kB / 0.5556 GB, free: 6.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.876e-05/0.148, allocations: 31.84 kB / 0.5556 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.148, allocations: 7.938 kB / 0.5556 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.1481, allocations: 43.98 kB / 0.5557 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.764e-05/0.1482, allocations: 27.86 kB / 0.5557 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.841e-05/0.1483, allocations: 47.66 kB / 0.5558 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.1485, allocations: 135.4 kB / 0.5559 GB, free: 6.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1485, allocations: 0 / 0.5559 GB, free: 6.582 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1485, allocations: 0 / 0.5559 GB, free: 6.582 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1485, allocations: 0 / 0.5559 GB, free: 6.582 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.0007053/0.1492, allocations: 458.3 kB / 0.5563 GB, free: 6.086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1493, allocations: 12.03 kB / 0.5563 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.537e-05/0.1493, allocations: 192 / 0.5563 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.1493, allocations: 30.75 kB / 0.5564 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.1494, allocations: 24.81 kB / 0.5564 GB, free: 6.012 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.1498, allocations: 225 kB / 0.5566 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1498, allocations: 4.125 kB / 0.5566 GB, free: 5.746 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.1498, allocations: 4 kB / 0.5566 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.1501, allocations: 61.67 kB / 0.5567 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1501, allocations: 0 / 0.5567 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.1501, allocations: 0 / 0.5567 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1501, allocations: 0 / 0.5567 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.544e-05/0.1502, allocations: 27.86 kB / 0.5567 GB, free: 5.648 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005207/0.1507, allocations: 300.8 kB / 0.557 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.1509, allocations: 54.69 kB / 0.557 GB, free: 5.242 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.797e-05/0.1509, allocations: 20.84 kB / 0.5571 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.151, allocations: 0 / 0.5571 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.1511, allocations: 71.33 kB / 0.5571 GB, free: 5.137 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1511, allocations: 0 / 0.5571 GB, free: 5.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006101/0.1517, allocations: 189.2 kB / 0.5573 GB, free: 4.945 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.1518, allocations: 55.41 kB / 0.5574 GB, free: 4.879 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002896/0.1521, allocations: 275.7 kB / 0.5576 GB, free: 4.598 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.1521, allocations: 25.7 kB / 0.5576 GB, free: 4.566 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.857e-05/0.1522, allocations: 116.1 kB / 0.5578 GB, free: 4.449 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.1522, allocations: 23.84 kB / 0.5578 GB, free: 4.426 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.1522, allocations: 21.72 kB / 0.5578 GB, free: 4.398 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1524, allocations: 330.8 kB / 0.5581 GB, free: 4.066 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-05/0.1525, allocations: 19.94 kB / 0.5581 GB, free: 4.047 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.962e-05/0.1526, allocations: 37.7 kB / 0.5582 GB, free: 4.004 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.1527, allocations: 65.64 kB / 0.5582 GB, free: 3.934 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1527, allocations: 0 / 0.5582 GB, free: 3.934 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002084/0.1529, allocations: 105.5 kB / 0.5583 GB, free: 3.824 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.153, allocations: 4 kB / 0.5583 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.153, allocations: 3.984 kB / 0.5583 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.153, allocations: 4.031 kB / 0.5583 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.133e-05/0.1531, allocations: 20 kB / 0.5584 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.1531, allocations: 3.938 kB / 0.5584 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.041e-05/0.1531, allocations: 4 kB / 0.5584 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.1531, allocations: 3.984 kB / 0.5584 GB, free: 3.781 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 (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.0001203/0.1533, allocations: 136 kB / 0.5585 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.722e-05/0.1533, allocations: 15.91 kB / 0.5585 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.737e-05/0.1534, allocations: 17.41 kB / 0.5585 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1534, allocations: 0 / 0.5585 GB, free: 3.605 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.1534, allocations: 7.938 kB / 0.5585 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1534, allocations: 4.359 kB / 0.5585 GB, free: 3.594 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007471/0.1541, allocations: 407.3 kB / 0.5589 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.1541, allocations: 7.984 kB / 0.5589 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.944e-05/0.1542, allocations: 11.94 kB / 0.559 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1542, allocations: 4.125 kB / 0.559 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1542, allocations: 0 / 0.559 GB, free: 3.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1542, allocations: 7.938 kB / 0.559 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1542, allocations: 0 / 0.559 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.1544, allocations: 208.3 kB / 0.5592 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.1545, allocations: 96.94 kB / 0.5593 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.1545, allocations: 8 kB / 0.5593 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.1546, allocations: 0 / 0.5593 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.1546, allocations: 11.97 kB / 0.5593 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.1547, allocations: 7.938 kB / 0.5593 GB, free: 2.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003242/0.155, allocations: 208.6 kB / 0.5595 GB, free: 2.539 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.155, allocations: 0 / 0.5595 GB, free: 2.539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.1553, allocations: 27.92 kB / 0.5595 GB, free: 2.512 MB / 414.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.00238/0.1576, allocations: 1.095 MB / 0.5606 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000208/0.1579, allocations: 55.91 kB / 0.5606 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1579, allocations: 0 / 0.5606 GB, free: 1.523 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.707e-05/0.158, allocations: 32 kB / 0.5607 GB, free: 1.492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.1583, allocations: 29.11 kB / 0.5607 GB, free: 1.469 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.161, allocations: 1.842 MB / 0.5625 GB, free: 15.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.1615, allocations: 0.7313 MB / 0.5632 GB, free: 14.78 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.384e-05/0.1616, allocations: 17.12 kB / 0.5632 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.673e-05/0.1617, allocations: 47.41 kB / 0.5633 GB, free: 14.72 MB / 430.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1617, allocations: 0 / 0.5633 GB, free: 14.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.1836, allocations: 3.839 MB / 0.567 GB, free: 10.94 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.52/8.704, allocations: 23.86 kB / 0.567 GB, free: 10.92 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498107 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.860167562030256] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.888483586953953 8.914834837 8.761436379 Calling exit ...