Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.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.001344/0.001344, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001585/0.001585, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.439/1.439, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2479/0.2479, allocations: 46.93 MB / 361.6 MB, free: 4.191 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.Test86,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86",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.002361/0.002361, allocations: 79.88 kB / 0.497 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3666, allocations: 66.08 MB / 0.5616 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003149/0.3697, allocations: 1.698 MB / 0.5632 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.3715, allocations: 1.025 MB / 0.5642 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.682e-05/0.3715, allocations: 7.938 kB / 0.5642 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.3719, allocations: 59.73 kB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.3722, allocations: 107.6 kB / 0.5644 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/0.3724, allocations: 71.73 kB / 0.5645 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.3725, allocations: 103.6 kB / 0.5646 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.3726, allocations: 12.2 kB / 0.5646 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.3727, allocations: 51.78 kB / 0.5646 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.3728, allocations: 55.7 kB / 0.5647 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.3728, allocations: 11.94 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.975e-05/0.3729, allocations: 27.98 kB / 0.5647 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.01e-05/0.373, allocations: 19.92 kB / 0.5647 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.373, allocations: 27.8 kB / 0.5648 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.3732, allocations: 113.5 kB / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3732, allocations: 0 / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3732, allocations: 0 / 0.5649 GB, free: 0.875 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.912e-06/0.3733, allocations: 0 / 0.5649 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005912/0.3738, allocations: 337.6 kB / 0.5652 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.3739, allocations: 16.03 kB / 0.5652 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.097e-05/0.3739, allocations: 38.73 kB / 0.5652 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.374, allocations: 12.84 kB / 0.5653 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.3743, allocations: 151 kB / 0.5654 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.3743, allocations: 384 / 0.5654 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.3743, allocations: 8.359 kB / 0.5654 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.3745, allocations: 49.8 kB / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.3745, allocations: 0 / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.3745, allocations: 0 / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3745, allocations: 0 / 0.5655 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.073e-05/0.3746, allocations: 23.92 kB / 0.5655 GB, free: 188 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002434/0.3748, allocations: 156.7 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.375, allocations: 50.62 kB / 0.5657 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.474e-05/0.3751, allocations: 12.84 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.3751, allocations: 8 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.3753, allocations: 67.33 kB / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.3753, allocations: 0 / 0.5658 GB, free: 15.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003025/0.3756, allocations: 101.5 kB / 0.5659 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.3756, allocations: 51.41 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.3758, allocations: 198.3 kB / 0.5661 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.3758, allocations: 25.7 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.11e-05/0.3759, allocations: 104.1 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.3759, allocations: 23.83 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.376, allocations: 21.72 kB / 0.5663 GB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3761, allocations: 318.8 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.028e-05/0.3762, allocations: 15.98 kB / 0.5666 GB, free: 14.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.732e-05/0.3762, allocations: 29.7 kB / 0.5666 GB, free: 14.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.3763, allocations: 49.64 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3763, allocations: 0 / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001663/0.3765, allocations: 93.47 kB / 0.5667 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.3765, allocations: 4 kB / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3765, allocations: 0 / 0.5667 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.3765, allocations: 4.312 kB / 0.5668 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.541e-05/0.3766, allocations: 15.92 kB / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3766, allocations: 0 / 0.5668 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.3767, allocations: 8 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-06/0.3767, allocations: 0 / 0.5668 GB, free: 14.71 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 (7): * Single equations (assignments): 7 * 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.0001031/0.3768, allocations: 126.7 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.3768, allocations: 15.89 kB / 0.5669 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.377, allocations: 90.7 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.377, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.377, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.377, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.3772, allocations: 164.7 kB / 0.5672 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3772, allocations: 3.938 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.3772, allocations: 4 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3772, allocations: 4 kB / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.3772, allocations: 0 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3772, allocations: 0 / 0.5672 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3772, allocations: 4 kB / 0.5672 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.3774, allocations: 105 kB / 0.5673 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.313e-05/0.3774, allocations: 15.89 kB / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.3775, allocations: 0 / 0.5673 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.3775, allocations: 11.92 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.3775, allocations: 7.984 kB / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.3775, allocations: 0 / 0.5673 GB, free: 14.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001259/0.3777, allocations: 148.2 kB / 0.5674 GB, free: 13.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3777, allocations: 0 / 0.5674 GB, free: 13.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002046/0.3779, allocations: 23.94 kB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001815/0.3797, allocations: 0.9426 MB / 0.5684 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.3798, allocations: 43.91 kB / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.3798, allocations: 0 / 0.5684 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.65e-05/0.3799, allocations: 15.98 kB / 0.5684 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3802, allocations: 37.05 kB / 0.5685 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.3819, allocations: 1.506 MB / 0.57 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.3822, allocations: 0.7118 MB / 0.5706 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.912e-05/0.3822, allocations: 16.48 kB / 0.5707 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.828e-05/0.3823, allocations: 27.42 kB / 0.5707 GB, free: 10.62 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3823, allocations: 0 / 0.5707 GB, free: 10.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.4089, allocations: 3.213 MB / 0.5738 GB, free: 7.414 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.473, allocations: 6.562 kB / 0.5738 GB, free: 7.414 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000599281 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.536857387982309] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.615526041015983 8.64263655 8.264581526 Calling exit ...