Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001332/0.001332, allocations: 109.3 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001435/0.001435, allocations: 219.2 kB / 23 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 230.2 MB / 256.2 MB, free: 8.551 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2347/0.2347, allocations: 46.9 MB / 359.4 MB, free: 4.902 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003917/0.003917, allocations: 91.86 kB / 0.4942 GB, free: 8.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.359, allocations: 65.98 MB / 0.5586 GB, free: 5.137 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003227/0.3622, allocations: 1.833 MB / 0.5604 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002734/0.365, allocations: 1.781 MB / 0.5622 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.99e-05/0.3651, allocations: 7.938 kB / 0.5622 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.3654, allocations: 51.69 kB / 0.5622 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.3657, allocations: 139.4 kB / 0.5624 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.366, allocations: 111.6 kB / 0.5625 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.3663, allocations: 203.4 kB / 0.5627 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.3663, allocations: 5.688 kB / 0.5627 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.3664, allocations: 91.55 kB / 0.5627 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.3667, allocations: 83.61 kB / 0.5628 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.3667, allocations: 8 kB / 0.5628 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.3669, allocations: 115.9 kB / 0.5629 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.07e-05/0.367, allocations: 35.83 kB / 0.563 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.851e-05/0.367, allocations: 63.55 kB / 0.563 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.3674, allocations: 224.9 kB / 0.5633 GB, free: 392 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.964e-06/0.3674, allocations: 8 kB / 0.5633 GB, free: 384 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3674, allocations: 0 / 0.5633 GB, free: 384 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.3674, allocations: 0 / 0.5633 GB, free: 384 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007593/0.3682, allocations: 0.5003 MB / 0.5638 GB, free: 15.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3682, allocations: 8.031 kB / 0.5638 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.38e-05/0.3682, allocations: 38.73 kB / 0.5638 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.3683, allocations: 16.84 kB / 0.5638 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.3687, allocations: 256 kB / 0.5641 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.3687, allocations: 4.375 kB / 0.5641 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.3687, allocations: 4.375 kB / 0.5641 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.3689, allocations: 113.1 kB / 0.5642 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.369, allocations: 0 / 0.5642 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.369, allocations: 0 / 0.5642 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.369, allocations: 0 / 0.5642 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.3691, allocations: 27.98 kB / 0.5642 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.3694, allocations: 226.5 kB / 0.5644 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.3696, allocations: 101.2 kB / 0.5645 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.46e-05/0.3697, allocations: 37.7 kB / 0.5645 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.3698, allocations: 7.984 kB / 0.5646 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000236/0.37, allocations: 113 kB / 0.5647 GB, free: 14.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.37, allocations: 0 / 0.5647 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004621/0.3705, allocations: 169.9 kB / 0.5648 GB, free: 14.56 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.344e-05/0.3706, allocations: 136.5 kB / 0.565 GB, free: 14.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002779/0.3708, allocations: 233 kB / 0.5652 GB, free: 14.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3709, allocations: 33.69 kB / 0.5652 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.3709, allocations: 116.1 kB / 0.5653 GB, free: 14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.371, allocations: 27.81 kB / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.173e-05/0.371, allocations: 29.7 kB / 0.5654 GB, free: 13.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3712, allocations: 326.8 kB / 0.5657 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.481e-05/0.3713, allocations: 31.98 kB / 0.5657 GB, free: 13.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.3714, allocations: 81.12 kB / 0.5658 GB, free: 13.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.3716, allocations: 87.39 kB / 0.5659 GB, free: 13.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3716, allocations: 0 / 0.5659 GB, free: 13.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002859/0.3719, allocations: 141.4 kB / 0.566 GB, free: 13.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3719, allocations: 8 kB / 0.566 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.3719, allocations: 0 / 0.566 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3719, allocations: 0 / 0.566 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.372, allocations: 23.98 kB / 0.566 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.372, allocations: 3.938 kB / 0.566 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.596e-05/0.3721, allocations: 11.89 kB / 0.5661 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.3721, allocations: 12.06 kB / 0.5661 GB, free: 13.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001253/0.3722, allocations: 129.8 kB / 0.5662 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.3723, allocations: 19.84 kB / 0.5662 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.3726, allocations: 150.7 kB / 0.5664 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/0.3726, allocations: 11.97 kB / 0.5664 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3726, allocations: 4.062 kB / 0.5664 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3726, allocations: 3.938 kB / 0.5664 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.3728, allocations: 221.5 kB / 0.5666 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3728, allocations: 11.94 kB / 0.5666 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.057e-05/0.3729, allocations: 4 kB / 0.5666 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.3729, allocations: 4 kB / 0.5666 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.3729, allocations: 7.984 kB / 0.5666 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3729, allocations: 0 / 0.5666 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.3729, allocations: 7.938 kB / 0.5666 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003042/0.3732, allocations: 161.9 kB / 0.5668 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.3733, allocations: 100.9 kB / 0.5669 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.3733, allocations: 11.94 kB / 0.5669 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.894e-05/0.3734, allocations: 4 kB / 0.5669 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.3734, allocations: 11.98 kB / 0.5669 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.3734, allocations: 4 kB / 0.5669 GB, free: 12.22 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.3736, allocations: 177.6 kB / 0.5671 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3736, allocations: 0 / 0.5671 GB, free: 12.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002857/0.3739, allocations: 55.86 kB / 0.5671 GB, free: 12 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00223/0.3761, allocations: 1.103 MB / 0.5682 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.3764, allocations: 79.91 kB / 0.5683 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3764, allocations: 0 / 0.5683 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3765, allocations: 44.28 kB / 0.5683 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003685/0.3769, allocations: 61.56 kB / 0.5684 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.3792, allocations: 1.902 MB / 0.5702 GB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.3796, allocations: 0.7164 MB / 0.5709 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.3797, allocations: 37.52 kB / 0.571 GB, free: 8.078 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.3798, allocations: 59.41 kB / 0.571 GB, free: 8.02 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3798, allocations: 0 / 0.571 GB, free: 8.02 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02858/0.4084, allocations: 5.334 MB / 0.5762 GB, free: 2.688 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.44/8.848, allocations: 4 kB / 0.5762 GB, free: 2.684 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.722563767019892] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 8.975696028006496 8.998230407 8.626386806 Calling exit ...