Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001346/0.001346, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2498/0.2498, allocations: 46.12 MB / 344.4 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 79.86 kB / 481 MB, free: 4.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3803, allocations: 62.45 MB / 0.5307 GB, free: 13.37 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003359/0.3837, allocations: 1.839 MB / 0.5325 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.3858, allocations: 1.089 MB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.941e-05/0.3859, allocations: 5.062 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006074/0.3866, allocations: 304.6 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005425/0.3871, allocations: 255.6 kB / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.3874, allocations: 104.4 kB / 0.5342 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.3878, allocations: 266.9 kB / 0.5344 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.843e-05/0.3878, allocations: 9.938 kB / 0.5344 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002011/0.388, allocations: 136 kB / 0.5346 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002626/0.3883, allocations: 187.7 kB / 0.5348 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.834e-05/0.3883, allocations: 7.5 kB / 0.5348 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.3885, allocations: 46.17 kB / 0.5348 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001638/0.3886, allocations: 146.1 kB / 0.5349 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.3888, allocations: 151.3 kB / 0.5351 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.3893, allocations: 377 kB / 0.5355 GB, free: 9.957 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3893, allocations: 0 / 0.5355 GB, free: 9.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3893, allocations: 1.125 kB / 0.5355 GB, free: 9.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3893, allocations: 0 / 0.5355 GB, free: 9.957 MB / 398.1 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.001031/0.3903, allocations: 0.7621 MB / 0.5362 GB, free: 9.273 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3904, allocations: 18.02 kB / 0.5362 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.3904, allocations: 35.81 kB / 0.5362 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.97e-05/0.3905, allocations: 54.94 kB / 0.5363 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000708/0.3912, allocations: 456.8 kB / 0.5367 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3913, allocations: 2.781 kB / 0.5367 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.3913, allocations: 10.16 kB / 0.5367 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.3915, allocations: 85.02 kB / 0.5368 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3916, allocations: 3.938 kB / 0.5368 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.3916, allocations: 7.938 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3916, allocations: 1.219 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.3917, allocations: 27.88 kB / 0.5369 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.3922, allocations: 382.7 kB / 0.5372 GB, free: 8.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.3925, allocations: 109.2 kB / 0.5373 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.974e-05/0.3926, allocations: 38.36 kB / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.3927, allocations: 5.109 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.3929, allocations: 119.7 kB / 0.5375 GB, free: 8.168 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.393, allocations: 0 / 0.5375 GB, free: 8.168 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005094/0.3935, allocations: 202.7 kB / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.954e-05/0.3936, allocations: 78.17 kB / 0.5378 GB, free: 7.961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.3948, allocations: 1.053 MB / 0.5388 GB, free: 7.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.3949, allocations: 30.77 kB / 0.5388 GB, free: 7.445 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002183/0.3951, allocations: 238.5 kB / 0.539 GB, free: 7.238 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.484e-05/0.3951, allocations: 37.06 kB / 0.5391 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.3952, allocations: 25.97 kB / 0.5391 GB, free: 7.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.3954, allocations: 370.2 kB / 0.5395 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.162e-05/0.3955, allocations: 31.16 kB / 0.5395 GB, free: 6.816 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.3956, allocations: 58.05 kB / 0.5395 GB, free: 6.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.3958, allocations: 87.11 kB / 0.5396 GB, free: 6.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.3958, allocations: 7.922 kB / 0.5396 GB, free: 6.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003323/0.3962, allocations: 171.6 kB / 0.5398 GB, free: 6.594 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3962, allocations: 5.375 kB / 0.5398 GB, free: 6.594 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3962, allocations: 9.281 kB / 0.5398 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3962, allocations: 1.688 kB / 0.5398 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3964, allocations: 21.2 kB / 0.5398 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3964, allocations: 2.188 kB / 0.5398 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.3965, allocations: 7.5 kB / 0.5398 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.3965, allocations: 12.39 kB / 0.5399 GB, free: 6.57 MB / 398.1 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 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002406/0.3967, allocations: 223.1 kB / 0.5401 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.3968, allocations: 53.81 kB / 0.5401 GB, free: 6.383 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.669e-05/0.3969, allocations: 72.09 kB / 0.5402 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.3969, allocations: 1.375 kB / 0.5402 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.397, allocations: 1.344 kB / 0.5402 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.397, allocations: 0 / 0.5402 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/0.3973, allocations: 350.2 kB / 0.5405 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3974, allocations: 1.156 kB / 0.5405 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.401e-05/0.3974, allocations: 6.406 kB / 0.5405 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.3974, allocations: 5.109 kB / 0.5405 GB, free: 6.027 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3974, allocations: 6.234 kB / 0.5405 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3974, allocations: 1.062 kB / 0.5405 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3974, allocations: 0 / 0.5405 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.3978, allocations: 214.1 kB / 0.5407 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.398, allocations: 142.2 kB / 0.5409 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.398, allocations: 2.25 kB / 0.5409 GB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.3981, allocations: 7.172 kB / 0.5409 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/0.3981, allocations: 11.52 kB / 0.5409 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.3982, allocations: 8.688 kB / 0.5409 GB, free: 5.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009382/0.3991, allocations: 0.7854 MB / 0.5417 GB, free: 5.359 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3991, allocations: 0 / 0.5417 GB, free: 5.359 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00028/0.3994, allocations: 45.03 kB / 0.5417 GB, free: 5.352 MB / 398.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: 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 (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.002074/0.4015, allocations: 1.045 MB / 0.5427 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.4018, allocations: 78.31 kB / 0.5428 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4018, allocations: 0 / 0.5428 GB, free: 4.52 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.4019, allocations: 42.97 kB / 0.5429 GB, free: 4.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004702/0.4024, allocations: 80.52 kB / 0.5429 GB, free: 4.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005924/0.4083, allocations: 4.572 MB / 0.5474 GB, free: 144 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.4089, allocations: 0.8426 MB / 0.5482 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.409, allocations: 59.45 kB / 0.5483 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.4092, allocations: 151.4 kB / 0.5484 GB, free: 15.07 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4092, allocations: 0 / 0.5484 GB, free: 15.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03174/0.441, allocations: 9.082 MB / 0.5573 GB, free: 6.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.513/8.954, allocations: 15.61 kB / 0.5573 GB, free: 6.066 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)