Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001277/0.001277, allocations: 121.8 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.001452/0.001452, 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.497/1.497, allocations: 227.4 MB / 247 MB, free: 10.42 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.2279/0.2279, allocations: 46.12 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.002263/0.002264, allocations: 80.08 kB / 481 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.377, allocations: 62.44 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003543/0.3806, allocations: 1.733 MB / 0.5324 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001901/0.3826, allocations: 1.022 MB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.3827, allocations: 1.844 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000325/0.383, allocations: 57.22 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.3834, allocations: 102.4 kB / 0.5335 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002076/0.3836, allocations: 75.36 kB / 0.5336 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.3838, allocations: 105.4 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.3839, allocations: 18 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.764e-05/0.384, allocations: 39.95 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.571e-05/0.3841, allocations: 30.8 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.3841, allocations: 2.875 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.3842, allocations: 44.84 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.052e-05/0.3843, allocations: 30.91 kB / 0.5339 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.003e-05/0.3843, allocations: 39.88 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.3846, allocations: 140.6 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3846, allocations: 1.375 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3846, allocations: 4 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3846, allocations: 0 / 0.534 GB, free: 10.8 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006539/0.3853, allocations: 455.5 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3853, allocations: 9.625 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.878e-05/0.3854, allocations: 36.11 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.3854, allocations: 15.72 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.3858, allocations: 220.4 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3858, allocations: 1.75 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.3858, allocations: 14.62 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.386, allocations: 61.97 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.386, allocations: 0 / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.386, allocations: 0 / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.386, allocations: 1.375 kB / 0.5348 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.712e-05/0.3861, allocations: 18.98 kB / 0.5348 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.3865, allocations: 306.9 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.3867, allocations: 65.86 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.3868, allocations: 17.11 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.3868, allocations: 1.375 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.387, allocations: 69.08 kB / 0.5353 GB, free: 9.527 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.387, allocations: 0 / 0.5353 GB, free: 9.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005633/0.3876, allocations: 185 kB / 0.5355 GB, free: 9.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.3877, allocations: 52.78 kB / 0.5355 GB, free: 9.355 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002744/0.3879, allocations: 276 kB / 0.5358 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.388, allocations: 30.7 kB / 0.5358 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.053e-05/0.3881, allocations: 115.3 kB / 0.5359 GB, free: 9.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.212e-05/0.3881, allocations: 23.3 kB / 0.5359 GB, free: 9.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.7e-05/0.3882, allocations: 25.55 kB / 0.536 GB, free: 8.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3883, allocations: 326.6 kB / 0.5363 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.813e-05/0.3884, allocations: 23.42 kB / 0.5363 GB, free: 8.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.745e-05/0.3884, allocations: 36 kB / 0.5363 GB, free: 8.625 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.3886, allocations: 62.16 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.3886, allocations: 1.125 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002347/0.3888, allocations: 112.4 kB / 0.5365 GB, free: 8.508 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3888, allocations: 5.844 kB / 0.5365 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3889, allocations: 4.031 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3889, allocations: 1.219 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.389, allocations: 13.06 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.389, allocations: 1.062 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.783e-05/0.3891, allocations: 10.11 kB / 0.5365 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.3891, allocations: 3.719 kB / 0.5365 GB, free: 8.496 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 (10): * Single equations (assignments): 10 * 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.0001422/0.3892, allocations: 136.5 kB / 0.5367 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.3893, allocations: 15.84 kB / 0.5367 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.909e-05/0.3893, allocations: 25.36 kB / 0.5367 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3893, allocations: 1.031 kB / 0.5367 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3893, allocations: 7.938 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.3893, allocations: 3.938 kB / 0.5367 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.3898, allocations: 404.8 kB / 0.5371 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3898, allocations: 1 kB / 0.5371 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.172e-05/0.3899, allocations: 7.719 kB / 0.5371 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.309e-06/0.3899, allocations: 5 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3899, allocations: 5.094 kB / 0.5371 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.3899, allocations: 5 kB / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3899, allocations: 1.188 kB / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.3902, allocations: 205.8 kB / 0.5373 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.926e-05/0.3902, allocations: 89.02 kB / 0.5374 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.3903, allocations: 10.44 kB / 0.5374 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.747e-05/0.3903, allocations: 5.062 kB / 0.5374 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.3904, allocations: 12.05 kB / 0.5374 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.3904, allocations: 3.031 kB / 0.5374 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.3906, allocations: 203.8 kB / 0.5376 GB, free: 7.508 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3906, allocations: 0 / 0.5376 GB, free: 7.508 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.3909, allocations: 28.61 kB / 0.5376 GB, free: 7.496 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: 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 (8): * Single equations (assignments): 6 * 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.002144/0.393, allocations: 1.103 MB / 0.5387 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.3932, allocations: 59.19 kB / 0.5388 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3933, allocations: 4.062 kB / 0.5388 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.389e-05/0.3933, allocations: 29.14 kB / 0.5388 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.3937, allocations: 34.92 kB / 0.5388 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002222/0.3959, allocations: 1.822 MB / 0.5406 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.3963, allocations: 0.7284 MB / 0.5413 GB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.928e-05/0.3964, allocations: 14.38 kB / 0.5414 GB, free: 4.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.279e-05/0.3965, allocations: 47.44 kB / 0.5414 GB, free: 4.301 MB / 398.1 MB Notification: Performance of SimCode: time 6.021e-06/0.3965, allocations: 0 / 0.5414 GB, free: 4.301 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.4238, allocations: 3.782 MB / 0.5451 GB, free: 2.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.648, allocations: 23.23 kB / 0.5451 GB, free: 2.277 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)