Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.001933/0.001933, 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.00245/0.00245, 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.572/1.572, 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.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.2499/0.2499, allocations: 44.91 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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",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.002302/0.002302, allocations: 71.91 kB / 0.4886 GB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1483, allocations: 65.42 MB / 0.5525 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.004125/0.1524, allocations: 1.762 MB / 0.5543 GB, free: 8.246 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.1546, allocations: 1.037 MB / 0.5553 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.1548, allocations: 4 kB / 0.5553 GB, free: 7.199 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004614/0.1552, allocations: 99.66 kB / 0.5554 GB, free: 7.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004757/0.1557, allocations: 131.5 kB / 0.5555 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.156, allocations: 75.73 kB / 0.5556 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.1563, allocations: 131.6 kB / 0.5557 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.1564, allocations: 12.25 kB / 0.5557 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/0.1566, allocations: 63.75 kB / 0.5558 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.1567, allocations: 75.67 kB / 0.5558 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1568, allocations: 4 kB / 0.5558 GB, free: 6.617 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.1569, allocations: 59.98 kB / 0.5559 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.951e-05/0.157, allocations: 23.92 kB / 0.5559 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.1571, allocations: 47.66 kB / 0.556 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.1573, allocations: 147.3 kB / 0.5561 GB, free: 6.344 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1574, allocations: 3.938 kB / 0.5561 GB, free: 6.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1574, allocations: 4 kB / 0.5561 GB, free: 6.336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1574, allocations: 0 / 0.5561 GB, free: 6.336 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.0007114/0.1581, allocations: 458.4 kB / 0.5565 GB, free: 5.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.1581, allocations: 8.031 kB / 0.5566 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.65e-05/0.1581, allocations: 192 / 0.5566 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.1582, allocations: 34.75 kB / 0.5566 GB, free: 5.789 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.1582, allocations: 12.84 kB / 0.5566 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.1586, allocations: 227.8 kB / 0.5568 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.1586, allocations: 12.12 kB / 0.5568 GB, free: 5.504 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.1587, allocations: 11.94 kB / 0.5568 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.1588, allocations: 57.67 kB / 0.5569 GB, free: 5.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.1589, allocations: 3.938 kB / 0.5569 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1589, allocations: 0 / 0.5569 GB, free: 5.426 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.1589, allocations: 4 kB / 0.5569 GB, free: 5.422 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.119e-05/0.159, allocations: 19.98 kB / 0.5569 GB, free: 5.402 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.1594, allocations: 308.8 kB / 0.5572 GB, free: 5.051 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.1597, allocations: 62.44 kB / 0.5573 GB, free: 4.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.073e-05/0.1598, allocations: 20.97 kB / 0.5573 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/0.1598, allocations: 4 kB / 0.5573 GB, free: 4.953 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.16, allocations: 71.39 kB / 0.5574 GB, free: 4.871 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 8.677e-06/0.16, allocations: 4 kB / 0.5574 GB, free: 4.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008024/0.1608, allocations: 253.1 kB / 0.5576 GB, free: 4.613 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.1608, allocations: 55.41 kB / 0.5577 GB, free: 4.547 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/0.1611, allocations: 251.2 kB / 0.5579 GB, free: 4.289 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1611, allocations: 25.7 kB / 0.5579 GB, free: 4.258 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.69e-05/0.1612, allocations: 112.2 kB / 0.558 GB, free: 4.145 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.1613, allocations: 39.67 kB / 0.5581 GB, free: 4.105 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.043e-05/0.1613, allocations: 25.72 kB / 0.5581 GB, free: 4.074 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1615, allocations: 330.8 kB / 0.5584 GB, free: 3.742 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.606e-05/0.1615, allocations: 27.98 kB / 0.5584 GB, free: 3.715 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.988e-05/0.1616, allocations: 53.62 kB / 0.5585 GB, free: 3.656 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.1618, allocations: 69.72 kB / 0.5586 GB, free: 3.582 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.1618, allocations: 7.938 kB / 0.5586 GB, free: 3.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002489/0.162, allocations: 137.6 kB / 0.5587 GB, free: 3.434 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.162, allocations: 6.188 kB / 0.5587 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.162, allocations: 0 / 0.5587 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.1621, allocations: 7.938 kB / 0.5587 GB, free: 3.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.398e-05/0.1622, allocations: 19.98 kB / 0.5587 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1622, allocations: 0 / 0.5587 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.179e-05/0.1622, allocations: 7.984 kB / 0.5587 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.1622, allocations: 8 kB / 0.5587 GB, free: 3.387 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 (13): * Single equations (assignments): 13 * 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.0001268/0.1623, allocations: 139.9 kB / 0.5589 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.1624, allocations: 19.94 kB / 0.5589 GB, free: 3.223 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.623e-05/0.1624, allocations: 21.39 kB / 0.5589 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1625, allocations: 3.938 kB / 0.5589 GB, free: 3.191 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.1625, allocations: 4 kB / 0.5589 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1625, allocations: 0 / 0.5589 GB, free: 3.188 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.1631, allocations: 456 kB / 0.5594 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1631, allocations: 0 / 0.5594 GB, free: 2.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.164e-05/0.1631, allocations: 23.98 kB / 0.5594 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1631, allocations: 0 / 0.5594 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.1631, allocations: 8 kB / 0.5594 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1631, allocations: 0 / 0.5594 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1631, allocations: 0 / 0.5594 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.1634, allocations: 237 kB / 0.5596 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.976e-05/0.1635, allocations: 93.02 kB / 0.5597 GB, free: 2.285 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.1635, allocations: 8 kB / 0.5597 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.362e-05/0.1636, allocations: 4 kB / 0.5597 GB, free: 2.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.1637, allocations: 7.984 kB / 0.5597 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.1637, allocations: 4 kB / 0.5597 GB, free: 2.262 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.1639, allocations: 191.2 kB / 0.5599 GB, free: 2.074 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1639, allocations: 0 / 0.5599 GB, free: 2.074 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.1642, allocations: 31.92 kB / 0.5599 GB, free: 2.043 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002609/0.1668, allocations: 1.181 MB / 0.5611 GB, free: 1.043 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002427/0.167, allocations: 79.91 kB / 0.5612 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.167, allocations: 0 / 0.5612 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.844e-05/0.1671, allocations: 39.92 kB / 0.5612 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.1675, allocations: 33.2 kB / 0.5612 GB, free: 0.8945 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.1698, allocations: 1.894 MB / 0.5631 GB, free: 14.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.1702, allocations: 0.7158 MB / 0.5638 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.319e-05/0.1703, allocations: 16.64 kB / 0.5638 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.903e-05/0.1704, allocations: 55.41 kB / 0.5639 GB, free: 14.09 MB / 430.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1704, allocations: 0 / 0.5639 GB, free: 14.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.1917, allocations: 4.099 MB / 0.5679 GB, free: 10.06 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.319/8.51, allocations: 16.88 kB / 0.5679 GB, free: 10.05 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.827262821956538] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y'] 8.69269696000265 8.708931049 8.548129301 Calling exit ...