Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.001303/0.001303, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.00147/0.00147, allocations: 214.9 kB / 24.52 MB, free: 3.941 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.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2311/0.2311, allocations: 44.92 MB / 359.6 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 63.84 kB / 0.4939 GB, free: 10.49 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4261/0.4281, allocations: 65.47 MB / 0.5578 GB, free: 7.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003694/0.4318, allocations: 1.703 MB / 0.5595 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.4338, allocations: 0.9792 MB / 0.5604 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.4339, allocations: 0 / 0.5604 GB, free: 4.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003616/0.4343, allocations: 47.77 kB / 0.5605 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004443/0.4347, allocations: 103.6 kB / 0.5606 GB, free: 4.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.435, allocations: 83.66 kB / 0.5606 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.4352, allocations: 99.75 kB / 0.5607 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.4353, allocations: 13.7 kB / 0.5607 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.4355, allocations: 43.78 kB / 0.5608 GB, free: 4.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.813e-05/0.4355, allocations: 35.84 kB / 0.5608 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.274e-05/0.4356, allocations: 4 kB / 0.5608 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.4357, allocations: 39.98 kB / 0.5609 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.4358, allocations: 23.91 kB / 0.5609 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.911e-05/0.4358, allocations: 31.75 kB / 0.5609 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002621/0.4361, allocations: 139.4 kB / 0.5611 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4361, allocations: 0 / 0.5611 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4361, allocations: 0 / 0.5611 GB, free: 4.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.4361, allocations: 0 / 0.5611 GB, free: 4.066 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.0006337/0.4367, allocations: 361.4 kB / 0.5614 GB, free: 3.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4368, allocations: 12.03 kB / 0.5614 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.393e-05/0.4368, allocations: 192 / 0.5614 GB, free: 3.672 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.4368, allocations: 38.73 kB / 0.5614 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.201e-05/0.4369, allocations: 12.89 kB / 0.5615 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.4372, allocations: 167.1 kB / 0.5616 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.4372, allocations: 4.125 kB / 0.5616 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.4372, allocations: 8 kB / 0.5616 GB, free: 3.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.4374, allocations: 57.61 kB / 0.5617 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4374, allocations: 0 / 0.5617 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.4374, allocations: 0 / 0.5617 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.4374, allocations: 0 / 0.5617 GB, free: 3.348 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.732e-05/0.4375, allocations: 19.98 kB / 0.5617 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.4379, allocations: 263.9 kB / 0.562 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.4381, allocations: 66.61 kB / 0.562 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.137e-05/0.4382, allocations: 16.86 kB / 0.562 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.4382, allocations: 0 / 0.562 GB, free: 2.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.4384, allocations: 75.31 kB / 0.5621 GB, free: 2.848 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.4384, allocations: 0 / 0.5621 GB, free: 2.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006252/0.439, allocations: 193.2 kB / 0.5623 GB, free: 2.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.76e-05/0.4391, allocations: 59.41 kB / 0.5623 GB, free: 2.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000253/0.4393, allocations: 242.9 kB / 0.5626 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.4394, allocations: 29.7 kB / 0.5626 GB, free: 2.297 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.283e-05/0.4395, allocations: 116.1 kB / 0.5627 GB, free: 2.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.4395, allocations: 23.84 kB / 0.5627 GB, free: 2.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.4395, allocations: 21.72 kB / 0.5628 GB, free: 2.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.4397, allocations: 326.8 kB / 0.5631 GB, free: 1.801 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.181e-05/0.4398, allocations: 19.98 kB / 0.5631 GB, free: 1.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.698e-05/0.4398, allocations: 41.64 kB / 0.5631 GB, free: 1.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.44, allocations: 61.7 kB / 0.5632 GB, free: 1.668 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.44, allocations: 0 / 0.5632 GB, free: 1.668 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002115/0.4402, allocations: 113.5 kB / 0.5633 GB, free: 1.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4402, allocations: 4 kB / 0.5633 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4402, allocations: 4 kB / 0.5633 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.4402, allocations: 0 / 0.5633 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.4403, allocations: 12 kB / 0.5633 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.4403, allocations: 3.938 kB / 0.5633 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.438e-05/0.4404, allocations: 15.92 kB / 0.5633 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.4404, allocations: 4.375 kB / 0.5633 GB, free: 1.508 MB / 398.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.0001199/0.4405, allocations: 136.9 kB / 0.5635 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.4405, allocations: 11.91 kB / 0.5635 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.4408, allocations: 127 kB / 0.5636 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.4408, allocations: 0 / 0.5636 GB, free: 1.219 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.4408, allocations: 7.938 kB / 0.5636 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4408, allocations: 0 / 0.5636 GB, free: 1.211 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005065/0.4413, allocations: 370.4 kB / 0.564 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4413, allocations: 0 / 0.564 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.14e-05/0.4414, allocations: 11.98 kB / 0.564 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4414, allocations: 7.938 kB / 0.564 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.4414, allocations: 288 / 0.564 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4414, allocations: 32 / 0.564 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4414, allocations: 4 kB / 0.564 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.4416, allocations: 228.2 kB / 0.5642 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.4417, allocations: 19.78 kB / 0.5642 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.4417, allocations: 0 / 0.5642 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.4418, allocations: 4 kB / 0.5642 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.4418, allocations: 11.97 kB / 0.5642 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.4418, allocations: 7.984 kB / 0.5642 GB, free: 500 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.442, allocations: 179.2 kB / 0.5644 GB, free: 320 kB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.442, allocations: 0 / 0.5644 GB, free: 320 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002808/0.4423, allocations: 24 kB / 0.5644 GB, free: 296 kB / 398.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 (9): * Single equations (assignments): 7 * 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.002455/0.4447, allocations: 1.135 MB / 0.5655 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.445, allocations: 59.91 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.445, allocations: 4.062 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.421e-05/0.4451, allocations: 35.86 kB / 0.5656 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.4455, allocations: 31.67 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002309/0.4478, allocations: 1.764 MB / 0.5674 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.4479, allocations: 100.7 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.25e-05/0.4479, allocations: 17.28 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.448, allocations: 43.41 kB / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of SimCode: time 6.92e-07/0.448, allocations: 0 / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02407/0.4721, allocations: 3.974 MB / 0.5714 GB, free: 9.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.74, allocations: 10.33 kB / 0.5714 GB, free: 9.266 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.851496136048809] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.956952003994957 11.98541543 11.544945403 Calling exit ...