Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001297/0.001297, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 202 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.452/1.452, allocations: 227.4 MB / 247 MB, free: 10.41 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.2234/0.2234, allocations: 46.11 MB / 344.3 MB, free: 11.46 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.002205/0.002205, allocations: 79.88 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3803, allocations: 62.44 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003268/0.3837, allocations: 1.699 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.3856, allocations: 0.9983 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.041e-05/0.3856, allocations: 1.219 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003077/0.386, allocations: 53.62 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.3863, allocations: 95.06 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.3865, allocations: 77.38 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.3867, allocations: 98.97 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.724e-05/0.3867, allocations: 9.109 kB / 0.5336 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.477e-05/0.3868, allocations: 38.67 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.966e-05/0.3869, allocations: 30.62 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.3869, allocations: 2.719 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-05/0.387, allocations: 40.64 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/0.3871, allocations: 25.8 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.006e-05/0.3872, allocations: 45.59 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.3874, allocations: 123.3 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3874, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3874, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3875, allocations: 5.375 kB / 0.5339 GB, free: 10.86 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000603/0.3881, allocations: 440.8 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3881, allocations: 9.625 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.3882, allocations: 36.06 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.848e-05/0.3882, allocations: 15.75 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.3885, allocations: 222.9 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.3886, allocations: 1.75 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.3886, allocations: 5.312 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.3887, allocations: 51.3 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3888, allocations: 3.984 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3888, allocations: 1.375 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3888, allocations: 3.938 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.236e-05/0.3889, allocations: 16.19 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000246/0.3891, allocations: 196.9 kB / 0.5349 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.3893, allocations: 55.11 kB / 0.5349 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.403e-05/0.3894, allocations: 19.73 kB / 0.535 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.3894, allocations: 1.375 kB / 0.535 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.3896, allocations: 65.14 kB / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.473e-06/0.3896, allocations: 0 / 0.535 GB, free: 9.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003102/0.3899, allocations: 105.4 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.3899, allocations: 51.41 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002964/0.3902, allocations: 275.3 kB / 0.5354 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.3903, allocations: 27.08 kB / 0.5355 GB, free: 9.367 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.291e-05/0.3904, allocations: 111 kB / 0.5356 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.85e-05/0.3904, allocations: 22.59 kB / 0.5356 GB, free: 9.242 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.913e-05/0.3905, allocations: 27.14 kB / 0.5356 GB, free: 9.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3906, allocations: 327 kB / 0.5359 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/0.3907, allocations: 12.25 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-05/0.3908, allocations: 31.05 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.3909, allocations: 47.27 kB / 0.536 GB, free: 8.824 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.3909, allocations: 3.938 kB / 0.536 GB, free: 8.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001639/0.391, allocations: 85.03 kB / 0.5361 GB, free: 8.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3911, allocations: 8.125 kB / 0.5361 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3911, allocations: 1.312 kB / 0.5361 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3911, allocations: 0 / 0.5361 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.671e-05/0.3912, allocations: 17.67 kB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3912, allocations: 1.094 kB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.596e-05/0.3913, allocations: 6.453 kB / 0.5361 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.3913, allocations: 1.219 kB / 0.5361 GB, free: 8.75 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 (7): * Single equations (assignments): 7 * 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.0001324/0.3914, allocations: 137.1 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.3914, allocations: 14.88 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.318e-05/0.3915, allocations: 20.11 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3915, allocations: 0.7188 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.3915, allocations: 320 / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3915, allocations: 4.938 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.3917, allocations: 199 kB / 0.5365 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.3917, allocations: 4 kB / 0.5365 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/0.3917, allocations: 7.656 kB / 0.5365 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3918, allocations: 5.156 kB / 0.5365 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3918, allocations: 4.922 kB / 0.5365 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3918, allocations: 0 / 0.5365 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3918, allocations: 1.125 kB / 0.5365 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.392, allocations: 118.2 kB / 0.5366 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.135e-05/0.3921, allocations: 89.48 kB / 0.5367 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.3921, allocations: 0.9688 kB / 0.5367 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.449e-05/0.3921, allocations: 1.219 kB / 0.5367 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.3922, allocations: 6.172 kB / 0.5367 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.3922, allocations: 6.344 kB / 0.5367 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.3924, allocations: 198.8 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3924, allocations: 0 / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002355/0.3927, allocations: 17.59 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001942/0.3946, allocations: 0.9647 MB / 0.5379 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001571/0.3948, allocations: 35.42 kB / 0.5379 GB, free: 7.242 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3948, allocations: 3.938 kB / 0.5379 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.219e-05/0.3948, allocations: 15.53 kB / 0.5379 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.3951, allocations: 46.89 kB / 0.538 GB, free: 7.211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.3971, allocations: 1.665 MB / 0.5396 GB, free: 5.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.3975, allocations: 0.7155 MB / 0.5403 GB, free: 5.105 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.384e-05/0.3975, allocations: 16.09 kB / 0.5403 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.114e-05/0.3976, allocations: 41.7 kB / 0.5403 GB, free: 5.062 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3976, allocations: 0 / 0.5403 GB, free: 5.062 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.4244, allocations: 3.497 MB / 0.5438 GB, free: 3.191 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.018/8.442, allocations: 14 kB / 0.5438 GB, free: 3.184 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test64_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test64.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1)