Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.00187/0.00187, allocations: 118.9 kB / 17.83 MB, free: 5.203 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.002396/0.002396, allocations: 210.3 kB / 20.8 MB, free: 2.258 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.473/1.473, allocations: 207.6 MB / 231.2 MB, free: 4.098 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.3467/0.3467, allocations: 44.23 MB / 327.3 MB, free: 7.102 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.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49",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.002227/0.002227, allocations: 71.91 kB / 463 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2836, allocations: 61 MB / 0.5117 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003161/0.2867, allocations: 1.709 MB / 0.5134 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.2879, allocations: 0.817 MB / 0.5142 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.628e-05/0.288, allocations: 0 / 0.5142 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.2883, allocations: 57.84 kB / 0.5142 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.2885, allocations: 64.56 kB / 0.5143 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.2888, allocations: 91.94 kB / 0.5144 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.2889, allocations: 89.33 kB / 0.5145 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.289, allocations: 12.7 kB / 0.5145 GB, free: 11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.081e-05/0.2891, allocations: 44.19 kB / 0.5145 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.621e-05/0.2892, allocations: 34.44 kB / 0.5146 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.2892, allocations: 2.844 kB / 0.5146 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.762e-05/0.2893, allocations: 43.33 kB / 0.5146 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.637e-05/0.2894, allocations: 30.34 kB / 0.5146 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.2894, allocations: 37 kB / 0.5147 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.2896, allocations: 134.3 kB / 0.5148 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2896, allocations: 4 kB / 0.5148 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2896, allocations: 0 / 0.5148 GB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.2897, allocations: 0 / 0.5148 GB, free: 10.8 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.0004805/0.2901, allocations: 442.3 kB / 0.5152 GB, free: 10.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2902, allocations: 15.02 kB / 0.5152 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.052e-05/0.2902, allocations: 192 / 0.5152 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.273e-05/0.2902, allocations: 41.02 kB / 0.5153 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.858e-05/0.2903, allocations: 17.34 kB / 0.5153 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.2905, allocations: 222 kB / 0.5155 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.2905, allocations: 6.406 kB / 0.5155 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.2905, allocations: 6.031 kB / 0.5155 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.2906, allocations: 51.55 kB / 0.5156 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.2906, allocations: 0 / 0.5156 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2906, allocations: 4 kB / 0.5156 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.2907, allocations: 0 / 0.5156 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.606e-05/0.2907, allocations: 22.55 kB / 0.5156 GB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002877/0.291, allocations: 290.8 kB / 0.5159 GB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.2912, allocations: 56.55 kB / 0.5159 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.2912, allocations: 19.72 kB / 0.5159 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.2912, allocations: 1.375 kB / 0.5159 GB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.2914, allocations: 73.08 kB / 0.516 GB, free: 9.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.2914, allocations: 3.938 kB / 0.516 GB, free: 9.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005118/0.2919, allocations: 193.2 kB / 0.5162 GB, free: 9.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.2919, allocations: 52.78 kB / 0.5162 GB, free: 9.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.2921, allocations: 265.5 kB / 0.5165 GB, free: 9.188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.2921, allocations: 31.33 kB / 0.5165 GB, free: 9.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.2922, allocations: 111.5 kB / 0.5166 GB, free: 9.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.2922, allocations: 19.2 kB / 0.5166 GB, free: 9.031 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.2923, allocations: 28.39 kB / 0.5167 GB, free: 9.004 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.654e-05/0.2923, allocations: 329.2 kB / 0.517 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.2924, allocations: 17.77 kB / 0.517 GB, free: 8.672 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.985e-05/0.2924, allocations: 35.7 kB / 0.517 GB, free: 8.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.2925, allocations: 58.88 kB / 0.5171 GB, free: 8.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2925, allocations: 0 / 0.5171 GB, free: 8.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001689/0.2927, allocations: 120.6 kB / 0.5172 GB, free: 8.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2927, allocations: 5.688 kB / 0.5172 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.2927, allocations: 1.312 kB / 0.5172 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2928, allocations: 0 / 0.5172 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.931e-05/0.2928, allocations: 13.56 kB / 0.5172 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.2928, allocations: 9.391 kB / 0.5172 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.276e-05/0.2929, allocations: 1.406 kB / 0.5172 GB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.2929, allocations: 6.719 kB / 0.5172 GB, free: 8.512 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.829e-05/0.293, allocations: 141.7 kB / 0.5174 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/0.293, allocations: 14.53 kB / 0.5174 GB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.18e-05/0.293, allocations: 21.2 kB / 0.5174 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.293, allocations: 1.094 kB / 0.5174 GB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.293, allocations: 3.938 kB / 0.5174 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2931, allocations: 1.25 kB / 0.5174 GB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.2934, allocations: 398.2 kB / 0.5178 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2934, allocations: 5.547 kB / 0.5178 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/0.2934, allocations: 10.72 kB / 0.5178 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2934, allocations: 9.438 kB / 0.5178 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.2934, allocations: 1.375 kB / 0.5178 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2935, allocations: 1.406 kB / 0.5178 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2935, allocations: 1.609 kB / 0.5178 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000196/0.2936, allocations: 209.5 kB / 0.518 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.2937, allocations: 95.72 kB / 0.5181 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.2937, allocations: 5.844 kB / 0.5181 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.2938, allocations: 6.375 kB / 0.5181 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.838e-05/0.2938, allocations: 10.98 kB / 0.5181 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.2938, allocations: 4.312 kB / 0.5181 GB, free: 7.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.2939, allocations: 199 kB / 0.5183 GB, free: 7.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2939, allocations: 1.5 kB / 0.5183 GB, free: 7.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.2942, allocations: 20.31 kB / 0.5184 GB, free: 7.52 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.001847/0.296, allocations: 1.113 MB / 0.5194 GB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.2962, allocations: 52.92 kB / 0.5195 GB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.2962, allocations: 0 / 0.5195 GB, free: 6.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.425e-05/0.2963, allocations: 31.05 kB / 0.5195 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.2966, allocations: 25.72 kB / 0.5195 GB, free: 6.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.298, allocations: 1.81 MB / 0.5213 GB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001158/0.2981, allocations: 0.7158 MB / 0.522 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.174e-05/0.2981, allocations: 16.86 kB / 0.522 GB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.2982, allocations: 39.42 kB / 0.5221 GB, free: 3.879 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2982, allocations: 0 / 0.5221 GB, free: 3.879 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.3172, allocations: 3.779 MB / 0.5258 GB, free: 36 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.793/9.111, allocations: 5.812 kB / 0.5258 GB, free: 32 kB / 382.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000499301 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.041876458039042] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 9.292748963052873 9.307869482 9.015225403 Calling exit ...