Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001598, allocations: 198.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 226.5 MB / 243.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000698/0.0006979, allocations: 105.9 kB / 295.5 MB, free: 6.625 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2996/0.2996, allocations: 44.83 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002402/0.0002403, allocations: 12 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2813, allocations: 62.95 MB / 0.516 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00144/0.2828, allocations: 1.517 MB / 0.5174 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.2839, allocations: 1.045 MB / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.284, allocations: 4 kB / 0.5185 GB, free: 35.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.2843, allocations: 304.4 kB / 0.5188 GB, free: 35.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.2846, allocations: 226.3 kB / 0.519 GB, free: 35.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.2849, allocations: 148.9 kB / 0.5191 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.285, allocations: 219.1 kB / 0.5193 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.496e-05/0.2851, allocations: 14.09 kB / 0.5193 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.2852, allocations: 121 kB / 0.5195 GB, free: 35.09 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.2853, allocations: 166.4 kB / 0.5196 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.2854, allocations: 7 kB / 0.5196 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.809e-05/0.2854, allocations: 38.03 kB / 0.5197 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.2855, allocations: 145.1 kB / 0.5198 GB, free: 35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.2857, allocations: 159.6 kB / 0.5199 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.2859, allocations: 281.5 kB / 0.5202 GB, free: 34.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2859, allocations: 0 / 0.5202 GB, free: 34.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2859, allocations: 0 / 0.5202 GB, free: 34.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.2859, allocations: 2.656 kB / 0.5202 GB, free: 34.8 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006582/0.2866, allocations: 0.6799 MB / 0.5209 GB, free: 34.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.2866, allocations: 8.438 kB / 0.5209 GB, free: 34.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.2866, allocations: 33.72 kB / 0.5209 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.157e-05/0.2867, allocations: 49.75 kB / 0.521 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.2871, allocations: 452.4 kB / 0.5214 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.2871, allocations: 7.25 kB / 0.5214 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.2872, allocations: 6.812 kB / 0.5214 GB, free: 33.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.2873, allocations: 88.64 kB / 0.5215 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2873, allocations: 4 kB / 0.5215 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.2873, allocations: 0 / 0.5215 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2874, allocations: 2.438 kB / 0.5215 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.874e-05/0.2875, allocations: 34 kB / 0.5215 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002777/0.2878, allocations: 377.2 kB / 0.5219 GB, free: 33.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002113/0.288, allocations: 114.5 kB / 0.522 GB, free: 33.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.431e-05/0.2881, allocations: 38.06 kB / 0.522 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.192e-05/0.2881, allocations: 0 / 0.522 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.2883, allocations: 116.3 kB / 0.5221 GB, free: 33.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.2883, allocations: 3.938 kB / 0.5222 GB, free: 33.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003707/0.2887, allocations: 195.6 kB / 0.5223 GB, free: 33.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.2887, allocations: 80.11 kB / 0.5224 GB, free: 33.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008566/0.2896, allocations: 1.055 MB / 0.5234 GB, free: 32.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.2896, allocations: 32.73 kB / 0.5235 GB, free: 32.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.2897, allocations: 232.6 kB / 0.5237 GB, free: 32.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.2897, allocations: 37.44 kB / 0.5237 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.2898, allocations: 0 / 0.5237 GB, free: 32.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.479e-05/0.2898, allocations: 371.8 kB / 0.5241 GB, free: 32.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.134e-05/0.2899, allocations: 24.08 kB / 0.5241 GB, free: 32.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.29, allocations: 63.17 kB / 0.5242 GB, free: 32.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.2901, allocations: 86.08 kB / 0.5243 GB, free: 32.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2902, allocations: 3.938 kB / 0.5243 GB, free: 32.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002316/0.2904, allocations: 174 kB / 0.5244 GB, free: 31.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2904, allocations: 5.75 kB / 0.5244 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2904, allocations: 0 / 0.5244 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2904, allocations: 2.812 kB / 0.5244 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-05/0.2905, allocations: 29.11 kB / 0.5245 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.2906, allocations: 2.844 kB / 0.5245 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.747e-05/0.2907, allocations: 9.375 kB / 0.5245 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.2907, allocations: 2.719 kB / 0.5245 GB, free: 31.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001605/0.2908, allocations: 235.5 kB / 0.5247 GB, free: 31.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.2909, allocations: 50.72 kB / 0.5247 GB, free: 31.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.496e-05/0.291, allocations: 59.27 kB / 0.5248 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.291, allocations: 2.969 kB / 0.5248 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.291, allocations: 4 kB / 0.5248 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.291, allocations: 0 / 0.5248 GB, free: 31.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002135/0.2912, allocations: 353.1 kB / 0.5251 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2912, allocations: 2.844 kB / 0.5252 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.2912, allocations: 8.625 kB / 0.5252 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2913, allocations: 0 / 0.5252 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.2913, allocations: 2.875 kB / 0.5252 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2913, allocations: 0 / 0.5252 GB, free: 31.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.2913, allocations: 6.75 kB / 0.5252 GB, free: 31.49 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.2916, allocations: 204.9 kB / 0.5254 GB, free: 31.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.62e-05/0.2917, allocations: 147.5 kB / 0.5255 GB, free: 31.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.997e-05/0.2917, allocations: 7.938 kB / 0.5255 GB, free: 31.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.882e-05/0.2918, allocations: 9.078 kB / 0.5255 GB, free: 31.22 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.2918, allocations: 9.016 kB / 0.5255 GB, free: 31.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.2919, allocations: 2.75 kB / 0.5255 GB, free: 31.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005908/0.2924, allocations: 0.7839 MB / 0.5263 GB, free: 30.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2925, allocations: 4 kB / 0.5263 GB, free: 30.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002365/0.2927, allocations: 47.42 kB / 0.5263 GB, free: 30.94 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0011/0.2938, allocations: 1.037 MB / 0.5274 GB, free: 30.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001963/0.294, allocations: 82.7 kB / 0.5274 GB, free: 30.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.294, allocations: 0 / 0.5274 GB, free: 30.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.64e-05/0.2941, allocations: 41.69 kB / 0.5275 GB, free: 30.13 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.2945, allocations: 66.95 kB / 0.5275 GB, free: 30.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.2976, allocations: 3.033 MB / 0.5305 GB, free: 28.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.2979, allocations: 0.8491 MB / 0.5313 GB, free: 28.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.298, allocations: 149.1 kB / 0.5315 GB, free: 27.99 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.2981, allocations: 3.938 kB / 0.5315 GB, free: 27.99 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.003/3.301, allocations: 7.345 MB / 0.5387 GB, free: 26.88 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)