Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001774/0.001774, 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.002067/0.002068, allocations: 201.2 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.499/1.499, allocations: 227.4 MB / 247 MB, free: 10.45 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.2413/0.2413, allocations: 46.13 MB / 344.4 MB, free: 11.48 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.002548/0.002549, allocations: 79.88 kB / 481 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3553, allocations: 62.45 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.00362/0.359, allocations: 1.749 MB / 0.5324 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.3609, allocations: 1.026 MB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.3611, allocations: 2.094 kB / 0.5334 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004115/0.3615, allocations: 98.8 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003796/0.3619, allocations: 114.6 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.3622, allocations: 80.3 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.3624, allocations: 120 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3625, allocations: 18.81 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.3626, allocations: 60.5 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.3628, allocations: 59.44 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.3628, allocations: 4.125 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.3629, allocations: 58.48 kB / 0.534 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.529e-05/0.363, allocations: 33.42 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.833e-05/0.3631, allocations: 41.34 kB / 0.5341 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.3634, allocations: 142 kB / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3634, allocations: 0 / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.957e-06/0.3634, allocations: 1.375 kB / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.3634, allocations: 11.88 kB / 0.5342 GB, free: 10.71 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.0006554/0.3641, allocations: 446.2 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3641, allocations: 9.625 kB / 0.5346 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.3642, allocations: 32.12 kB / 0.5347 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.3642, allocations: 14.34 kB / 0.5347 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.3646, allocations: 235.5 kB / 0.5349 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.3646, allocations: 1.75 kB / 0.5349 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.3646, allocations: 8.062 kB / 0.5349 GB, free: 9.961 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.3648, allocations: 71.39 kB / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3648, allocations: 1.375 kB / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.3648, allocations: 0 / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3649, allocations: 1.375 kB / 0.535 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.913e-05/0.3649, allocations: 20.2 kB / 0.535 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004768/0.3654, allocations: 305.9 kB / 0.5353 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.3657, allocations: 64.67 kB / 0.5354 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.458e-05/0.3658, allocations: 23.5 kB / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3658, allocations: 1.375 kB / 0.5354 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001625/0.366, allocations: 69.67 kB / 0.5355 GB, free: 9.441 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.843e-06/0.366, allocations: 0 / 0.5355 GB, free: 9.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008406/0.3668, allocations: 251.3 kB / 0.5357 GB, free: 9.301 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/0.3669, allocations: 57.53 kB / 0.5358 GB, free: 9.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.3671, allocations: 235.4 kB / 0.536 GB, free: 9.074 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.3672, allocations: 26.95 kB / 0.536 GB, free: 9.043 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/0.3673, allocations: 115.1 kB / 0.5361 GB, free: 8.934 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.494e-05/0.3673, allocations: 36.16 kB / 0.5361 GB, free: 8.902 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.3674, allocations: 26.97 kB / 0.5362 GB, free: 8.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3676, allocations: 323.3 kB / 0.5365 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.3676, allocations: 35.27 kB / 0.5365 GB, free: 8.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.084e-05/0.3677, allocations: 47.11 kB / 0.5366 GB, free: 8.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.3679, allocations: 85.06 kB / 0.5366 GB, free: 8.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3679, allocations: 4 kB / 0.5366 GB, free: 8.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002484/0.3682, allocations: 126.9 kB / 0.5368 GB, free: 8.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.3682, allocations: 5.438 kB / 0.5368 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3682, allocations: 7.969 kB / 0.5368 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3682, allocations: 1.344 kB / 0.5368 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.024e-05/0.3683, allocations: 25.2 kB / 0.5368 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.3684, allocations: 1.25 kB / 0.5368 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.352e-05/0.3684, allocations: 6.75 kB / 0.5368 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3684, allocations: 2.75 kB / 0.5368 GB, free: 8.355 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.0001438/0.3686, allocations: 130.8 kB / 0.5369 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.3686, allocations: 15.25 kB / 0.537 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.472e-05/0.3687, allocations: 24.77 kB / 0.537 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3687, allocations: 13.06 kB / 0.537 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3687, allocations: 3.938 kB / 0.537 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.3687, allocations: 1.406 kB / 0.537 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000669/0.3694, allocations: 450.5 kB / 0.5374 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3694, allocations: 0.9688 kB / 0.5374 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/0.3695, allocations: 14.97 kB / 0.5374 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3695, allocations: 2 kB / 0.5374 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.3695, allocations: 10.17 kB / 0.5375 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3695, allocations: 1.062 kB / 0.5375 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3695, allocations: 1.125 kB / 0.5375 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.3699, allocations: 234.8 kB / 0.5377 GB, free: 7.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.441e-05/0.37, allocations: 93.28 kB / 0.5378 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.37, allocations: 10.16 kB / 0.5378 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.491e-05/0.3701, allocations: 2.156 kB / 0.5378 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.3702, allocations: 12.16 kB / 0.5378 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.3702, allocations: 8.281 kB / 0.5378 GB, free: 7.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000192/0.3704, allocations: 173.5 kB / 0.538 GB, free: 7.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3704, allocations: 1.125 kB / 0.538 GB, free: 7.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.3707, allocations: 28.12 kB / 0.538 GB, free: 7.312 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.002519/0.3732, allocations: 1.174 MB / 0.5391 GB, free: 6.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.3735, allocations: 85.75 kB / 0.5392 GB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3735, allocations: 0 / 0.5392 GB, free: 6.379 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.906e-05/0.3736, allocations: 43.95 kB / 0.5393 GB, free: 6.359 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.3741, allocations: 51.39 kB / 0.5393 GB, free: 6.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.3764, allocations: 1.835 MB / 0.5411 GB, free: 4.793 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.3768, allocations: 0.7248 MB / 0.5418 GB, free: 4.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.091e-05/0.3769, allocations: 20.5 kB / 0.5418 GB, free: 4.059 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.148e-05/0.377, allocations: 44.52 kB / 0.5419 GB, free: 4.023 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.377, allocations: 1 kB / 0.5419 GB, free: 4.023 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.4042, allocations: 3.947 MB / 0.5457 GB, free: 1.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.032/8.436, allocations: 11.78 kB / 0.5457 GB, free: 1.926 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1)