Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.001689/0.001689, allocations: 118.8 kB / 18.49 MB, free: 4.586 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.001963/0.001963, allocations: 213.5 kB / 21.45 MB, free: 1.641 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.568/1.568, allocations: 230.6 MB / 254.8 MB, free: 15.13 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.2265/0.2265, allocations: 44.91 MB / 355.8 MB, free: 12.33 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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.001983/0.001983, allocations: 67.91 kB / 0.4886 GB, free: 11.63 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1464, allocations: 65.42 MB / 0.5525 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003292/0.1497, allocations: 1.723 MB / 0.5542 GB, free: 8.332 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1514, allocations: 1.041 MB / 0.5552 GB, free: 7.289 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.892e-05/0.1515, allocations: 3.938 kB / 0.5552 GB, free: 7.285 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.1518, allocations: 47.77 kB / 0.5553 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.152, allocations: 103.5 kB / 0.5554 GB, free: 7.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.1523, allocations: 75.67 kB / 0.5554 GB, free: 7.062 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1524, allocations: 103.8 kB / 0.5555 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1525, allocations: 12.27 kB / 0.5556 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.1526, allocations: 47.72 kB / 0.5556 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.647e-05/0.1527, allocations: 39.78 kB / 0.5556 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.1527, allocations: 4 kB / 0.5556 GB, free: 6.859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.595e-05/0.1528, allocations: 43.98 kB / 0.5557 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.1529, allocations: 23.91 kB / 0.5557 GB, free: 6.793 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.476e-05/0.1529, allocations: 35.69 kB / 0.5557 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.1532, allocations: 139.4 kB / 0.5559 GB, free: 6.621 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1532, allocations: 4 kB / 0.5559 GB, free: 6.617 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1532, allocations: 0 / 0.5559 GB, free: 6.617 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1532, allocations: 0 / 0.5559 GB, free: 6.617 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.0006097/0.1538, allocations: 436.4 kB / 0.5563 GB, free: 6.145 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.1538, allocations: 12.03 kB / 0.5563 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.492e-05/0.1539, allocations: 192 / 0.5563 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.528e-05/0.1539, allocations: 38.69 kB / 0.5563 GB, free: 6.086 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.144e-05/0.1539, allocations: 12.89 kB / 0.5564 GB, free: 6.074 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.1542, allocations: 217 kB / 0.5566 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.1543, allocations: 8.125 kB / 0.5566 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.1543, allocations: 7.938 kB / 0.5566 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.1544, allocations: 53.67 kB / 0.5566 GB, free: 5.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1544, allocations: 3.984 kB / 0.5566 GB, free: 5.742 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.1545, allocations: 3.938 kB / 0.5566 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1545, allocations: 0 / 0.5566 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.551e-05/0.1545, allocations: 19.98 kB / 0.5567 GB, free: 5.719 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003934/0.1549, allocations: 296.8 kB / 0.5569 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.1551, allocations: 58.67 kB / 0.557 GB, free: 5.312 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.515e-05/0.1552, allocations: 20.8 kB / 0.557 GB, free: 5.289 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.1552, allocations: 3.984 kB / 0.557 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.1553, allocations: 71.38 kB / 0.5571 GB, free: 5.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1553, allocations: 0 / 0.5571 GB, free: 5.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005434/0.1559, allocations: 181.3 kB / 0.5573 GB, free: 5.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1559, allocations: 51.41 kB / 0.5573 GB, free: 4.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.1562, allocations: 246 kB / 0.5575 GB, free: 4.707 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.1562, allocations: 29.7 kB / 0.5576 GB, free: 4.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.1563, allocations: 104.1 kB / 0.5577 GB, free: 4.566 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.1563, allocations: 27.78 kB / 0.5577 GB, free: 4.539 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.1563, allocations: 25.72 kB / 0.5577 GB, free: 4.508 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.1565, allocations: 330.8 kB / 0.558 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.569e-05/0.1565, allocations: 16 kB / 0.558 GB, free: 4.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.798e-05/0.1566, allocations: 33.7 kB / 0.5581 GB, free: 4.121 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.1567, allocations: 65.64 kB / 0.5581 GB, free: 4.051 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1567, allocations: 4 kB / 0.5581 GB, free: 4.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001871/0.1569, allocations: 97.53 kB / 0.5582 GB, free: 3.945 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.1569, allocations: 11.98 kB / 0.5583 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1569, allocations: 384 / 0.5583 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.157, allocations: 0 / 0.5583 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.157, allocations: 16 kB / 0.5583 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.1571, allocations: 11.94 kB / 0.5583 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.228e-05/0.1571, allocations: 0 / 0.5583 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1571, allocations: 7.984 kB / 0.5583 GB, free: 3.898 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.0001159/0.1572, allocations: 132.2 kB / 0.5584 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.1572, allocations: 15.91 kB / 0.5584 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.1573, allocations: 21.33 kB / 0.5584 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1573, allocations: 7.938 kB / 0.5585 GB, free: 3.711 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.1573, allocations: 7.875 kB / 0.5585 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1573, allocations: 0 / 0.5585 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.1578, allocations: 395.4 kB / 0.5588 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1578, allocations: 3.938 kB / 0.5588 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.1578, allocations: 12.03 kB / 0.5589 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.1578, allocations: 7.938 kB / 0.5589 GB, free: 3.234 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1578, allocations: 3.984 kB / 0.5589 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1578, allocations: 0 / 0.5589 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1578, allocations: 0 / 0.5589 GB, free: 3.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.1581, allocations: 208.3 kB / 0.5591 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/0.1581, allocations: 92.95 kB / 0.5592 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.1582, allocations: 4 kB / 0.5592 GB, free: 2.895 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.017e-05/0.1582, allocations: 4 kB / 0.5592 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.1583, allocations: 11.92 kB / 0.5592 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.1583, allocations: 4 kB / 0.5592 GB, free: 2.875 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.1584, allocations: 176.4 kB / 0.5593 GB, free: 2.703 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1584, allocations: 0 / 0.5593 GB, free: 2.703 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1587, allocations: 23.94 kB / 0.5594 GB, free: 2.68 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.002246/0.1609, allocations: 1.104 MB / 0.5604 GB, free: 1.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.1612, allocations: 55.92 kB / 0.5605 GB, free: 1.684 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1612, allocations: 0 / 0.5605 GB, free: 1.684 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.918e-05/0.1612, allocations: 27.91 kB / 0.5605 GB, free: 1.656 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.1616, allocations: 39.66 kB / 0.5606 GB, free: 1.617 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.1639, allocations: 1.757 MB / 0.5623 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.1643, allocations: 0.708 MB / 0.563 GB, free: 15.03 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.283e-05/0.1643, allocations: 21.17 kB / 0.563 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.066e-05/0.1644, allocations: 39.42 kB / 0.563 GB, free: 14.97 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1644, allocations: 8 kB / 0.563 GB, free: 14.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.1856, allocations: 3.686 MB / 0.5666 GB, free: 11.36 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.304/8.49, allocations: 11.38 kB / 0.5666 GB, free: 11.35 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.834370061988011] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.67613599501783 8.700900743 8.543339479 Calling exit ...