Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.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.001347/0.001347, 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.001322/0.001322, 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.475/1.475, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.2271/0.2271, allocations: 46.94 MB / 361.6 MB, free: 4.207 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.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14",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.002125/0.002125, allocations: 79.88 kB / 0.497 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.315, allocations: 66.08 MB / 0.5616 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.004042/0.3191, allocations: 2.054 MB / 0.5636 GB, free: 2.238 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.321, allocations: 1.13 MB / 0.5647 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.9e-05/0.3211, allocations: 3.938 kB / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.3214, allocations: 55.62 kB / 0.5647 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000354/0.3217, allocations: 115.4 kB / 0.5648 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.322, allocations: 115.6 kB / 0.5649 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.3223, allocations: 199.5 kB / 0.5651 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3224, allocations: 23.77 kB / 0.5652 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.3226, allocations: 91.56 kB / 0.5652 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.3228, allocations: 75.62 kB / 0.5653 GB, free: 444 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.3228, allocations: 12 kB / 0.5653 GB, free: 432 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.3229, allocations: 55.97 kB / 0.5654 GB, free: 376 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.006e-05/0.323, allocations: 39.78 kB / 0.5654 GB, free: 336 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.697e-05/0.3231, allocations: 79.53 kB / 0.5655 GB, free: 256 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.3234, allocations: 199.1 kB / 0.5657 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3234, allocations: 3.938 kB / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3234, allocations: 0 / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.3234, allocations: 0 / 0.5657 GB, free: 52 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009349/0.3243, allocations: 0.4966 MB / 0.5662 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3244, allocations: 12.03 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.3244, allocations: 38.75 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.3245, allocations: 16.84 kB / 0.5662 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.3248, allocations: 186.2 kB / 0.5664 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.3248, allocations: 4.375 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.3249, allocations: 24.3 kB / 0.5664 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.3253, allocations: 152.3 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3253, allocations: 0 / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3253, allocations: 0 / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.3253, allocations: 4 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004286/0.3257, allocations: 111.8 kB / 0.5667 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000707/0.3264, allocations: 0.5233 MB / 0.5672 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.3271, allocations: 158.6 kB / 0.5674 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.3273, allocations: 72.73 kB / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.3273, allocations: 0 / 0.5674 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003927/0.3277, allocations: 147.2 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.3277, allocations: 0 / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008306/0.3286, allocations: 245.4 kB / 0.5678 GB, free: 13.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.779e-05/0.3286, allocations: 63.34 kB / 0.5679 GB, free: 13.63 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.3289, allocations: 238.2 kB / 0.5681 GB, free: 13.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.3289, allocations: 29.7 kB / 0.5681 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.329, allocations: 132.4 kB / 0.5683 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.3291, allocations: 39.69 kB / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.334e-05/0.3291, allocations: 33.7 kB / 0.5683 GB, free: 13.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.3293, allocations: 330.8 kB / 0.5686 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.3295, allocations: 71.94 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.3298, allocations: 110.7 kB / 0.5688 GB, free: 12.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005077/0.3303, allocations: 189.8 kB / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3303, allocations: 0 / 0.569 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000627/0.3309, allocations: 255.1 kB / 0.5692 GB, free: 12.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.331, allocations: 41.69 kB / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.331, allocations: 3.938 kB / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.331, allocations: 0 / 0.5693 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.3312, allocations: 35.97 kB / 0.5693 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.3312, allocations: 4.062 kB / 0.5693 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.3314, allocations: 35.92 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3314, allocations: 7.938 kB / 0.5694 GB, free: 12.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001332/0.3315, allocations: 142.6 kB / 0.5695 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.319e-05/0.3315, allocations: 15.91 kB / 0.5695 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006012/0.3321, allocations: 210.9 kB / 0.5697 GB, free: 11.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.3322, allocations: 4 kB / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3322, allocations: 3.938 kB / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3322, allocations: 3.984 kB / 0.5697 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.3324, allocations: 200.6 kB / 0.5699 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.3324, allocations: 0 / 0.5699 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.3325, allocations: 27.91 kB / 0.5699 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3325, allocations: 0 / 0.5699 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.3325, allocations: 4 kB / 0.5699 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3325, allocations: 11.98 kB / 0.57 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3325, allocations: 3.938 kB / 0.57 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008237/0.3334, allocations: 300.8 kB / 0.5702 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.113e-05/0.3334, allocations: 19.88 kB / 0.5703 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.3334, allocations: 8 kB / 0.5703 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.3336, allocations: 19.97 kB / 0.5703 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.342e-05/0.3337, allocations: 19.91 kB / 0.5703 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.3337, allocations: 4 kB / 0.5703 GB, free: 10.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000177/0.3339, allocations: 176.4 kB / 0.5705 GB, free: 10.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3339, allocations: 0 / 0.5705 GB, free: 10.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.3341, allocations: 44 kB / 0.5705 GB, free: 10.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002509/0.3366, allocations: 1.137 MB / 0.5716 GB, free: 9.711 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006097/0.3372, allocations: 211.2 kB / 0.5718 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3372, allocations: 0 / 0.5718 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.3375, allocations: 76.12 kB / 0.5719 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.3378, allocations: 58.23 kB / 0.572 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003207/0.341, allocations: 2.181 MB / 0.5741 GB, free: 7.074 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.3414, allocations: 0.7281 MB / 0.5748 GB, free: 6.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.651e-05/0.3414, allocations: 25.47 kB / 0.5748 GB, free: 6.297 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.3415, allocations: 51.42 kB / 0.5749 GB, free: 6.246 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3415, allocations: 0 / 0.5749 GB, free: 6.246 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2711/0.6126, allocations: 5.159 MB / 0.5799 GB, free: 1.105 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/8.989, allocations: 11.28 kB / 0.5799 GB, free: 1.098 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039968 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.02717113494873] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 9.129216354340315 9.145060034 8.818666759 Calling exit ...