Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.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.001343/0.001343, 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.001409/0.001409, 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.444/1.444, allocations: 230.5 MB / 258.2 MB, free: 8.062 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.239/0.239, allocations: 46.93 MB / 361.6 MB, free: 4.219 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.Test44,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44",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.002373/0.002373, allocations: 91.84 kB / 0.497 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3358, allocations: 66.08 MB / 0.5616 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003396/0.3392, allocations: 1.749 MB / 0.5633 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.3411, allocations: 1.045 MB / 0.5643 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.838e-05/0.3411, allocations: 0 / 0.5643 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.3414, allocations: 47.75 kB / 0.5643 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.3418, allocations: 95.55 kB / 0.5644 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.342, allocations: 75.67 kB / 0.5645 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.3421, allocations: 111.7 kB / 0.5646 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.153e-05/0.3422, allocations: 13.97 kB / 0.5646 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.3423, allocations: 43.78 kB / 0.5647 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.358e-05/0.3424, allocations: 35.78 kB / 0.5647 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.3424, allocations: 4 kB / 0.5647 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.571e-05/0.3425, allocations: 43.92 kB / 0.5647 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.3426, allocations: 23.92 kB / 0.5648 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.3427, allocations: 39.72 kB / 0.5648 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.3429, allocations: 127.4 kB / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3429, allocations: 0 / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3429, allocations: 0 / 0.5649 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.3429, 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.0005427/0.3434, allocations: 353.5 kB / 0.5653 GB, free: 484 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3435, allocations: 8.031 kB / 0.5653 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.039e-05/0.3435, allocations: 38.69 kB / 0.5653 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.3436, allocations: 12.89 kB / 0.5653 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.3438, allocations: 162.3 kB / 0.5655 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3439, allocations: 12.3 kB / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.3439, allocations: 384 / 0.5655 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.3441, allocations: 61.8 kB / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3441, allocations: 0 / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.295e-06/0.3441, allocations: 0 / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3441, allocations: 4 kB / 0.5656 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.556e-05/0.3442, allocations: 19.92 kB / 0.5656 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.3446, allocations: 263.9 kB / 0.5658 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.3447, allocations: 54.67 kB / 0.5659 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/0.3448, allocations: 16.86 kB / 0.5659 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.3448, allocations: 7.938 kB / 0.5659 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/0.345, allocations: 67.33 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.496e-06/0.345, allocations: 3.984 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005613/0.3456, allocations: 177.3 kB / 0.5661 GB, free: 15.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.3456, allocations: 59.41 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.3458, allocations: 218.2 kB / 0.5664 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.3459, allocations: 29.7 kB / 0.5664 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.3459, allocations: 104.1 kB / 0.5665 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.601e-05/0.346, allocations: 27.78 kB / 0.5666 GB, free: 15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.346, allocations: 21.72 kB / 0.5666 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.3462, allocations: 330.8 kB / 0.5669 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.711e-05/0.3462, allocations: 16 kB / 0.5669 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.383e-05/0.3463, allocations: 41.7 kB / 0.5669 GB, free: 14.58 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.3464, allocations: 65.62 kB / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3464, allocations: 0 / 0.567 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001878/0.3466, allocations: 97.59 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3466, allocations: 6.344 kB / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3466, allocations: 0 / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.3466, allocations: 32 / 0.5671 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.233e-05/0.3467, allocations: 27.92 kB / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3467, allocations: 0 / 0.5671 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.677e-05/0.3468, allocations: 8.375 kB / 0.5671 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.3468, allocations: 0 / 0.5671 GB, free: 14.37 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.0001076/0.3469, allocations: 130.6 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.3469, allocations: 11.91 kB / 0.5673 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.3472, allocations: 119 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3472, allocations: 7.938 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3472, allocations: 4 kB / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3472, allocations: 0 / 0.5674 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.3476, allocations: 370.6 kB / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3476, allocations: 0 / 0.5678 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.205e-05/0.3477, allocations: 8 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3477, allocations: 4 kB / 0.5678 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.3477, allocations: 4 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3477, allocations: 4.016 kB / 0.5678 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.3477, allocations: 8.016 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.348, allocations: 208.4 kB / 0.568 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.348, allocations: 15.94 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.348, allocations: 3.938 kB / 0.568 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.89e-05/0.3481, allocations: 3.938 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.3481, allocations: 7.984 kB / 0.568 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3481, allocations: 8 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001391/0.3483, allocations: 160.3 kB / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3483, allocations: 0 / 0.5682 GB, free: 13.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.3485, allocations: 27.92 kB / 0.5682 GB, free: 13.2 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.002109/0.3506, allocations: 1.08 MB / 0.5693 GB, free: 12.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.3508, allocations: 55.91 kB / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3508, allocations: 0 / 0.5693 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.3509, allocations: 32 kB / 0.5693 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.3513, allocations: 27.34 kB / 0.5694 GB, free: 12.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.3533, allocations: 1.693 MB / 0.571 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.3537, allocations: 0.7119 MB / 0.5717 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.313e-05/0.3537, allocations: 20.58 kB / 0.5717 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.033e-05/0.3538, allocations: 39.42 kB / 0.5718 GB, free: 9.562 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3538, allocations: 0 / 0.5718 GB, free: 9.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02894/0.3828, allocations: 3.59 MB / 0.5753 GB, free: 5.984 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.47, allocations: 2.812 kB / 0.5753 GB, free: 5.984 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.499803636223078] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.606920395046473 8.621666927 8.275556447 Calling exit ...