Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00112/0.00112, allocations: 79.53 kB / 20.02 MB, free: 4.508 MB / 18.57 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.0008697/0.0008697, allocations: 170.3 kB / 23.31 MB, free: 1.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8436/0.8436, allocations: 158.6 MB / 185.1 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.125/0.125, allocations: 32.37 MB / 269.7 MB, free: 14.91 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 407.1 MB, free: 2.055 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.276e-05, allocations: 6.078 kB / 407.1 MB, free: 2.051 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003649/0.003672, allocations: 1.962 MB / 409.1 MB, free: 76 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.005366, allocations: 0.8543 MB / 410 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.005514, allocations: 3.938 kB / 410 MB, free: 15.21 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.005926, allocations: 55.62 kB / 410 MB, free: 15.15 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.006253, allocations: 75.55 kB / 410.1 MB, free: 15.08 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.006627, allocations: 119.6 kB / 410.2 MB, free: 14.96 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003246/0.006952, allocations: 207.3 kB / 410.4 MB, free: 14.76 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.007083, allocations: 21.8 kB / 410.4 MB, free: 14.73 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.007286, allocations: 107.7 kB / 410.5 MB, free: 14.63 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.007418, allocations: 67.78 kB / 410.6 MB, free: 14.56 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.007454, allocations: 12 kB / 410.6 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.00757, allocations: 47.92 kB / 410.7 MB, free: 14.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.569e-05/0.007655, allocations: 35.84 kB / 410.7 MB, free: 14.47 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 7.952e-05/0.007735, allocations: 47.84 kB / 410.7 MB, free: 14.42 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003524/0.008087, allocations: 207.3 kB / 410.9 MB, free: 14.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.008091, allocations: 3.984 kB / 410.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.008093, allocations: 0 / 410.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.008098, allocations: 0 / 410.9 MB, free: 14.21 MB / 394.7 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.0008462/0.008944, allocations: 492.4 kB / 411.4 MB, free: 13.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.008984, allocations: 12.03 kB / 411.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.448e-05/0.009019, allocations: 38.75 kB / 411.5 MB, free: 13.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.009067, allocations: 16.84 kB / 411.5 MB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.009339, allocations: 198.3 kB / 411.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.009354, allocations: 4.375 kB / 411.7 MB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.009378, allocations: 12.38 kB / 411.7 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.009662, allocations: 182.2 kB / 411.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.00967, allocations: 0 / 411.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.009682, allocations: 0 / 411.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.009688, allocations: 4 kB / 411.9 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.009923, allocations: 115.8 kB / 412 MB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.01047, allocations: 0.4922 MB / 412.5 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.01094, allocations: 158.6 kB / 412.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.01107, allocations: 72.8 kB / 412.7 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.0111, allocations: 0 / 412.7 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003206/0.01142, allocations: 160.9 kB / 412.9 MB, free: 12.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.154e-06/0.01142, allocations: 0 / 412.9 MB, free: 12.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005551/0.01197, allocations: 273.2 kB / 413.1 MB, free: 11.83 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.01202, allocations: 55.39 kB / 413.2 MB, free: 11.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/0.01219, allocations: 236.2 kB / 413.4 MB, free: 11.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.01221, allocations: 25.7 kB / 413.4 MB, free: 11.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.01228, allocations: 124.4 kB / 413.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.01231, allocations: 43.83 kB / 413.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.01236, allocations: 41.61 kB / 413.7 MB, free: 11.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.01246, allocations: 326.8 kB / 414 MB, free: 10.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.01262, allocations: 93.62 kB / 414.1 MB, free: 10.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.01278, allocations: 133.9 kB / 414.2 MB, free: 10.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.01307, allocations: 197.8 kB / 414.4 MB, free: 10.49 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.01308, allocations: 4 kB / 414.4 MB, free: 10.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005333/0.01361, allocations: 292.7 kB / 414.7 MB, free: 10.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.729e-05/0.01366, allocations: 32.98 kB / 414.7 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.01366, allocations: 4 kB / 414.7 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.01368, allocations: 3.938 kB / 414.7 MB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.01379, allocations: 39.97 kB / 414.8 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.0138, allocations: 0 / 414.8 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001049/0.0139, allocations: 43.84 kB / 414.8 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.01392, allocations: 12 kB / 414.8 MB, free: 10.04 MB / 394.7 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 9.948e-05/0.01402, allocations: 129.8 kB / 414.9 MB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.01404, allocations: 15.91 kB / 415 MB, free: 9.891 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003742/0.01441, allocations: 219.1 kB / 415.2 MB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.01442, allocations: 4 kB / 415.2 MB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.01442, allocations: 4 kB / 415.2 MB, free: 9.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.01443, allocations: 3.938 kB / 415.2 MB, free: 9.656 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001471/0.01458, allocations: 192.6 kB / 415.4 MB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01458, allocations: 0 / 415.4 MB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.101e-05/0.01467, allocations: 27.97 kB / 415.4 MB, free: 9.398 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.01468, allocations: 4 kB / 415.4 MB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.01469, allocations: 0 / 415.4 MB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.01469, allocations: 0 / 415.4 MB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.01469, allocations: 0 / 415.4 MB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005107/0.0152, allocations: 324.7 kB / 415.7 MB, free: 9.059 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.404e-05/0.01523, allocations: 19.89 kB / 415.7 MB, free: 9.039 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.01525, allocations: 4 kB / 415.7 MB, free: 9.035 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.01533, allocations: 19.97 kB / 415.8 MB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.534e-05/0.01541, allocations: 24.03 kB / 415.8 MB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.01543, allocations: 11.94 kB / 415.8 MB, free: 8.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.01555, allocations: 167.5 kB / 416 MB, free: 8.816 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01555, allocations: 0 / 416 MB, free: 8.816 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002031/0.01575, allocations: 43.94 kB / 416 MB, free: 8.773 MB / 394.7 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.00147/0.01722, allocations: 1.168 MB / 417.2 MB, free: 7.609 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004118/0.01763, allocations: 244.9 kB / 417.4 MB, free: 7.352 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.01764, allocations: 0 / 417.4 MB, free: 7.352 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.01778, allocations: 76.19 kB / 417.5 MB, free: 7.277 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.01804, allocations: 59.77 kB / 417.5 MB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.02025, allocations: 2.285 MB / 419.8 MB, free: 4.789 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.495e-05/0.02034, allocations: 116.2 kB / 419.9 MB, free: 4.656 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.474e-05/0.02042, allocations: 21.47 kB / 420 MB, free: 4.633 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.0205, allocations: 56.48 kB / 420 MB, free: 4.574 MB / 394.7 MB Notification: Performance of SimCode: time 8.12e-07/0.0205, allocations: 0 / 420 MB, free: 4.574 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.04033, allocations: 5.952 MB / 426 MB, free: 14.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/7.089, allocations: 8 kB / 426 MB, free: 14.47 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.126879973337054] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y', 'trapezoid1.T_start', 'trapezoid1.count'] 7.193576423451304 7.203744897 7.193767009 Calling exit ...