Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001241/0.001241, 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.001274/0.001274, 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.433/1.433, allocations: 227.4 MB / 247 MB, free: 10.44 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.2513/0.2513, allocations: 46.13 MB / 344.4 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.002229/0.002229, allocations: 79.88 kB / 481 MB, free: 4.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3779, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003277/0.3812, allocations: 1.747 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.3829, allocations: 1.026 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.383, allocations: 5.25 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003466/0.3834, allocations: 110.7 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.3838, allocations: 129.4 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.384, allocations: 83.78 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.3842, allocations: 112.4 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.3843, allocations: 19.52 kB / 0.5339 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3844, allocations: 59.84 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.3846, allocations: 70.97 kB / 0.534 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.3846, allocations: 8.5 kB / 0.534 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.3847, allocations: 54.48 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.65e-05/0.3848, allocations: 37.45 kB / 0.5341 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.92e-05/0.3849, allocations: 42.69 kB / 0.5341 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000267/0.3852, allocations: 143.3 kB / 0.5342 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3852, allocations: 0 / 0.5342 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.928e-06/0.3852, allocations: 1.375 kB / 0.5343 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.3852, allocations: 3.938 kB / 0.5343 GB, free: 10.7 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.0006753/0.3859, allocations: 459.5 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.3859, allocations: 9.625 kB / 0.5347 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.328e-05/0.386, allocations: 36.12 kB / 0.5347 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.386, allocations: 19.72 kB / 0.5348 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.3864, allocations: 221.8 kB / 0.535 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.3864, allocations: 3.125 kB / 0.535 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.3864, allocations: 10.64 kB / 0.535 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.3866, allocations: 64.72 kB / 0.535 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3866, allocations: 0 / 0.535 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3866, allocations: 8 kB / 0.535 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.3866, allocations: 1.375 kB / 0.5351 GB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.832e-05/0.3867, allocations: 20.36 kB / 0.5351 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.3872, allocations: 307 kB / 0.5354 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.3874, allocations: 62 kB / 0.5354 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.988e-05/0.3875, allocations: 22.59 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.3875, allocations: 5.375 kB / 0.5354 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.3877, allocations: 65.14 kB / 0.5355 GB, free: 9.422 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.502e-06/0.3877, allocations: 1.375 kB / 0.5355 GB, free: 9.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007619/0.3885, allocations: 248 kB / 0.5357 GB, free: 9.285 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.3885, allocations: 60.56 kB / 0.5358 GB, free: 9.215 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.3888, allocations: 254.6 kB / 0.536 GB, free: 9.043 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.3888, allocations: 26.83 kB / 0.5361 GB, free: 9.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.804e-05/0.3889, allocations: 114.8 kB / 0.5362 GB, free: 8.902 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.793e-05/0.389, allocations: 37.41 kB / 0.5362 GB, free: 8.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.389, allocations: 26.69 kB / 0.5362 GB, free: 8.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.3892, allocations: 335.3 kB / 0.5366 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.3892, allocations: 22.91 kB / 0.5366 GB, free: 8.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.512e-05/0.3893, allocations: 48.62 kB / 0.5366 GB, free: 8.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.3895, allocations: 80.42 kB / 0.5367 GB, free: 8.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3895, allocations: 0 / 0.5367 GB, free: 8.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002371/0.3897, allocations: 135 kB / 0.5368 GB, free: 8.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3898, allocations: 4.656 kB / 0.5368 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3898, allocations: 1.125 kB / 0.5368 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3898, allocations: 1.188 kB / 0.5368 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.517e-05/0.3899, allocations: 29.55 kB / 0.5369 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.395e-06/0.3899, allocations: 9.766 kB / 0.5369 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.39, allocations: 2 kB / 0.5369 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.265e-05/0.39, allocations: 7.188 kB / 0.5369 GB, free: 8.316 MB / 398.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 (13): * Single equations (assignments): 13 * 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.0001201/0.3901, allocations: 132.4 kB / 0.537 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.3901, allocations: 19.14 kB / 0.537 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.386e-05/0.3902, allocations: 17.31 kB / 0.5371 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3902, allocations: 5.25 kB / 0.5371 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3902, allocations: 1.031 kB / 0.5371 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3902, allocations: 0 / 0.5371 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005656/0.3908, allocations: 467.9 kB / 0.5375 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3908, allocations: 5.297 kB / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.3909, allocations: 12.69 kB / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3909, allocations: 1.812 kB / 0.5375 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.3909, allocations: 9.922 kB / 0.5375 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3909, allocations: 1.594 kB / 0.5375 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3909, allocations: 0 / 0.5375 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.3912, allocations: 243.7 kB / 0.5378 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.3913, allocations: 89.11 kB / 0.5379 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.3913, allocations: 5.25 kB / 0.5379 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.5e-05/0.3914, allocations: 6.453 kB / 0.5379 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.3915, allocations: 5.25 kB / 0.5379 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.3915, allocations: 8.125 kB / 0.5379 GB, free: 7.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001956/0.3917, allocations: 193.4 kB / 0.5381 GB, free: 7.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3917, allocations: 0 / 0.5381 GB, free: 7.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.392, allocations: 28.84 kB / 0.5381 GB, free: 7.266 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002381/0.3944, allocations: 1.172 MB / 0.5392 GB, free: 6.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002162/0.3946, allocations: 81.38 kB / 0.5393 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.3946, allocations: 0 / 0.5393 GB, free: 6.336 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.328e-05/0.3947, allocations: 39.95 kB / 0.5393 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.3951, allocations: 37.03 kB / 0.5394 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.3971, allocations: 1.883 MB / 0.5412 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.3975, allocations: 0.7268 MB / 0.5419 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.304e-05/0.3976, allocations: 15.64 kB / 0.5419 GB, free: 4.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.448e-05/0.3977, allocations: 48.62 kB / 0.542 GB, free: 3.969 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3977, allocations: 0 / 0.542 GB, free: 3.969 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.4221, allocations: 4.037 MB / 0.5459 GB, free: 1.832 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.512, allocations: 6.109 kB / 0.5459 GB, free: 1.828 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1)