Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.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.001869/0.001869, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002306/0.002306, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.559/1.559, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.2396/0.2396, allocations: 46.94 MB / 361.6 MB, free: 4.199 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.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78",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.003599/0.003599, allocations: 79.86 kB / 0.497 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4132/0.4168, allocations: 66.09 MB / 0.5616 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.00368/0.4205, allocations: 1.936 MB / 0.5635 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002263/0.4228, allocations: 1.154 MB / 0.5646 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000114/0.4229, allocations: 3.938 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005699/0.4234, allocations: 255.3 kB / 0.5649 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005244/0.424, allocations: 239.1 kB / 0.5651 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.4243, allocations: 115.6 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003648/0.4246, allocations: 271.3 kB / 0.5654 GB, free: 304 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.4248, allocations: 27.78 kB / 0.5655 GB, free: 276 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.425, allocations: 139.4 kB / 0.5656 GB, free: 136 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.4252, allocations: 207.5 kB / 0.5658 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.4253, allocations: 12 kB / 0.5658 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001428/0.4254, allocations: 59.97 kB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.4255, allocations: 79.62 kB / 0.566 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.349e-05/0.4256, allocations: 87.25 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.426, allocations: 254.8 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.426, allocations: 0 / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.426, allocations: 0 / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.426, allocations: 4 kB / 0.5663 GB, free: 15.44 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008532/0.4268, allocations: 0.5312 MB / 0.5668 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/0.4269, allocations: 8.031 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.623e-05/0.4269, allocations: 38.75 kB / 0.5668 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.427, allocations: 28.75 kB / 0.5669 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000505/0.4275, allocations: 236.9 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.4275, allocations: 8.375 kB / 0.5671 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.4276, allocations: 12.31 kB / 0.5671 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.4279, allocations: 115.4 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.4279, allocations: 0 / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.4279, allocations: 7.984 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.4279, allocations: 0 / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.4281, allocations: 47.95 kB / 0.5673 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007029/0.4288, allocations: 455.9 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004117/0.4292, allocations: 117.2 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.4293, allocations: 37.83 kB / 0.5679 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.4293, allocations: 12 kB / 0.5679 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.4296, allocations: 125 kB / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.4296, allocations: 0 / 0.568 GB, free: 13.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001402/0.431, allocations: 0.5171 MB / 0.5685 GB, free: 13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/0.431, allocations: 81.11 kB / 0.5686 GB, free: 12.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/0.4316, allocations: 497.6 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.4317, allocations: 33.7 kB / 0.5691 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.4318, allocations: 168.5 kB / 0.5692 GB, free: 12.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.525e-05/0.4319, allocations: 75.42 kB / 0.5693 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.908e-05/0.4319, allocations: 41.7 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.4321, allocations: 350.7 kB / 0.5697 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.4323, allocations: 63.97 kB / 0.5698 GB, free: 11.65 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.4324, allocations: 96.16 kB / 0.5698 GB, free: 11.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/0.4327, allocations: 163.4 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.4327, allocations: 4 kB / 0.57 GB, free: 11.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004012/0.4331, allocations: 233.3 kB / 0.5702 GB, free: 11.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4331, allocations: 6.188 kB / 0.5702 GB, free: 11.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.4331, allocations: 7.938 kB / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.4331, allocations: 0 / 0.5702 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.4333, allocations: 47.91 kB / 0.5703 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4333, allocations: 0 / 0.5703 GB, free: 11.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.16e-05/0.4334, allocations: 8 kB / 0.5703 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.4334, allocations: 8 kB / 0.5703 GB, free: 11.06 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001794/0.4336, allocations: 185.8 kB / 0.5705 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.4336, allocations: 35.77 kB / 0.5705 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005288/0.4341, allocations: 268.4 kB / 0.5708 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.4342, allocations: 4 kB / 0.5708 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4342, allocations: 0 / 0.5708 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.4342, allocations: 0 / 0.5708 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.4352, allocations: 0.7146 MB / 0.5715 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.4352, allocations: 4 kB / 0.5715 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.479e-05/0.4353, allocations: 27.92 kB / 0.5715 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4353, allocations: 4 kB / 0.5715 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.4353, allocations: 8 kB / 0.5715 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.4353, allocations: 7.984 kB / 0.5715 GB, free: 9.734 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4353, allocations: 4.125 kB / 0.5715 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.4359, allocations: 422 kB / 0.5719 GB, free: 9.289 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.4359, allocations: 39.8 kB / 0.572 GB, free: 9.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.436, allocations: 11.94 kB / 0.572 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001384/0.4361, allocations: 11.94 kB / 0.572 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.4362, allocations: 23.91 kB / 0.572 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.4362, allocations: 11.98 kB / 0.572 GB, free: 9.191 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004043/0.4366, allocations: 375.1 kB / 0.5724 GB, free: 8.828 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4366, allocations: 0 / 0.5724 GB, free: 8.828 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000359/0.437, allocations: 51.94 kB / 0.5724 GB, free: 8.777 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (22): * Single equations (assignments): 18 * 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.002695/0.4397, allocations: 1.351 MB / 0.5737 GB, free: 7.574 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004024/0.4401, allocations: 147.9 kB / 0.5739 GB, free: 7.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.4401, allocations: 4 kB / 0.5739 GB, free: 7.426 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.4402, allocations: 79.77 kB / 0.574 GB, free: 7.348 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.4408, allocations: 76.08 kB / 0.574 GB, free: 7.281 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.4447, allocations: 2.998 MB / 0.577 GB, free: 4.156 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.4451, allocations: 0.7831 MB / 0.5777 GB, free: 3.348 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.4452, allocations: 41.92 kB / 0.5778 GB, free: 3.309 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.4454, allocations: 107.4 kB / 0.5779 GB, free: 3.203 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4454, allocations: 0 / 0.5779 GB, free: 3.203 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03273/0.4781, allocations: 6.81 MB / 0.5845 GB, free: 12.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.375/8.853, allocations: 4.266 kB / 0.5845 GB, free: 12.41 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test78.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.026206203736365] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 8.997809139080346 9.020609229 8.589632405 Calling exit ...