Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.00164/0.00164, allocations: 116.2 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.001959/0.001959, allocations: 219 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.537/1.537, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2308/0.2308, allocations: 46.93 MB / 357.8 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test54,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002547/0.002547, allocations: 67.91 kB / 0.4917 GB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1588, allocations: 65.99 MB / 0.5561 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003551/0.1624, allocations: 1.733 MB / 0.5578 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.1644, allocations: 1.038 MB / 0.5589 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.068e-05/0.1645, allocations: 4 kB / 0.5589 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.1648, allocations: 47.77 kB / 0.5589 GB, free: 2.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.1652, allocations: 99.59 kB / 0.559 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.1654, allocations: 79.66 kB / 0.5591 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.1656, allocations: 103.6 kB / 0.5592 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1657, allocations: 11.98 kB / 0.5592 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1658, allocations: 47.78 kB / 0.5592 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.827e-05/0.1659, allocations: 35.84 kB / 0.5593 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.1659, allocations: 4 kB / 0.5593 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.231e-05/0.166, allocations: 39.98 kB / 0.5593 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.383e-05/0.166, allocations: 31.84 kB / 0.5593 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.1661, allocations: 35.69 kB / 0.5594 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.1663, allocations: 131.4 kB / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1663, allocations: 0 / 0.5595 GB, free: 2.305 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1663, allocations: 4 kB / 0.5595 GB, free: 2.301 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.1663, allocations: 0 / 0.5595 GB, free: 2.301 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.0006208/0.167, allocations: 434.5 kB / 0.5599 GB, free: 1.828 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.167, allocations: 8.031 kB / 0.5599 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.974e-05/0.167, allocations: 8.125 kB / 0.5599 GB, free: 1.812 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.439e-05/0.1671, allocations: 34.75 kB / 0.56 GB, free: 1.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.1671, allocations: 8.891 kB / 0.56 GB, free: 1.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003201/0.1674, allocations: 228.8 kB / 0.5602 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.1674, allocations: 8.125 kB / 0.5602 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.1675, allocations: 7.984 kB / 0.5602 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1676, allocations: 53.67 kB / 0.5603 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1676, allocations: 0 / 0.5603 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.1676, allocations: 0 / 0.5603 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1676, allocations: 0 / 0.5603 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.629e-05/0.1677, allocations: 19.98 kB / 0.5603 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004265/0.1681, allocations: 296.8 kB / 0.5606 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.1683, allocations: 58.59 kB / 0.5606 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.656e-05/0.1684, allocations: 16.92 kB / 0.5606 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.1684, allocations: 4 kB / 0.5606 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.1686, allocations: 71.38 kB / 0.5607 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1686, allocations: 0 / 0.5607 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006043/0.1692, allocations: 181.5 kB / 0.5609 GB, free: 0.707 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1692, allocations: 51.41 kB / 0.5609 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.1695, allocations: 242 kB / 0.5612 GB, free: 408 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.1695, allocations: 41.58 kB / 0.5612 GB, free: 360 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.601e-05/0.1696, allocations: 108.1 kB / 0.5613 GB, free: 248 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.1697, allocations: 19.86 kB / 0.5613 GB, free: 228 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.1697, allocations: 29.7 kB / 0.5613 GB, free: 192 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1699, allocations: 326.8 kB / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.041e-05/0.1699, allocations: 16.19 kB / 0.5617 GB, free: 15.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.644e-05/0.17, allocations: 37.7 kB / 0.5617 GB, free: 15.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.1701, allocations: 57.7 kB / 0.5618 GB, free: 15.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1701, allocations: 8 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001965/0.1703, allocations: 101.5 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.1704, allocations: 8 kB / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1704, allocations: 0 / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1704, allocations: 0 / 0.5619 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.544e-05/0.1705, allocations: 19.94 kB / 0.5619 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1705, allocations: 16.02 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.686e-05/0.1705, allocations: 3.984 kB / 0.5619 GB, free: 15.58 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1705, allocations: 4 kB / 0.5619 GB, free: 15.57 MB / 430.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.0001213/0.1707, allocations: 132.1 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.1707, allocations: 19.89 kB / 0.5621 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.943e-05/0.1707, allocations: 13.41 kB / 0.5621 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1707, allocations: 0 / 0.5621 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.1708, allocations: 7.938 kB / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.1708, allocations: 0 / 0.5621 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.1713, allocations: 399.3 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1713, allocations: 0 / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.1713, allocations: 12.03 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1713, allocations: 3.938 kB / 0.5625 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.1713, allocations: 7.984 kB / 0.5625 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1713, allocations: 0 / 0.5625 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1713, allocations: 0 / 0.5625 GB, free: 14.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.1716, allocations: 212.2 kB / 0.5627 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.1717, allocations: 88.95 kB / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.1717, allocations: 8 kB / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.1718, allocations: 3.984 kB / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.1718, allocations: 8 kB / 0.5628 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.1718, allocations: 4 kB / 0.5628 GB, free: 14.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.172, allocations: 172.6 kB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.172, allocations: 4 kB / 0.563 GB, free: 14.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002851/0.1723, allocations: 27.88 kB / 0.563 GB, free: 14.36 MB / 430.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.002219/0.1745, allocations: 1.107 MB / 0.5641 GB, free: 13.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.1747, allocations: 51.92 kB / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1747, allocations: 0 / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.583e-05/0.1747, allocations: 27.97 kB / 0.5641 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.1751, allocations: 40.95 kB / 0.5642 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.1772, allocations: 1.758 MB / 0.5659 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.1775, allocations: 0.7119 MB / 0.5666 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.772e-05/0.1776, allocations: 8.891 kB / 0.5666 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.395e-05/0.1777, allocations: 39.42 kB / 0.5666 GB, free: 10.66 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1777, allocations: 4 kB / 0.5666 GB, free: 10.65 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.1968, allocations: 3.688 MB / 0.5703 GB, free: 7.051 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.443/8.639, allocations: 12 kB / 0.5703 GB, free: 7.039 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.87113204196794] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.824163065000903 8.847367213 8.676677022 Calling exit ...