Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test19,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, 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.001362/0.001362, 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.522/1.522, allocations: 227.4 MB / 247 MB, free: 10.4 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.2303/0.2303, allocations: 46.12 MB / 344.4 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.002493/0.002493, allocations: 83.86 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3792, allocations: 62.44 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003719/0.383, allocations: 1.726 MB / 0.5324 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.385, allocations: 1.024 MB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.002e-05/0.3851, allocations: 5.25 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.3854, allocations: 44.89 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.3858, allocations: 90.56 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.386, allocations: 78.98 kB / 0.5336 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.3863, allocations: 106.4 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3864, allocations: 18.05 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.95e-05/0.3865, allocations: 43.52 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.256e-05/0.3866, allocations: 41.27 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.3866, allocations: 4.438 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3867, allocations: 39.8 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.781e-05/0.3868, allocations: 18.8 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.815e-05/0.3868, allocations: 35.98 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.3871, allocations: 121.8 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3871, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3871, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.3871, allocations: 1.375 kB / 0.534 GB, free: 10.82 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.0005861/0.3877, allocations: 432.8 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.3877, allocations: 9.625 kB / 0.5344 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.395e-05/0.3878, allocations: 30.75 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.3878, allocations: 14.38 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.3882, allocations: 213.3 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.3882, allocations: 5.734 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.3882, allocations: 6.688 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.3884, allocations: 58.05 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.3884, allocations: 3.938 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.3884, allocations: 0 / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3884, allocations: 1.375 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.599e-05/0.3885, allocations: 18.98 kB / 0.5348 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.389, allocations: 294.8 kB / 0.535 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.3892, allocations: 57.92 kB / 0.5351 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.581e-05/0.3892, allocations: 21.05 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.3893, allocations: 1.375 kB / 0.5351 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001781/0.3894, allocations: 65.14 kB / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.3895, allocations: 0 / 0.5352 GB, free: 9.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005709/0.39, allocations: 182.5 kB / 0.5353 GB, free: 9.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.3901, allocations: 56.78 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.3903, allocations: 196 kB / 0.5356 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.3904, allocations: 31.08 kB / 0.5356 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.3904, allocations: 101.6 kB / 0.5357 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.3905, allocations: 26.53 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.3905, allocations: 20.47 kB / 0.5358 GB, free: 9.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.3907, allocations: 326.8 kB / 0.5361 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/0.3908, allocations: 18.39 kB / 0.5361 GB, free: 8.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.923e-05/0.3909, allocations: 44.02 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.391, allocations: 63.14 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.391, allocations: 0 / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00021/0.3913, allocations: 104 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3913, allocations: 8.969 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3913, allocations: 1.031 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3913, allocations: 1.156 kB / 0.5363 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.84e-05/0.3914, allocations: 20.64 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3914, allocations: 1.281 kB / 0.5363 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.3915, allocations: 10.47 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3915, allocations: 2.75 kB / 0.5363 GB, free: 8.602 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.000102/0.3916, allocations: 122.6 kB / 0.5365 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.3916, allocations: 17.22 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.75e-05/0.3917, allocations: 18.53 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3917, allocations: 1.312 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3917, allocations: 4 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3917, allocations: 9.078 kB / 0.5365 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.3922, allocations: 398.6 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3922, allocations: 0 / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.107e-05/0.3922, allocations: 7.688 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.653e-06/0.3923, allocations: 5 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3923, allocations: 2.406 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3923, allocations: 0 / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.3923, allocations: 5.234 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.3925, allocations: 201 kB / 0.5371 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.3926, allocations: 87.33 kB / 0.5372 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.3927, allocations: 6.219 kB / 0.5372 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.332e-05/0.3927, allocations: 2.219 kB / 0.5372 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/0.3928, allocations: 15.42 kB / 0.5372 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.3928, allocations: 7.531 kB / 0.5372 GB, free: 7.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001347/0.3929, allocations: 148.8 kB / 0.5373 GB, free: 7.645 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3929, allocations: 0 / 0.5373 GB, free: 7.645 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002623/0.3932, allocations: 23.94 kB / 0.5374 GB, free: 7.637 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.002174/0.3954, allocations: 1.099 MB / 0.5384 GB, free: 6.777 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.3956, allocations: 57.64 kB / 0.5385 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3956, allocations: 0 / 0.5385 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.856e-05/0.3957, allocations: 34.45 kB / 0.5385 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.396, allocations: 32.2 kB / 0.5386 GB, free: 6.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.398, allocations: 1.644 MB / 0.5402 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.3983, allocations: 0.7103 MB / 0.5409 GB, free: 4.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.979e-05/0.3984, allocations: 18.25 kB / 0.5409 GB, free: 4.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.483e-05/0.3985, allocations: 35.7 kB / 0.5409 GB, free: 4.531 MB / 398.1 MB Notification: Performance of SimCode: time 2.104e-06/0.3985, allocations: 0 / 0.5409 GB, free: 4.531 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.4275, allocations: 3.46 MB / 0.5443 GB, free: 2.672 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.433, allocations: 6.25 kB / 0.5443 GB, free: 2.668 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19_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_Test19.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1)