Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.001752/0.001752, allocations: 114.3 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.002109/0.002109, allocations: 219 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.549/1.549, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.2291/0.2291, allocations: 44.89 MB / 355.8 MB, free: 12.36 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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",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.001923/0.001923, allocations: 63.91 kB / 0.4886 GB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1507, allocations: 65.42 MB / 0.5525 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003665/0.1544, allocations: 1.732 MB / 0.5542 GB, free: 8.316 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.1563, allocations: 1.038 MB / 0.5552 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.164e-05/0.1564, allocations: 0 / 0.5552 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004414/0.1569, allocations: 51.7 kB / 0.5553 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.1572, allocations: 95.53 kB / 0.5554 GB, free: 7.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.1574, allocations: 79.72 kB / 0.5554 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001972/0.1576, allocations: 99.69 kB / 0.5555 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.1577, allocations: 12.28 kB / 0.5556 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.1578, allocations: 55.72 kB / 0.5556 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-05/0.1579, allocations: 27.84 kB / 0.5556 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.1579, allocations: 4 kB / 0.5556 GB, free: 6.855 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.158, allocations: 43.98 kB / 0.5557 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.889e-05/0.1581, allocations: 27.84 kB / 0.5557 GB, free: 6.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.1581, allocations: 39.69 kB / 0.5557 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1584, allocations: 123.4 kB / 0.5559 GB, free: 6.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1584, allocations: 0 / 0.5559 GB, free: 6.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1584, allocations: 0 / 0.5559 GB, free: 6.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1584, allocations: 0 / 0.5559 GB, free: 6.625 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.0006358/0.159, allocations: 430.6 kB / 0.5563 GB, free: 6.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.159, allocations: 8.031 kB / 0.5563 GB, free: 6.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.588e-05/0.1591, allocations: 4.188 kB / 0.5563 GB, free: 6.145 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.555e-05/0.1591, allocations: 34.75 kB / 0.5563 GB, free: 6.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.1591, allocations: 8.891 kB / 0.5563 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.1595, allocations: 228 kB / 0.5565 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1595, allocations: 4.125 kB / 0.5565 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.1596, allocations: 4 kB / 0.5565 GB, free: 5.824 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1597, allocations: 65.67 kB / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1597, allocations: 0 / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.1597, allocations: 0 / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.1597, allocations: 0 / 0.5566 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.103e-05/0.1598, allocations: 19.98 kB / 0.5566 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.1602, allocations: 296.7 kB / 0.5569 GB, free: 5.395 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.1604, allocations: 58.69 kB / 0.557 GB, free: 5.328 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.1605, allocations: 20.84 kB / 0.557 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.1605, allocations: 0 / 0.557 GB, free: 5.305 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.1607, allocations: 67.33 kB / 0.5571 GB, free: 5.227 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1607, allocations: 0 / 0.5571 GB, free: 5.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000588/0.1613, allocations: 173.4 kB / 0.5572 GB, free: 5.051 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.1613, allocations: 59.34 kB / 0.5573 GB, free: 4.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.1616, allocations: 214 kB / 0.5575 GB, free: 4.762 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.1616, allocations: 29.7 kB / 0.5575 GB, free: 4.727 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.135e-05/0.1617, allocations: 100.1 kB / 0.5576 GB, free: 4.625 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.1617, allocations: 31.77 kB / 0.5576 GB, free: 4.594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.1617, allocations: 25.72 kB / 0.5577 GB, free: 4.562 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1619, allocations: 322.8 kB / 0.558 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.148e-05/0.162, allocations: 23.98 kB / 0.558 GB, free: 4.215 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.773e-05/0.162, allocations: 37.7 kB / 0.558 GB, free: 4.172 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.1622, allocations: 57.64 kB / 0.5581 GB, free: 4.109 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1622, allocations: 0 / 0.5581 GB, free: 4.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001908/0.1623, allocations: 101.8 kB / 0.5582 GB, free: 4.004 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1624, allocations: 4 kB / 0.5582 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.1624, allocations: 7.938 kB / 0.5582 GB, free: 3.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1624, allocations: 4.031 kB / 0.5582 GB, free: 3.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1625, allocations: 19.92 kB / 0.5582 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.1625, allocations: 3.938 kB / 0.5582 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.1625, allocations: 4 kB / 0.5582 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.1625, allocations: 4 kB / 0.5582 GB, free: 3.957 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.0001259/0.1627, allocations: 132 kB / 0.5583 GB, free: 3.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.1627, allocations: 15.91 kB / 0.5584 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.1627, allocations: 17.39 kB / 0.5584 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1627, allocations: 0 / 0.5584 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.1628, allocations: 7.938 kB / 0.5584 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1628, allocations: 4 kB / 0.5584 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005121/0.1633, allocations: 391.7 kB / 0.5588 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1633, allocations: 0 / 0.5588 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.884e-05/0.1633, allocations: 15.98 kB / 0.5588 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1633, allocations: 3.938 kB / 0.5588 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1633, allocations: 4 kB / 0.5588 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1633, allocations: 4 kB / 0.5588 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.1633, allocations: 7.969 kB / 0.5588 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.1636, allocations: 196.5 kB / 0.559 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.1637, allocations: 96.98 kB / 0.5591 GB, free: 2.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/0.1637, allocations: 3.984 kB / 0.5591 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.1638, allocations: 4 kB / 0.5591 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.1638, allocations: 0 / 0.5591 GB, free: 2.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.1638, allocations: 11.98 kB / 0.5591 GB, free: 2.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001827/0.164, allocations: 164.3 kB / 0.5593 GB, free: 2.789 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.164, allocations: 0 / 0.5593 GB, free: 2.789 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.1643, allocations: 23.94 kB / 0.5593 GB, free: 2.766 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.002646/0.167, allocations: 1.097 MB / 0.5603 GB, free: 1.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000262/0.1672, allocations: 59.91 kB / 0.5604 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.1672, allocations: 0 / 0.5604 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.916e-05/0.1673, allocations: 28.05 kB / 0.5604 GB, free: 1.742 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.1678, allocations: 30.55 kB / 0.5605 GB, free: 1.715 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.1703, allocations: 1.701 MB / 0.5621 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1706, allocations: 0.7119 MB / 0.5628 GB, free: 15.18 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.208e-05/0.1707, allocations: 16.8 kB / 0.5628 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.051e-05/0.1707, allocations: 43.41 kB / 0.5629 GB, free: 15.12 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1707, allocations: 0 / 0.5629 GB, free: 15.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.1919, allocations: 3.566 MB / 0.5664 GB, free: 11.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.329/8.521, allocations: 0 / 0.5664 GB, free: 11.64 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.722942220978439] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.702337820956018 8.718423659 8.557111743 Calling exit ...