Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.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.001926/0.001926, allocations: 122.1 kB / 17.83 MB, free: 5.242 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.002658/0.002658, allocations: 204.6 kB / 20.79 MB, free: 2.297 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.771/1.771, allocations: 207.6 MB / 231.2 MB, free: 4.113 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.3718/0.3718, allocations: 44.23 MB / 327.3 MB, free: 6.781 MB / 254.1 MB " [Timeout remaining time 179] 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.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48",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.002551/0.002551, allocations: 75.88 kB / 463 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2841, allocations: 61 MB / 0.5117 GB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002685/0.2868, allocations: 1.716 MB / 0.5134 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.288, allocations: 0.8165 MB / 0.5142 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.251e-05/0.2881, allocations: 1.031 kB / 0.5142 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.2884, allocations: 49.97 kB / 0.5142 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002176/0.2886, allocations: 68.78 kB / 0.5143 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.2888, allocations: 90.88 kB / 0.5144 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.289, allocations: 93.95 kB / 0.5145 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.2891, allocations: 12.03 kB / 0.5145 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.196e-05/0.2892, allocations: 45.12 kB / 0.5145 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.018e-05/0.2893, allocations: 33.03 kB / 0.5146 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.2893, allocations: 3.875 kB / 0.5146 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.916e-05/0.2894, allocations: 39.08 kB / 0.5146 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.772e-05/0.2894, allocations: 26.45 kB / 0.5146 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.2895, allocations: 52.5 kB / 0.5147 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.2897, allocations: 132.3 kB / 0.5148 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2897, allocations: 0 / 0.5148 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2897, allocations: 0 / 0.5148 GB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.2897, allocations: 0 / 0.5148 GB, free: 10.75 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004686/0.2902, allocations: 446.7 kB / 0.5152 GB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.2902, allocations: 12.11 kB / 0.5152 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.298e-05/0.2902, allocations: 1.562 kB / 0.5152 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.068e-05/0.2902, allocations: 34.69 kB / 0.5153 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.2903, allocations: 19.5 kB / 0.5153 GB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.2905, allocations: 225.8 kB / 0.5155 GB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.2905, allocations: 5.5 kB / 0.5155 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.142e-05/0.2905, allocations: 2.938 kB / 0.5155 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.2907, allocations: 54.42 kB / 0.5156 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2907, allocations: 0 / 0.5156 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2907, allocations: 0 / 0.5156 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2907, allocations: 1.312 kB / 0.5156 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.378e-05/0.2908, allocations: 18.89 kB / 0.5156 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.2911, allocations: 301.9 kB / 0.5159 GB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.2912, allocations: 60.94 kB / 0.5159 GB, free: 9.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.98e-05/0.2913, allocations: 16.48 kB / 0.5159 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.2913, allocations: 1.25 kB / 0.5159 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.2914, allocations: 69.48 kB / 0.516 GB, free: 9.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.2914, allocations: 0 / 0.516 GB, free: 9.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000515/0.2919, allocations: 191.3 kB / 0.5162 GB, free: 9.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.292, allocations: 53.72 kB / 0.5162 GB, free: 9.312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.2922, allocations: 266 kB / 0.5165 GB, free: 9.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.769e-06/0.2922, allocations: 27.45 kB / 0.5165 GB, free: 9.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.25e-05/0.2922, allocations: 114.8 kB / 0.5166 GB, free: 8.992 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.455e-05/0.2922, allocations: 27.58 kB / 0.5167 GB, free: 8.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.2923, allocations: 25.59 kB / 0.5167 GB, free: 8.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.872e-05/0.2923, allocations: 322.6 kB / 0.517 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.595e-05/0.2924, allocations: 23.42 kB / 0.517 GB, free: 8.613 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.631e-05/0.2924, allocations: 34.55 kB / 0.517 GB, free: 8.586 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.2926, allocations: 62.98 kB / 0.5171 GB, free: 8.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2926, allocations: 5.5 kB / 0.5171 GB, free: 8.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001688/0.2927, allocations: 100.6 kB / 0.5172 GB, free: 8.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2927, allocations: 5.656 kB / 0.5172 GB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2927, allocations: 3.938 kB / 0.5172 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2928, allocations: 1.281 kB / 0.5172 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.622e-05/0.2928, allocations: 21.2 kB / 0.5172 GB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.2928, allocations: 3.938 kB / 0.5172 GB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.2929, allocations: 6.438 kB / 0.5172 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.2929, allocations: 2.625 kB / 0.5173 GB, free: 8.457 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 (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 7.694e-05/0.293, allocations: 141.3 kB / 0.5174 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.293, allocations: 15.09 kB / 0.5174 GB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.293, allocations: 20.23 kB / 0.5174 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.293, allocations: 1.469 kB / 0.5174 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2931, allocations: 5.219 kB / 0.5174 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2931, allocations: 0 / 0.5174 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.2934, allocations: 406.5 kB / 0.5178 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.2934, allocations: 5.406 kB / 0.5178 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.114e-05/0.2934, allocations: 6.875 kB / 0.5178 GB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.2934, allocations: 5.312 kB / 0.5178 GB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.2934, allocations: 5.359 kB / 0.5178 GB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.2934, allocations: 5.312 kB / 0.5178 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2935, allocations: 1.375 kB / 0.5178 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.2937, allocations: 205.7 kB / 0.518 GB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.2937, allocations: 91.7 kB / 0.5181 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.2937, allocations: 2.75 kB / 0.5181 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.2938, allocations: 1.375 kB / 0.5181 GB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.954e-05/0.2938, allocations: 12.11 kB / 0.5181 GB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.2938, allocations: 3.125 kB / 0.5181 GB, free: 7.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.294, allocations: 192 kB / 0.5183 GB, free: 7.484 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.294, allocations: 0 / 0.5183 GB, free: 7.484 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.2942, allocations: 25.86 kB / 0.5184 GB, free: 7.477 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 (8): * Single equations (assignments): 6 * 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.001912/0.2961, allocations: 1.124 MB / 0.5195 GB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.2963, allocations: 55.53 kB / 0.5195 GB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2963, allocations: 0 / 0.5195 GB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-05/0.2964, allocations: 28.42 kB / 0.5195 GB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003391/0.2967, allocations: 28.3 kB / 0.5196 GB, free: 6.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.2982, allocations: 1.816 MB / 0.5213 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.2983, allocations: 0.7197 MB / 0.522 GB, free: 3.898 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.298e-05/0.2983, allocations: 13.19 kB / 0.522 GB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.71e-05/0.2984, allocations: 47.41 kB / 0.5221 GB, free: 3.844 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2984, allocations: 0 / 0.5221 GB, free: 3.844 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.3159, allocations: 3.759 MB / 0.5258 GB, free: 20 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.354/8.67, allocations: 5.812 kB / 0.5258 GB, free: 16 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498902 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.00541990896454] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.852402107033413 8.874840957 8.581866739 Calling exit ...