Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.00185/0.00185, allocations: 126.2 kB / 17.84 MB, free: 5.223 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.002301/0.002301, allocations: 203.8 kB / 20.79 MB, free: 2.281 MB / 14.72 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 1.495/1.495, allocations: 207.6 MB / 231.2 MB, free: 4.125 MB / 174.1 MB " [Timeout remaining time 178] 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.3585/0.3585, allocations: 44.23 MB / 327.3 MB, free: 6.703 MB / 254.1 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.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002151/0.002151, allocations: 75.89 kB / 463 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.2798, allocations: 60.99 MB / 0.5117 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002617/0.2825, allocations: 1.726 MB / 0.5134 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.2835, allocations: 0.8193 MB / 0.5142 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.925e-05/0.2836, allocations: 1.125 kB / 0.5142 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.2839, allocations: 107.3 kB / 0.5143 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.2842, allocations: 93.94 kB / 0.5144 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.2844, allocations: 94.89 kB / 0.5145 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.2846, allocations: 117.1 kB / 0.5146 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.2847, allocations: 16.05 kB / 0.5146 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.973e-05/0.2848, allocations: 65.88 kB / 0.5147 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.2849, allocations: 72.09 kB / 0.5147 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.285, allocations: 4.062 kB / 0.5147 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.786e-05/0.2851, allocations: 43.47 kB / 0.5148 GB, free: 10.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.2851, allocations: 39.33 kB / 0.5148 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.2852, allocations: 45.59 kB / 0.5149 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.2854, allocations: 139.9 kB / 0.515 GB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2854, allocations: 0 / 0.515 GB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2854, allocations: 0 / 0.515 GB, free: 10.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.2854, allocations: 1.531 kB / 0.515 GB, free: 10.78 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005745/0.286, allocations: 443.5 kB / 0.5154 GB, free: 10.33 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.2861, allocations: 14.08 kB / 0.5154 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.035e-05/0.2861, allocations: 9.281 kB / 0.5154 GB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.833e-05/0.2861, allocations: 35.8 kB / 0.5155 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.2862, allocations: 15.47 kB / 0.5155 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.2864, allocations: 227.9 kB / 0.5157 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.2864, allocations: 6.406 kB / 0.5157 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.2865, allocations: 11.39 kB / 0.5157 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.2866, allocations: 63.36 kB / 0.5158 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.2866, allocations: 0 / 0.5158 GB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.2866, allocations: 5.438 kB / 0.5158 GB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2866, allocations: 9.312 kB / 0.5158 GB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.818e-05/0.2867, allocations: 28.91 kB / 0.5158 GB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000339/0.2871, allocations: 318 kB / 0.5161 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.2873, allocations: 73.5 kB / 0.5162 GB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.007e-05/0.2873, allocations: 27.12 kB / 0.5162 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.2874, allocations: 1.938 kB / 0.5162 GB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.2875, allocations: 72.55 kB / 0.5163 GB, free: 9.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.2875, allocations: 0 / 0.5163 GB, free: 9.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006273/0.2881, allocations: 225.9 kB / 0.5165 GB, free: 9.352 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.2882, allocations: 60.69 kB / 0.5166 GB, free: 9.281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.2884, allocations: 249.5 kB / 0.5168 GB, free: 9.109 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.2884, allocations: 31.08 kB / 0.5168 GB, free: 9.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.2884, allocations: 111 kB / 0.5169 GB, free: 8.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.2885, allocations: 41.17 kB / 0.517 GB, free: 8.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-05/0.2885, allocations: 27.34 kB / 0.517 GB, free: 8.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.2886, allocations: 327 kB / 0.5173 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.547e-05/0.2886, allocations: 28.48 kB / 0.5173 GB, free: 8.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.078e-05/0.2887, allocations: 48.94 kB / 0.5174 GB, free: 8.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.2888, allocations: 85.52 kB / 0.5175 GB, free: 8.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2888, allocations: 0 / 0.5175 GB, free: 8.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001997/0.289, allocations: 134 kB / 0.5176 GB, free: 8.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.289, allocations: 5.5 kB / 0.5176 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.289, allocations: 0 / 0.5176 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2891, allocations: 5.375 kB / 0.5176 GB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.2892, allocations: 33.73 kB / 0.5176 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.2892, allocations: 4.031 kB / 0.5177 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.297e-05/0.2892, allocations: 2.75 kB / 0.5177 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.2892, allocations: 8.109 kB / 0.5177 GB, free: 8.379 MB / 382.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 (13): * Single equations (assignments): 13 * 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 8.169e-05/0.2893, allocations: 136.9 kB / 0.5178 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.2893, allocations: 14.78 kB / 0.5178 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.2894, allocations: 21.66 kB / 0.5178 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2894, allocations: 5.312 kB / 0.5178 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2894, allocations: 0 / 0.5178 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2894, allocations: 3.984 kB / 0.5178 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003909/0.2898, allocations: 452.5 kB / 0.5183 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2898, allocations: 96 / 0.5183 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.2898, allocations: 16.31 kB / 0.5183 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2898, allocations: 1.375 kB / 0.5183 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.2898, allocations: 2.75 kB / 0.5183 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2898, allocations: 0 / 0.5183 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2898, allocations: 1.375 kB / 0.5183 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/0.2901, allocations: 243.2 kB / 0.5185 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.2901, allocations: 94.06 kB / 0.5186 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.2901, allocations: 1.625 kB / 0.5186 GB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.2902, allocations: 9.234 kB / 0.5186 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.2902, allocations: 5.594 kB / 0.5186 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.2903, allocations: 8.203 kB / 0.5186 GB, free: 7.484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.2904, allocations: 192.6 kB / 0.5188 GB, free: 7.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2904, allocations: 4 kB / 0.5188 GB, free: 7.301 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000259/0.2906, allocations: 24 kB / 0.5188 GB, free: 7.277 MB / 382.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 (11): * Single equations (assignments): 9 * 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.001954/0.2926, allocations: 1.136 MB / 0.52 GB, free: 6.152 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002036/0.2928, allocations: 75.91 kB / 0.52 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2928, allocations: 0 / 0.52 GB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.625e-05/0.2929, allocations: 43.86 kB / 0.5201 GB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.2932, allocations: 36.09 kB / 0.5201 GB, free: 6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.2948, allocations: 1.888 MB / 0.5219 GB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000151/0.2949, allocations: 0.7201 MB / 0.5226 GB, free: 3.27 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.386e-05/0.295, allocations: 25.06 kB / 0.5227 GB, free: 3.246 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.2951, allocations: 47.42 kB / 0.5227 GB, free: 3.199 MB / 382.1 MB Notification: Performance of SimCode: time 7.82e-07/0.2951, allocations: 0 / 0.5227 GB, free: 3.199 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01926/0.3143, allocations: 3.982 MB / 0.5266 GB, free: 15.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.704/9.019, allocations: 6.828 kB / 0.5266 GB, free: 15.14 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.966252742975485] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y'] 9.202872598019894 9.228874854 8.938625726 Calling exit ...