Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001833/0.001833, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00256/0.00256, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2301/0.2301, allocations: 46.95 MB / 360.9 MB, free: 4.02 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.88 kB / 0.4962 GB, free: 7.648 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3362, allocations: 66.05 MB / 0.5607 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003568/0.3397, allocations: 1.972 MB / 0.5626 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.3416, allocations: 1.061 MB / 0.5636 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.3417, allocations: 3.938 kB / 0.5636 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000327/0.3421, allocations: 43.7 kB / 0.5637 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.3424, allocations: 115.4 kB / 0.5638 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.3427, allocations: 107.6 kB / 0.5639 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002956/0.343, allocations: 215.3 kB / 0.5641 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3431, allocations: 19.62 kB / 0.5641 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.3432, allocations: 83.64 kB / 0.5642 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.3434, allocations: 83.53 kB / 0.5643 GB, free: 472 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.317e-05/0.3434, allocations: 12 kB / 0.5643 GB, free: 460 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.3435, allocations: 51.98 kB / 0.5643 GB, free: 408 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.555e-05/0.3436, allocations: 39.84 kB / 0.5644 GB, free: 368 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.153e-05/0.3437, allocations: 55.66 kB / 0.5644 GB, free: 312 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003196/0.344, allocations: 211.1 kB / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.344, allocations: 0 / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.344, allocations: 0 / 0.5646 GB, free: 100 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.344, allocations: 0 / 0.5646 GB, free: 100 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.0009669/0.345, allocations: 0.4965 MB / 0.5651 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.345, allocations: 8.031 kB / 0.5651 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.281e-05/0.3451, allocations: 38.75 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.3451, allocations: 20.84 kB / 0.5652 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.3455, allocations: 190.1 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3455, allocations: 8.375 kB / 0.5654 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.051e-05/0.3455, allocations: 7.938 kB / 0.5654 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.346, allocations: 184.7 kB / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.346, allocations: 0 / 0.5655 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.346, allocations: 4 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.346, allocations: 7.938 kB / 0.5655 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004461/0.3465, allocations: 107.9 kB / 0.5656 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006639/0.3471, allocations: 0.5 MB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.3478, allocations: 158.6 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.3481, allocations: 76.72 kB / 0.5664 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.3481, allocations: 4 kB / 0.5664 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/0.3485, allocations: 160.9 kB / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.3485, allocations: 0 / 0.5665 GB, free: 13.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008843/0.3493, allocations: 261.3 kB / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.3494, allocations: 59.34 kB / 0.5668 GB, free: 13.64 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.3497, allocations: 248 kB / 0.5671 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.574e-05/0.3497, allocations: 25.7 kB / 0.5671 GB, free: 13.35 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3498, allocations: 128.4 kB / 0.5672 GB, free: 13.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.3498, allocations: 39.69 kB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/0.3499, allocations: 37.7 kB / 0.5673 GB, free: 13.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3501, allocations: 334.8 kB / 0.5676 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002862/0.3503, allocations: 101.6 kB / 0.5677 GB, free: 12.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000294/0.3506, allocations: 129.9 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005165/0.3511, allocations: 197.8 kB / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3512, allocations: 0 / 0.568 GB, free: 12.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006825/0.3518, allocations: 285.3 kB / 0.5683 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.3519, allocations: 37.7 kB / 0.5683 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3519, allocations: 4.125 kB / 0.5683 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3519, allocations: 7.938 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001824/0.3521, allocations: 35.95 kB / 0.5684 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3521, allocations: 3.938 kB / 0.5684 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.3523, allocations: 31.88 kB / 0.5684 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.3523, allocations: 7.984 kB / 0.5684 GB, free: 11.9 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.0001256/0.3524, allocations: 129.8 kB / 0.5685 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.3524, allocations: 15.91 kB / 0.5685 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006413/0.3531, allocations: 230 kB / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.87e-06/0.3531, allocations: 3.938 kB / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3531, allocations: 0 / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3531, allocations: 3.984 kB / 0.5688 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.3533, allocations: 196.6 kB / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3533, allocations: 0 / 0.569 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.3535, allocations: 27.97 kB / 0.569 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3535, allocations: 0 / 0.569 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.3535, allocations: 8 kB / 0.569 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.3535, allocations: 7.938 kB / 0.569 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3535, allocations: 0 / 0.569 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008783/0.3544, allocations: 316.8 kB / 0.5693 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.3544, allocations: 19.83 kB / 0.5693 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.3544, allocations: 4 kB / 0.5693 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.3546, allocations: 27.91 kB / 0.5694 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.3547, allocations: 19.97 kB / 0.5694 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.3547, allocations: 4 kB / 0.5694 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.3549, allocations: 177.8 kB / 0.5695 GB, free: 10.65 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3549, allocations: 4 kB / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.3551, allocations: 36.05 kB / 0.5696 GB, free: 10.61 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 (13): * Single equations (assignments): 9 * 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.002691/0.3578, allocations: 1.18 MB / 0.5707 GB, free: 9.594 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006623/0.3585, allocations: 256.8 kB / 0.571 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3585, allocations: 0 / 0.571 GB, free: 9.328 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.3587, allocations: 75.88 kB / 0.5711 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.3591, allocations: 59.56 kB / 0.5711 GB, free: 9.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.3626, allocations: 2.308 MB / 0.5734 GB, free: 6.758 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.3627, allocations: 112.1 kB / 0.5735 GB, free: 6.633 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001053/0.3628, allocations: 29.41 kB / 0.5735 GB, free: 6.605 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.3629, allocations: 59.41 kB / 0.5736 GB, free: 6.547 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3629, allocations: 0 / 0.5736 GB, free: 6.547 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.3971, allocations: 5.882 MB / 0.5793 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.79, allocations: 11.3 kB / 0.5793 GB, free: 0.7266 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.91755056194961] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 11.957128377165645 11.976814241 11.629129578 Calling exit ...