Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001016, 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.304/1.304, allocations: 226.5 MB / 243.4 MB, free: 8.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007286/0.0007285, allocations: 97.75 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3021/0.3021, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002854, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3043, allocations: 62.97 MB / 0.516 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.001582/0.3059, allocations: 1.506 MB / 0.5174 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.3072, allocations: 1.044 MB / 0.5185 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.146e-05/0.3073, allocations: 6.75 kB / 0.5185 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.3077, allocations: 289.8 kB / 0.5187 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.308, allocations: 223 kB / 0.519 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.3083, allocations: 153.1 kB / 0.5191 GB, free: 35.08 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.3085, allocations: 216.8 kB / 0.5193 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.3086, allocations: 18.77 kB / 0.5193 GB, free: 34.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3087, allocations: 113.2 kB / 0.5194 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.3089, allocations: 158.6 kB / 0.5196 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.3089, allocations: 3.094 kB / 0.5196 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.701e-05/0.309, allocations: 46.66 kB / 0.5196 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.585e-05/0.3091, allocations: 125.6 kB / 0.5198 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.976e-05/0.3092, allocations: 163.5 kB / 0.5199 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.3094, allocations: 273.8 kB / 0.5202 GB, free: 34.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3094, allocations: 4 kB / 0.5202 GB, free: 34.68 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3094, allocations: 0 / 0.5202 GB, free: 34.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3094, allocations: 0 / 0.5202 GB, free: 34.68 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.0006506/0.3101, allocations: 0.6795 MB / 0.5208 GB, free: 34.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.3101, allocations: 8.906 kB / 0.5208 GB, free: 34.1 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.3102, allocations: 34.12 kB / 0.5209 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.975e-05/0.3102, allocations: 49.16 kB / 0.5209 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003819/0.3106, allocations: 444 kB / 0.5213 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.3106, allocations: 11.38 kB / 0.5214 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.3107, allocations: 6.875 kB / 0.5214 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.3108, allocations: 84.27 kB / 0.5214 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.078e-06/0.3108, allocations: 3.984 kB / 0.5215 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.3108, allocations: 6.281 kB / 0.5215 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3109, allocations: 0 / 0.5215 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.602e-05/0.3109, allocations: 21.94 kB / 0.5215 GB, free: 33.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.3112, allocations: 382.2 kB / 0.5218 GB, free: 33.38 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002015/0.3114, allocations: 110.2 kB / 0.5219 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.635e-05/0.3115, allocations: 43.67 kB / 0.522 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.3115, allocations: 0 / 0.522 GB, free: 33.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001861/0.3117, allocations: 115.7 kB / 0.5221 GB, free: 33.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.3117, allocations: 3.938 kB / 0.5221 GB, free: 33.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003761/0.3121, allocations: 193.7 kB / 0.5223 GB, free: 33.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.3122, allocations: 83.77 kB / 0.5224 GB, free: 32.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007863/0.313, allocations: 1.028 MB / 0.5234 GB, free: 32.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.313, allocations: 25.7 kB / 0.5234 GB, free: 32.61 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3131, allocations: 233.5 kB / 0.5236 GB, free: 32.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.3131, allocations: 29.66 kB / 0.5236 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.3132, allocations: 2.781 kB / 0.5237 GB, free: 32.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.528e-05/0.3132, allocations: 367.5 kB / 0.524 GB, free: 32.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.268e-05/0.3133, allocations: 31.62 kB / 0.524 GB, free: 32.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.165e-05/0.3134, allocations: 52.48 kB / 0.5241 GB, free: 32.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.3135, allocations: 88.98 kB / 0.5242 GB, free: 31.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3135, allocations: 3.938 kB / 0.5242 GB, free: 31.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002306/0.3138, allocations: 172.1 kB / 0.5243 GB, free: 31.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3138, allocations: 5.594 kB / 0.5243 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3138, allocations: 0 / 0.5243 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/0.3138, allocations: 2.656 kB / 0.5243 GB, free: 31.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.314, allocations: 27.52 kB / 0.5244 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.314, allocations: 2.406 kB / 0.5244 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.892e-05/0.3141, allocations: 11.83 kB / 0.5244 GB, free: 31.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3141, allocations: 5.219 kB / 0.5244 GB, free: 31.85 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.0001509/0.3142, allocations: 226.8 kB / 0.5246 GB, free: 31.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.3143, allocations: 51.28 kB / 0.5247 GB, free: 31.67 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.459e-05/0.3144, allocations: 60.02 kB / 0.5247 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3144, allocations: 0 / 0.5247 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.3144, allocations: 2.875 kB / 0.5247 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3144, allocations: 0 / 0.5247 GB, free: 31.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.3146, allocations: 342 kB / 0.525 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3146, allocations: 0 / 0.525 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.3146, allocations: 5.125 kB / 0.525 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.3146, allocations: 2.719 kB / 0.525 GB, free: 31.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3147, allocations: 11.8 kB / 0.5251 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.3147, allocations: 3 kB / 0.5251 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3147, allocations: 0 / 0.5251 GB, free: 31.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.3149, allocations: 204.2 kB / 0.5253 GB, free: 31.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.566e-05/0.315, allocations: 150.2 kB / 0.5254 GB, free: 31.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.3151, allocations: 7.406 kB / 0.5254 GB, free: 31.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.3152, allocations: 7.812 kB / 0.5254 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.3152, allocations: 14.38 kB / 0.5254 GB, free: 31.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.3152, allocations: 8.547 kB / 0.5254 GB, free: 31.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005747/0.3158, allocations: 0.7668 MB / 0.5262 GB, free: 30.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3158, allocations: 0 / 0.5262 GB, free: 30.85 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002366/0.3161, allocations: 40.25 kB / 0.5262 GB, free: 30.84 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.001082/0.3172, allocations: 1.045 MB / 0.5272 GB, free: 30.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.3174, allocations: 79.52 kB / 0.5273 GB, free: 30.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3174, allocations: 0 / 0.5273 GB, free: 30.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.529e-05/0.3175, allocations: 38.47 kB / 0.5274 GB, free: 30.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.3179, allocations: 68.66 kB / 0.5274 GB, free: 30 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.321, allocations: 2.955 MB / 0.5303 GB, free: 28.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3212, allocations: 0.835 MB / 0.5311 GB, free: 28.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.3214, allocations: 159.8 kB / 0.5313 GB, free: 27.92 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3214, allocations: 0 / 0.5313 GB, free: 27.92 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.085/3.407, allocations: 7.168 MB / 0.5383 GB, free: 26.84 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)