Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.001294/0.001294, 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.001363/0.001363, 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.549/1.549, 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.2991/0.2991, allocations: 44.9 MB / 355.8 MB, free: 12.3 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.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22",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.001957/0.001957, allocations: 71.91 kB / 0.4886 GB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1525, allocations: 65.43 MB / 0.5525 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003154/0.1557, allocations: 1.721 MB / 0.5542 GB, free: 8.281 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.1575, allocations: 1.038 MB / 0.5552 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.496e-05/0.1575, allocations: 11.88 kB / 0.5552 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001838/0.1577, allocations: 31.84 kB / 0.5553 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003065/0.158, allocations: 103.5 kB / 0.5554 GB, free: 7.094 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.1582, allocations: 83.66 kB / 0.5554 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.1584, allocations: 95.75 kB / 0.5555 GB, free: 6.918 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1585, allocations: 12.27 kB / 0.5556 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.1586, allocations: 55.7 kB / 0.5556 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.125e-05/0.1587, allocations: 35.73 kB / 0.5556 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.1587, allocations: 4 kB / 0.5556 GB, free: 6.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1588, allocations: 43.98 kB / 0.5557 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.777e-05/0.1588, allocations: 23.91 kB / 0.5557 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.1589, allocations: 35.73 kB / 0.5557 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.1591, allocations: 123.5 kB / 0.5559 GB, free: 6.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1591, allocations: 3.938 kB / 0.5559 GB, free: 6.586 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1591, allocations: 0 / 0.5559 GB, free: 6.586 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1591, allocations: 0 / 0.5559 GB, free: 6.586 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.000656/0.1598, allocations: 426.6 kB / 0.5563 GB, free: 6.121 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1598, allocations: 12.03 kB / 0.5563 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.458e-05/0.1599, allocations: 192 / 0.5563 GB, free: 6.109 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.1599, allocations: 30.75 kB / 0.5563 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.1599, allocations: 8.891 kB / 0.5563 GB, free: 6.062 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.1602, allocations: 227.2 kB / 0.5565 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1603, allocations: 4.125 kB / 0.5565 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.1603, allocations: 0 / 0.5565 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1604, allocations: 57.67 kB / 0.5566 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1604, allocations: 3.938 kB / 0.5566 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.1604, allocations: 0 / 0.5566 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1605, allocations: 0 / 0.5566 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.487e-05/0.1605, allocations: 19.98 kB / 0.5566 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.1609, allocations: 292.9 kB / 0.5569 GB, free: 5.379 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1611, allocations: 54.62 kB / 0.5569 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.556e-05/0.1611, allocations: 16.84 kB / 0.557 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.1612, allocations: 4 kB / 0.557 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.1613, allocations: 67.39 kB / 0.557 GB, free: 5.215 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1613, allocations: 3.938 kB / 0.557 GB, free: 5.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005655/0.1619, allocations: 181.3 kB / 0.5572 GB, free: 5.027 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.1619, allocations: 55.41 kB / 0.5573 GB, free: 4.961 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.1622, allocations: 198.3 kB / 0.5575 GB, free: 4.758 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.1622, allocations: 29.7 kB / 0.5575 GB, free: 4.723 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.1623, allocations: 108.1 kB / 0.5576 GB, free: 4.613 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.109e-05/0.1623, allocations: 19.86 kB / 0.5576 GB, free: 4.594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.1623, allocations: 29.7 kB / 0.5576 GB, free: 4.559 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1625, allocations: 318.8 kB / 0.5579 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.999e-05/0.1626, allocations: 20 kB / 0.558 GB, free: 4.219 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.429e-05/0.1626, allocations: 45.58 kB / 0.558 GB, free: 4.168 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1628, allocations: 57.7 kB / 0.5581 GB, free: 4.105 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1628, allocations: 4 kB / 0.5581 GB, free: 4.102 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002026/0.163, allocations: 109.6 kB / 0.5582 GB, free: 3.988 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.163, allocations: 4 kB / 0.5582 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.163, allocations: 0 / 0.5582 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.163, allocations: 0 / 0.5582 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-05/0.1631, allocations: 16 kB / 0.5582 GB, free: 3.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1631, allocations: 3.938 kB / 0.5582 GB, free: 3.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.1631, allocations: 3.984 kB / 0.5582 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1631, allocations: 8 kB / 0.5582 GB, free: 3.953 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.0001175/0.1633, allocations: 124.1 kB / 0.5583 GB, free: 3.824 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.1633, allocations: 19.84 kB / 0.5583 GB, free: 3.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.104e-05/0.1634, allocations: 17.39 kB / 0.5583 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1634, allocations: 0 / 0.5583 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.1634, allocations: 7.938 kB / 0.5584 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1634, allocations: 0 / 0.5584 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004991/0.1639, allocations: 391.3 kB / 0.5587 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.1639, allocations: 4 kB / 0.5587 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.553e-05/0.1639, allocations: 16.02 kB / 0.5587 GB, free: 3.312 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1639, allocations: 7.938 kB / 0.5588 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.256e-06/0.1639, allocations: 0 / 0.5588 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1639, allocations: 0 / 0.5588 GB, free: 3.305 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.1639, allocations: 4 kB / 0.5588 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002559/0.1642, allocations: 204.3 kB / 0.559 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.1643, allocations: 92.94 kB / 0.559 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.1643, allocations: 8 kB / 0.559 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.1644, allocations: 7.922 kB / 0.5591 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.1644, allocations: 7.984 kB / 0.5591 GB, free: 2.949 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.1644, allocations: 8.375 kB / 0.5591 GB, free: 2.941 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1646, allocations: 140.2 kB / 0.5592 GB, free: 2.805 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1646, allocations: 0 / 0.5592 GB, free: 2.805 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1648, allocations: 23.98 kB / 0.5592 GB, free: 2.781 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.002285/0.1671, allocations: 1.102 MB / 0.5603 GB, free: 1.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001972/0.1673, allocations: 59.89 kB / 0.5604 GB, free: 1.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.1673, allocations: 0 / 0.5604 GB, free: 1.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.315e-05/0.1674, allocations: 27.92 kB / 0.5604 GB, free: 1.754 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.1677, allocations: 29.23 kB / 0.5604 GB, free: 1.727 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.1699, allocations: 1.669 MB / 0.562 GB, free: 15.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.1703, allocations: 0.7041 MB / 0.5627 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.189e-05/0.1703, allocations: 16.88 kB / 0.5628 GB, free: 15.22 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.1704, allocations: 35.42 kB / 0.5628 GB, free: 15.18 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1704, allocations: 4 kB / 0.5628 GB, free: 15.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01917/0.1896, allocations: 3.508 MB / 0.5662 GB, free: 11.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.193/8.383, allocations: 6.719 kB / 0.5662 GB, free: 11.75 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test22.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.63869585399516] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.57602058100747 8.592775844 8.430797859 Calling exit ...