Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.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.001366/0.001366, allocations: 108.5 kB / 19.8 MB, free: 2.516 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.001922/0.001922, allocations: 219.3 kB / 23 MB, free: 5.609 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.461/1.461, allocations: 230.2 MB / 256.2 MB, free: 8.699 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.2246/0.2246, allocations: 46.88 MB / 359.4 MB, free: 4.938 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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test21",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.002382/0.002382, allocations: 79.86 kB / 0.4942 GB, free: 8.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3319, allocations: 65.98 MB / 0.5587 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003329/0.3352, allocations: 1.749 MB / 0.5604 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.337, allocations: 1.041 MB / 0.5614 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.32e-05/0.3371, allocations: 3.938 kB / 0.5614 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.3374, allocations: 47.75 kB / 0.5614 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003389/0.3378, allocations: 95.53 kB / 0.5615 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.338, allocations: 79.67 kB / 0.5616 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001875/0.3382, allocations: 103.7 kB / 0.5617 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.3383, allocations: 13.81 kB / 0.5617 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.827e-05/0.3384, allocations: 43.8 kB / 0.5618 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.228e-05/0.3385, allocations: 39.77 kB / 0.5618 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3385, allocations: 4 kB / 0.5618 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.3386, allocations: 39.98 kB / 0.5618 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.691e-05/0.3387, allocations: 23.91 kB / 0.5619 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.39e-05/0.3387, allocations: 35.69 kB / 0.5619 GB, free: 1.832 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.3389, allocations: 119.5 kB / 0.562 GB, free: 1.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3389, allocations: 0 / 0.562 GB, free: 1.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3389, allocations: 0 / 0.562 GB, free: 1.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3389, allocations: 0 / 0.562 GB, free: 1.715 MB / 398.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.0005672/0.3395, allocations: 430.6 kB / 0.5624 GB, free: 1.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3395, allocations: 8.031 kB / 0.5624 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.619e-05/0.3396, allocations: 30.75 kB / 0.5625 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.3396, allocations: 20.88 kB / 0.5625 GB, free: 1.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.3399, allocations: 212.8 kB / 0.5627 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3399, allocations: 4.359 kB / 0.5627 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.3399, allocations: 4.375 kB / 0.5627 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.3401, allocations: 57.8 kB / 0.5627 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3401, allocations: 0 / 0.5627 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3401, allocations: 4 kB / 0.5627 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3401, allocations: 0 / 0.5627 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.3402, allocations: 23.98 kB / 0.5628 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.3406, allocations: 284.8 kB / 0.563 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.3408, allocations: 58.61 kB / 0.5631 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.496e-05/0.3408, allocations: 20.86 kB / 0.5631 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.3408, allocations: 0 / 0.5631 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.341, allocations: 67.39 kB / 0.5632 GB, free: 348 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.341, allocations: 0 / 0.5632 GB, free: 348 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005715/0.3416, allocations: 181.3 kB / 0.5634 GB, free: 160 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.3416, allocations: 51.41 kB / 0.5634 GB, free: 96 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.3418, allocations: 194.4 kB / 0.5636 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3418, allocations: 33.7 kB / 0.5636 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/0.3419, allocations: 104.1 kB / 0.5637 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.3419, allocations: 31.77 kB / 0.5637 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.342, allocations: 25.66 kB / 0.5638 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3421, allocations: 330.8 kB / 0.5641 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.973e-05/0.3422, allocations: 15.98 kB / 0.5641 GB, free: 15.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.3423, allocations: 45.64 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.3424, allocations: 57.72 kB / 0.5642 GB, free: 15.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3424, allocations: 0 / 0.5642 GB, free: 15.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001984/0.3426, allocations: 109.6 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3426, allocations: 4 kB / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3426, allocations: 0 / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3426, allocations: 0 / 0.5643 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.739e-05/0.3427, allocations: 19.98 kB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3427, allocations: 7.969 kB / 0.5643 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.3428, allocations: 8 kB / 0.5643 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3428, allocations: 0 / 0.5643 GB, free: 15.07 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.0001069/0.3429, allocations: 129.8 kB / 0.5645 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.3429, allocations: 15.91 kB / 0.5645 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002459/0.3431, allocations: 107.1 kB / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3431, allocations: 3.984 kB / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3432, allocations: 4 kB / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3432, allocations: 4 kB / 0.5646 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.3436, allocations: 391.3 kB / 0.565 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.3436, allocations: 4 kB / 0.565 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.07e-05/0.3436, allocations: 15.92 kB / 0.565 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3437, allocations: 0 / 0.565 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.3437, allocations: 0 / 0.565 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.3437, allocations: 4.312 kB / 0.565 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3437, allocations: 4 kB / 0.565 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.3439, allocations: 208.3 kB / 0.5652 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.245e-05/0.344, allocations: 85.06 kB / 0.5653 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.344, allocations: 8 kB / 0.5653 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.3441, allocations: 7.922 kB / 0.5653 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.3441, allocations: 11.88 kB / 0.5653 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.3441, allocations: 4 kB / 0.5653 GB, free: 13.97 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.3442, allocations: 152.2 kB / 0.5655 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3442, allocations: 0 / 0.5655 GB, free: 13.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.3445, allocations: 31.92 kB / 0.5655 GB, free: 13.79 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.00211/0.3466, allocations: 1.083 MB / 0.5665 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.3468, allocations: 63.84 kB / 0.5666 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3468, allocations: 0 / 0.5666 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.115e-05/0.3469, allocations: 27.92 kB / 0.5666 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.3473, allocations: 32.09 kB / 0.5667 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.3493, allocations: 1.668 MB / 0.5683 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.3497, allocations: 0.7041 MB / 0.569 GB, free: 10.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.711e-05/0.3497, allocations: 21.17 kB / 0.569 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.3498, allocations: 35.42 kB / 0.569 GB, free: 10.19 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.3498, allocations: 0 / 0.569 GB, free: 10.19 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.3761, allocations: 3.468 MB / 0.5724 GB, free: 6.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.035/8.411, allocations: 19.7 kB / 0.5724 GB, free: 6.723 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.253680649999296] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.570746609999333 8.596971021 8.254794286 Calling exit ...