Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001348/0.001348, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, 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.2347/0.2347, allocations: 46.12 MB / 344.3 MB, free: 11.43 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.002365/0.002365, allocations: 79.86 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3789, allocations: 62.45 MB / 0.5307 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003225/0.3822, allocations: 1.736 MB / 0.5324 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001818/0.384, allocations: 1.023 MB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.278e-05/0.3841, allocations: 1.375 kB / 0.5334 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.3845, allocations: 53.62 kB / 0.5334 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.3848, allocations: 101.8 kB / 0.5335 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.385, allocations: 76.38 kB / 0.5336 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.3853, allocations: 108.9 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.3854, allocations: 14.86 kB / 0.5337 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.902e-05/0.3855, allocations: 34.86 kB / 0.5338 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.019e-05/0.3856, allocations: 38.78 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.3856, allocations: 3.531 kB / 0.5338 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.3857, allocations: 40.7 kB / 0.5338 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.3858, allocations: 25.5 kB / 0.5339 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.704e-05/0.3859, allocations: 49.14 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.3862, allocations: 145.2 kB / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3862, allocations: 0 / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3862, allocations: 0 / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.3862, allocations: 5.094 kB / 0.5341 GB, free: 10.67 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.0006538/0.3868, allocations: 447.5 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3869, allocations: 8.969 kB / 0.5345 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.511e-05/0.387, allocations: 39.92 kB / 0.5345 GB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.387, allocations: 15.44 kB / 0.5345 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.3874, allocations: 221.1 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.3874, allocations: 1.438 kB / 0.5348 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.3874, allocations: 10.25 kB / 0.5348 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3876, allocations: 58.38 kB / 0.5348 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.3876, allocations: 3.938 kB / 0.5348 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.3876, allocations: 4 kB / 0.5348 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3876, allocations: 1.406 kB / 0.5348 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/0.3877, allocations: 17.83 kB / 0.5348 GB, free: 9.852 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004169/0.3881, allocations: 308.3 kB / 0.5351 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.3883, allocations: 57.58 kB / 0.5352 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.3884, allocations: 17.3 kB / 0.5352 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3884, allocations: 5.125 kB / 0.5352 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.3886, allocations: 65.17 kB / 0.5353 GB, free: 9.406 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3886, allocations: 1.125 kB / 0.5353 GB, free: 9.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005556/0.3891, allocations: 189 kB / 0.5355 GB, free: 9.293 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.3892, allocations: 52.72 kB / 0.5355 GB, free: 9.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.3895, allocations: 274.8 kB / 0.5358 GB, free: 9.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.3895, allocations: 31.06 kB / 0.5358 GB, free: 9.016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.545e-05/0.3896, allocations: 111 kB / 0.5359 GB, free: 8.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.3896, allocations: 23.92 kB / 0.5359 GB, free: 8.891 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.258e-05/0.3897, allocations: 32.58 kB / 0.536 GB, free: 8.859 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3898, allocations: 324.3 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.923e-05/0.3899, allocations: 22.98 kB / 0.5363 GB, free: 8.527 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.076e-05/0.39, allocations: 39.39 kB / 0.5363 GB, free: 8.496 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.3901, allocations: 54.84 kB / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.3901, allocations: 0 / 0.5364 GB, free: 8.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002066/0.3903, allocations: 113.2 kB / 0.5365 GB, free: 8.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3903, allocations: 6.094 kB / 0.5365 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3903, allocations: 4 kB / 0.5365 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3904, allocations: 1.438 kB / 0.5365 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.39e-05/0.3905, allocations: 12.94 kB / 0.5365 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3905, allocations: 1.312 kB / 0.5365 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.568e-05/0.3905, allocations: 14.2 kB / 0.5365 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.3906, allocations: 6.062 kB / 0.5365 GB, free: 8.367 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.0001469/0.3907, allocations: 142 kB / 0.5367 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.3907, allocations: 14.59 kB / 0.5367 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.019e-05/0.3908, allocations: 21.33 kB / 0.5367 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.3908, allocations: 1.094 kB / 0.5367 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3908, allocations: 1.062 kB / 0.5367 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3908, allocations: 3.938 kB / 0.5367 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005902/0.3914, allocations: 412.1 kB / 0.5371 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3915, allocations: 1.375 kB / 0.5371 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.3915, allocations: 11.56 kB / 0.5371 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.3915, allocations: 5.062 kB / 0.5371 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3915, allocations: 1.156 kB / 0.5371 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.3915, allocations: 1.438 kB / 0.5371 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3915, allocations: 0 / 0.5371 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.3919, allocations: 214.5 kB / 0.5373 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.3919, allocations: 88.55 kB / 0.5374 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.843e-05/0.392, allocations: 10.06 kB / 0.5374 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.3921, allocations: 6.312 kB / 0.5374 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.3921, allocations: 6.547 kB / 0.5374 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.3921, allocations: 4.031 kB / 0.5374 GB, free: 7.504 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002537/0.3924, allocations: 198.6 kB / 0.5376 GB, free: 7.383 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3924, allocations: 0 / 0.5376 GB, free: 7.383 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.3927, allocations: 29.83 kB / 0.5377 GB, free: 7.371 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.002667/0.3954, allocations: 1.097 MB / 0.5387 GB, free: 6.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002566/0.3956, allocations: 55.31 kB / 0.5388 GB, free: 6.492 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3956, allocations: 0 / 0.5388 GB, free: 6.492 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.3958, allocations: 37.03 kB / 0.5388 GB, free: 6.473 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.3962, allocations: 29.14 kB / 0.5388 GB, free: 6.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/0.3985, allocations: 1.833 MB / 0.5406 GB, free: 4.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.399, allocations: 0.7207 MB / 0.5413 GB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.718e-05/0.3991, allocations: 14.44 kB / 0.5414 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.701e-05/0.3991, allocations: 43.39 kB / 0.5414 GB, free: 4.18 MB / 398.1 MB Notification: Performance of SimCode: time 2.375e-06/0.3992, allocations: 0 / 0.5414 GB, free: 4.18 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.4255, allocations: 3.8 MB / 0.5451 GB, free: 2.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.465, allocations: 14.11 kB / 0.5451 GB, free: 2.148 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49_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_Test49.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1)