Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001348/0.001348, allocations: 120 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.002181/0.002181, 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.562/1.562, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.295/0.295, 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.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",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.003207/0.003207, allocations: 71.89 kB / 0.4886 GB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1635, allocations: 65.42 MB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003356/0.1669, allocations: 1.739 MB / 0.5542 GB, free: 8.297 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.1687, allocations: 1.027 MB / 0.5552 GB, free: 7.266 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.574e-05/0.1688, allocations: 4 kB / 0.5552 GB, free: 7.262 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003214/0.1691, allocations: 95.55 kB / 0.5553 GB, free: 7.168 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.1695, allocations: 119.5 kB / 0.5554 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.1697, allocations: 67.75 kB / 0.5555 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002192/0.1699, allocations: 119.7 kB / 0.5556 GB, free: 6.867 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.17, allocations: 12.28 kB / 0.5556 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/0.1702, allocations: 59.69 kB / 0.5557 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.1703, allocations: 63.81 kB / 0.5557 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.1703, allocations: 4 kB / 0.5557 GB, free: 6.73 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000114/0.1704, allocations: 47.97 kB / 0.5558 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.1705, allocations: 27.86 kB / 0.5558 GB, free: 6.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.1706, allocations: 35.69 kB / 0.5558 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.1708, allocations: 119.5 kB / 0.556 GB, free: 6.504 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1708, allocations: 0 / 0.556 GB, free: 6.504 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1708, allocations: 0 / 0.556 GB, free: 6.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.1708, allocations: 0 / 0.556 GB, free: 6.504 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.0006848/0.1715, allocations: 450.5 kB / 0.5564 GB, free: 6.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1716, allocations: 8.031 kB / 0.5564 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.291e-05/0.1716, allocations: 192 / 0.5564 GB, free: 6.008 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.1716, allocations: 30.75 kB / 0.5564 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.1717, allocations: 20.78 kB / 0.5564 GB, free: 5.949 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.172, allocations: 216.1 kB / 0.5567 GB, free: 5.699 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.172, allocations: 8.125 kB / 0.5567 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.172, allocations: 0 / 0.5567 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1722, allocations: 53.67 kB / 0.5567 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1722, allocations: 4 kB / 0.5567 GB, free: 5.629 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1722, allocations: 0 / 0.5567 GB, free: 5.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1722, allocations: 4 kB / 0.5567 GB, free: 5.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.443e-05/0.1723, allocations: 15.98 kB / 0.5567 GB, free: 5.609 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.1727, allocations: 300.8 kB / 0.557 GB, free: 5.266 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.1728, allocations: 54.69 kB / 0.5571 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.1729, allocations: 20.84 kB / 0.5571 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1729, allocations: 3.984 kB / 0.5571 GB, free: 5.176 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.1731, allocations: 67.33 kB / 0.5572 GB, free: 5.098 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1731, allocations: 0 / 0.5572 GB, free: 5.098 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000582/0.1737, allocations: 189.3 kB / 0.5573 GB, free: 4.906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.1737, allocations: 55.41 kB / 0.5574 GB, free: 4.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.174, allocations: 231.3 kB / 0.5576 GB, free: 4.598 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.174, allocations: 29.64 kB / 0.5576 GB, free: 4.562 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.333e-05/0.1741, allocations: 104.1 kB / 0.5577 GB, free: 4.457 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.1741, allocations: 19.86 kB / 0.5578 GB, free: 4.438 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.1741, allocations: 25.7 kB / 0.5578 GB, free: 4.406 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1743, allocations: 326.8 kB / 0.5581 GB, free: 4.078 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-05/0.1743, allocations: 23.94 kB / 0.5581 GB, free: 4.055 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.796e-05/0.1744, allocations: 37.7 kB / 0.5582 GB, free: 4.012 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.1745, allocations: 58.02 kB / 0.5582 GB, free: 3.949 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.1745, allocations: 4 kB / 0.5582 GB, free: 3.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002057/0.1747, allocations: 105.6 kB / 0.5583 GB, free: 3.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.1748, allocations: 10.03 kB / 0.5583 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.1748, allocations: 4 kB / 0.5583 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.1748, allocations: 32 / 0.5583 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.993e-05/0.1749, allocations: 19.94 kB / 0.5584 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1749, allocations: 3.938 kB / 0.5584 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.1749, allocations: 7.984 kB / 0.5584 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.1749, allocations: 4 kB / 0.5584 GB, free: 3.789 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.0001143/0.1751, allocations: 128.9 kB / 0.5585 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.1751, allocations: 11.91 kB / 0.5585 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.6e-05/0.1751, allocations: 21.39 kB / 0.5585 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.1751, allocations: 0 / 0.5585 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.1751, allocations: 7.938 kB / 0.5585 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1751, allocations: 0 / 0.5585 GB, free: 3.609 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00048/0.1756, allocations: 403.2 kB / 0.5589 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.1756, allocations: 4 kB / 0.5589 GB, free: 3.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.1757, allocations: 4 kB / 0.5589 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.1757, allocations: 7.938 kB / 0.5589 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1757, allocations: 0 / 0.5589 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1757, allocations: 7.922 kB / 0.5589 GB, free: 3.133 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1757, allocations: 4 kB / 0.5589 GB, free: 3.129 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.1759, allocations: 204.6 kB / 0.5591 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.892e-05/0.176, allocations: 89 kB / 0.5592 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.176, allocations: 0 / 0.5592 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.1761, allocations: 7.938 kB / 0.5592 GB, free: 2.797 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.1761, allocations: 7.984 kB / 0.5592 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.1761, allocations: 4 kB / 0.5592 GB, free: 2.785 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.1763, allocations: 169.2 kB / 0.5594 GB, free: 2.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1763, allocations: 0 / 0.5594 GB, free: 2.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.1766, allocations: 27.98 kB / 0.5594 GB, free: 2.594 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.002338/0.1789, allocations: 1.093 MB / 0.5605 GB, free: 1.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000234/0.1792, allocations: 59.89 kB / 0.5606 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1792, allocations: 0 / 0.5606 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.68e-05/0.1793, allocations: 35.98 kB / 0.5606 GB, free: 1.566 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.1796, allocations: 32.98 kB / 0.5606 GB, free: 1.535 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/0.182, allocations: 1.716 MB / 0.5623 GB, free: 15.73 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.1824, allocations: 0.7158 MB / 0.563 GB, free: 14.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.874e-05/0.1824, allocations: 17.17 kB / 0.563 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.897e-05/0.1825, allocations: 39.42 kB / 0.563 GB, free: 14.93 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1825, allocations: 0 / 0.563 GB, free: 14.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.2029, allocations: 3.623 MB / 0.5666 GB, free: 11.39 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.378/8.581, allocations: 12.06 kB / 0.5666 GB, free: 11.38 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.884735245024785] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.765037306002341 8.79112719 8.615212243 Calling exit ...