Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.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.001562/0.001562, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.001428/0.001428, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.422/1.422, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2328/0.2328, allocations: 46.93 MB / 361.6 MB, free: 4.215 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.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15",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.002211/0.002211, allocations: 83.86 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3234, allocations: 66.08 MB / 0.5616 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002981/0.3264, allocations: 1.745 MB / 0.5633 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.328, allocations: 1.045 MB / 0.5643 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.3281, allocations: 7.875 kB / 0.5643 GB, free: 1.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.3283, allocations: 39.83 kB / 0.5643 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.3286, allocations: 95.53 kB / 0.5644 GB, free: 1.332 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.3288, allocations: 75.67 kB / 0.5645 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.329, allocations: 107.7 kB / 0.5646 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.484e-05/0.3291, allocations: 9.969 kB / 0.5646 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.418e-05/0.3291, allocations: 47.72 kB / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.255e-05/0.3292, allocations: 35.78 kB / 0.5647 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.3292, allocations: 4 kB / 0.5647 GB, free: 1.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.794e-05/0.3293, allocations: 43.98 kB / 0.5647 GB, free: 1.016 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.366e-05/0.3294, allocations: 23.92 kB / 0.5648 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.3294, allocations: 31.73 kB / 0.5648 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.3297, allocations: 115.5 kB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3297, allocations: 0 / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3297, allocations: 0 / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3297, allocations: 0 / 0.5649 GB, free: 0.8477 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.0005374/0.3302, allocations: 349.5 kB / 0.5652 GB, free: 488 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.3302, allocations: 12.03 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.117e-05/0.3303, allocations: 34.75 kB / 0.5653 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.3303, allocations: 16.84 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.3306, allocations: 147.2 kB / 0.5654 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.3306, allocations: 384 / 0.5654 GB, free: 244 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.3306, allocations: 8.375 kB / 0.5655 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.3307, allocations: 53.8 kB / 0.5655 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3307, allocations: 7.922 kB / 0.5655 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.3308, allocations: 4 kB / 0.5655 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3308, allocations: 4 kB / 0.5655 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.342e-05/0.3308, allocations: 19.98 kB / 0.5655 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.3312, allocations: 260 kB / 0.5658 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.3314, allocations: 54.61 kB / 0.5658 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.004e-05/0.3314, allocations: 16.86 kB / 0.5659 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.3314, allocations: 0 / 0.5659 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.3316, allocations: 71.39 kB / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3316, allocations: 0 / 0.5659 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005087/0.3321, allocations: 181.3 kB / 0.5661 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.3321, allocations: 51.41 kB / 0.5661 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.3323, allocations: 179.3 kB / 0.5663 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.3323, allocations: 29.7 kB / 0.5663 GB, free: 15.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.3324, allocations: 112.1 kB / 0.5664 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.3324, allocations: 23.8 kB / 0.5665 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.3325, allocations: 25.7 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3326, allocations: 330.8 kB / 0.5668 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.129e-05/0.3327, allocations: 12 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.735e-05/0.3327, allocations: 41.64 kB / 0.5669 GB, free: 14.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.3328, allocations: 65.77 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3328, allocations: 384 / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.333, allocations: 105.5 kB / 0.567 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.333, allocations: 7.984 kB / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.333, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.3331, allocations: 0 / 0.567 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.349e-05/0.3331, allocations: 23.94 kB / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.3332, allocations: 0 / 0.5671 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.3332, allocations: 8 kB / 0.5671 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.3332, allocations: 8.016 kB / 0.5671 GB, free: 14.42 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 9.584e-05/0.3333, allocations: 128.5 kB / 0.5672 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.318e-05/0.3333, allocations: 19.89 kB / 0.5672 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.3336, allocations: 111 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3336, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.3336, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3336, allocations: 0 / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004259/0.334, allocations: 370.3 kB / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.334, allocations: 0 / 0.5677 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.334, allocations: 11.98 kB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.334, allocations: 0 / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.334, allocations: 4 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.334, allocations: 3.938 kB / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.334, allocations: 0 / 0.5677 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.3343, allocations: 204.3 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.947e-05/0.3343, allocations: 11.91 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.3344, allocations: 7.984 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.204e-05/0.3344, allocations: 7.938 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.284e-05/0.3345, allocations: 7.984 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.3345, allocations: 4 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.3346, allocations: 133.6 kB / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3346, allocations: 192 / 0.5681 GB, free: 13.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.3349, allocations: 27.92 kB / 0.5681 GB, free: 13.3 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.002113/0.337, allocations: 1.087 MB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001813/0.3372, allocations: 59.84 kB / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3372, allocations: 0 / 0.5692 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.91e-05/0.3373, allocations: 27.92 kB / 0.5692 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.3376, allocations: 27.97 kB / 0.5693 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.3394, allocations: 1.654 MB / 0.5709 GB, free: 10.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.3397, allocations: 0.7041 MB / 0.5716 GB, free: 9.754 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.24e-05/0.3398, allocations: 21.27 kB / 0.5716 GB, free: 9.734 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.596e-05/0.3399, allocations: 31.42 kB / 0.5716 GB, free: 9.703 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3399, allocations: 0 / 0.5716 GB, free: 9.703 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3024/0.6423, allocations: 3.482 MB / 0.575 GB, free: 6.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.123/8.766, allocations: 4 kB / 0.575 GB, free: 6.234 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004996 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.775239900685847] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.016575109679252 8.919314468 8.58670214 Calling exit ...