Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test71,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001849/0.001849, allocations: 122.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002176/0.002176, allocations: 197.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2317/0.2317, allocations: 46.12 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 75.88 kB / 481 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3784, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003285/0.3817, allocations: 1.831 MB / 0.5324 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001863/0.3836, allocations: 1.096 MB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.259e-05/0.3837, allocations: 5.469 kB / 0.5335 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005063/0.3842, allocations: 303.6 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004574/0.3847, allocations: 255.7 kB / 0.5341 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.385, allocations: 108.4 kB / 0.5342 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003125/0.3853, allocations: 262.9 kB / 0.5344 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.086e-05/0.3854, allocations: 17.92 kB / 0.5344 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.3856, allocations: 128 kB / 0.5346 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.3858, allocations: 192.1 kB / 0.5347 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.3859, allocations: 6.562 kB / 0.5347 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.386, allocations: 50.56 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.3862, allocations: 142.8 kB / 0.5349 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001729/0.3864, allocations: 155.7 kB / 0.5351 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005194/0.3869, allocations: 372 kB / 0.5354 GB, free: 9.949 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3869, allocations: 4 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3869, allocations: 1.312 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.3869, allocations: 0 / 0.5354 GB, free: 9.945 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.001034/0.388, allocations: 0.762 MB / 0.5362 GB, free: 9.262 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.388, allocations: 9.312 kB / 0.5362 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.557e-05/0.3881, allocations: 40.02 kB / 0.5362 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.945e-05/0.3882, allocations: 51.11 kB / 0.5363 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000694/0.3889, allocations: 457.6 kB / 0.5367 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.582e-05/0.3889, allocations: 5.5 kB / 0.5367 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.3889, allocations: 7.562 kB / 0.5367 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.3891, allocations: 83.52 kB / 0.5368 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.3892, allocations: 3.938 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.3892, allocations: 5.125 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3892, allocations: 1.094 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.3893, allocations: 28.17 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004374/0.3898, allocations: 386.3 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.3901, allocations: 109.9 kB / 0.5373 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.3902, allocations: 41.83 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.3902, allocations: 1.188 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.3904, allocations: 119.9 kB / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 3.888e-06/0.3904, allocations: 0 / 0.5375 GB, free: 8.164 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005421/0.391, allocations: 206.2 kB / 0.5377 GB, free: 8.047 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.3911, allocations: 81.83 kB / 0.5377 GB, free: 7.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.3923, allocations: 1.053 MB / 0.5388 GB, free: 7.469 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.3923, allocations: 27.23 kB / 0.5388 GB, free: 7.438 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.3925, allocations: 238.5 kB / 0.539 GB, free: 7.23 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.3926, allocations: 27.88 kB / 0.5391 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.3926, allocations: 31.14 kB / 0.5391 GB, free: 7.18 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002725/0.3929, allocations: 370 kB / 0.5394 GB, free: 6.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.479e-05/0.393, allocations: 34.52 kB / 0.5395 GB, free: 6.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.3931, allocations: 58.44 kB / 0.5395 GB, free: 6.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.3933, allocations: 86.55 kB / 0.5396 GB, free: 6.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.3933, allocations: 3.938 kB / 0.5396 GB, free: 6.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003243/0.3937, allocations: 179.9 kB / 0.5398 GB, free: 6.586 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3937, allocations: 11.44 kB / 0.5398 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3937, allocations: 0.9375 kB / 0.5398 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3937, allocations: 2.25 kB / 0.5398 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.3939, allocations: 20.95 kB / 0.5398 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.3939, allocations: 2.375 kB / 0.5398 GB, free: 6.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.825e-05/0.394, allocations: 7.906 kB / 0.5398 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.394, allocations: 4.375 kB / 0.5398 GB, free: 6.574 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.0002376/0.3942, allocations: 234.4 kB / 0.5401 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.3943, allocations: 58.39 kB / 0.5401 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.725e-05/0.3944, allocations: 63.33 kB / 0.5402 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.3944, allocations: 1.75 kB / 0.5402 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3945, allocations: 1.344 kB / 0.5402 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3945, allocations: 0 / 0.5402 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000387/0.3949, allocations: 354.5 kB / 0.5405 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3949, allocations: 1.062 kB / 0.5405 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.3949, allocations: 7.062 kB / 0.5405 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3949, allocations: 9.188 kB / 0.5405 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3949, allocations: 1.25 kB / 0.5405 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3949, allocations: 1.125 kB / 0.5405 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3949, allocations: 1.25 kB / 0.5405 GB, free: 6.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.3953, allocations: 213.4 kB / 0.5407 GB, free: 5.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.3955, allocations: 137.8 kB / 0.5409 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.3955, allocations: 2.188 kB / 0.5409 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.169e-05/0.3956, allocations: 12.25 kB / 0.5409 GB, free: 5.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.3957, allocations: 11.55 kB / 0.5409 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.3957, allocations: 8.578 kB / 0.5409 GB, free: 5.715 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009044/0.3966, allocations: 0.7849 MB / 0.5417 GB, free: 5.352 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3966, allocations: 0 / 0.5417 GB, free: 5.352 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00028/0.3969, allocations: 45.09 kB / 0.5417 GB, free: 5.344 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.002103/0.399, allocations: 1.04 MB / 0.5427 GB, free: 4.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.3993, allocations: 79.59 kB / 0.5428 GB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3993, allocations: 0 / 0.5428 GB, free: 4.512 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.3994, allocations: 38.61 kB / 0.5428 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.3999, allocations: 79.56 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.006764/0.4067, allocations: 4.567 MB / 0.5474 GB, free: 208 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008082/0.4076, allocations: 0.8543 MB / 0.5482 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002405/0.4079, allocations: 63.44 kB / 0.5483 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.4081, allocations: 151.4 kB / 0.5484 GB, free: 15.12 MB / 414.1 MB Notification: Performance of SimCode: time 1.664e-06/0.4081, allocations: 0 / 0.5484 GB, free: 15.12 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0348/0.4429, allocations: 9.096 MB / 0.5573 GB, free: 6.133 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.797/9.24, allocations: 11.7 kB / 0.5573 GB, free: 6.121 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)