Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.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.001472/0.001472, allocations: 109.4 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.001815/0.001815, allocations: 221.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.461/1.461, allocations: 230.2 MB / 256.2 MB, free: 8.531 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.22/0.22, allocations: 46.89 MB / 359.4 MB, free: 4.887 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.Test84,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84",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.002316/0.002316, allocations: 87.86 kB / 0.4942 GB, free: 8.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3146, allocations: 65.98 MB / 0.5587 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003738/0.3183, allocations: 1.752 MB / 0.5604 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003242/0.3216, allocations: 1.703 MB / 0.562 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.15e-05/0.3217, allocations: 4 kB / 0.562 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003431/0.322, allocations: 35.77 kB / 0.5621 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003719/0.3224, allocations: 103.5 kB / 0.5622 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002976/0.3227, allocations: 83.66 kB / 0.5622 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002468/0.3229, allocations: 103.7 kB / 0.5623 GB, free: 1.316 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.3231, allocations: 17.81 kB / 0.5624 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.3232, allocations: 43.78 kB / 0.5624 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.3234, allocations: 47.77 kB / 0.5624 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.3235, allocations: 8 kB / 0.5625 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.3237, allocations: 107.9 kB / 0.5626 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.3238, allocations: 19.92 kB / 0.5626 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.403e-05/0.3238, allocations: 35.73 kB / 0.5626 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003744/0.3242, allocations: 167.4 kB / 0.5628 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.3242, allocations: 0 / 0.5628 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3242, allocations: 3.938 kB / 0.5628 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.3242, allocations: 0 / 0.5628 GB, free: 0.875 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.0007076/0.3249, allocations: 429 kB / 0.5632 GB, free: 420 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.325, allocations: 16.03 kB / 0.5632 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.325, allocations: 34.75 kB / 0.5632 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.3251, allocations: 12.84 kB / 0.5632 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003261/0.3254, allocations: 220.2 kB / 0.5635 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3254, allocations: 384 / 0.5635 GB, free: 92 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.3254, allocations: 7.938 kB / 0.5635 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3256, allocations: 67.39 kB / 0.5635 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3256, allocations: 0 / 0.5635 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3256, allocations: 7.984 kB / 0.5635 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3256, allocations: 0 / 0.5635 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.837e-05/0.3257, allocations: 23.98 kB / 0.5636 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.3261, allocations: 288.8 kB / 0.5638 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.3263, allocations: 46.69 kB / 0.5639 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.799e-05/0.3263, allocations: 24.84 kB / 0.5639 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.3263, allocations: 0 / 0.5639 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.3265, allocations: 71.33 kB / 0.564 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3265, allocations: 0 / 0.564 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000592/0.3271, allocations: 185.3 kB / 0.5641 GB, free: 15.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.3272, allocations: 77.11 kB / 0.5642 GB, free: 15.19 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.3274, allocations: 173.7 kB / 0.5644 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.3274, allocations: 29.7 kB / 0.5644 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/0.3275, allocations: 96.12 kB / 0.5645 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.3275, allocations: 27.75 kB / 0.5645 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.3276, allocations: 21.72 kB / 0.5645 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3277, allocations: 322.8 kB / 0.5649 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.585e-05/0.3278, allocations: 19.98 kB / 0.5649 GB, free: 14.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.173e-05/0.3279, allocations: 50.5 kB / 0.5649 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.328, allocations: 61.64 kB / 0.565 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.328, allocations: 0 / 0.565 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001905/0.3282, allocations: 97.7 kB / 0.5651 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.3282, allocations: 4 kB / 0.5651 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3282, allocations: 0 / 0.5651 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3282, allocations: 0 / 0.5651 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.323e-05/0.3283, allocations: 27.92 kB / 0.5651 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3283, allocations: 4.062 kB / 0.5651 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.16e-05/0.3284, allocations: 7.938 kB / 0.5651 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3284, allocations: 0 / 0.5651 GB, free: 14.21 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.0001047/0.3285, allocations: 125.8 kB / 0.5652 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.3285, allocations: 7.953 kB / 0.5652 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.3287, allocations: 114.3 kB / 0.5654 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3287, allocations: 3.938 kB / 0.5654 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3288, allocations: 4 kB / 0.5654 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3288, allocations: 7.938 kB / 0.5654 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.3292, allocations: 399.2 kB / 0.5658 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3292, allocations: 0 / 0.5658 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.3293, allocations: 8 kB / 0.5658 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3293, allocations: 3.938 kB / 0.5658 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.3293, allocations: 11.98 kB / 0.5658 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3293, allocations: 0 / 0.5658 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3293, allocations: 0 / 0.5658 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.3295, allocations: 200.3 kB / 0.566 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.3296, allocations: 89.06 kB / 0.5661 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.3296, allocations: 3.938 kB / 0.5661 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.3297, allocations: 7.984 kB / 0.5661 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.3297, allocations: 4 kB / 0.5661 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.3297, allocations: 8.375 kB / 0.5661 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001157/0.3298, allocations: 127.2 kB / 0.5662 GB, free: 13 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3298, allocations: 0 / 0.5662 GB, free: 13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003164/0.3302, allocations: 43.86 kB / 0.5662 GB, free: 12.96 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.002344/0.3325, allocations: 1.194 MB / 0.5674 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.3327, allocations: 51.98 kB / 0.5675 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3327, allocations: 0 / 0.5675 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.565e-05/0.3328, allocations: 27.92 kB / 0.5675 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.3331, allocations: 29.2 kB / 0.5675 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.335, allocations: 1.612 MB / 0.5691 GB, free: 10.13 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.3353, allocations: 0.7002 MB / 0.5698 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.673e-05/0.3354, allocations: 16.88 kB / 0.5698 GB, free: 9.383 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.535e-05/0.3355, allocations: 39.41 kB / 0.5698 GB, free: 9.344 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3355, allocations: 0 / 0.5698 GB, free: 9.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.3632, allocations: 4.046 MB / 0.5738 GB, free: 5.289 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/8.742, allocations: 2.188 kB / 0.5738 GB, free: 5.289 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test84.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.520154310012003] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.865387505007675 8.880164529 8.552881571 Calling exit ...