Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001267/0.001268, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00137/0.001371, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247 MB, free: 10.43 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.2464/0.2464, allocations: 46.11 MB / 344.4 MB, free: 11.44 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.002369/0.002369, allocations: 83.81 kB / 481 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3875, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003564/0.3911, allocations: 1.93 MB / 0.5326 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.3931, allocations: 1.122 MB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.45e-05/0.3932, allocations: 1.938 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004913/0.3937, allocations: 226.5 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004365/0.3942, allocations: 219 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.3945, allocations: 111.1 kB / 0.5342 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003329/0.3948, allocations: 266.5 kB / 0.5345 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.395, allocations: 28.8 kB / 0.5345 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.3951, allocations: 121.1 kB / 0.5346 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.3954, allocations: 152.6 kB / 0.5348 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.3954, allocations: 8.188 kB / 0.5348 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.3956, allocations: 72.33 kB / 0.5348 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.423e-05/0.3957, allocations: 57.44 kB / 0.5349 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.3958, allocations: 98.52 kB / 0.535 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.3962, allocations: 246.4 kB / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3962, allocations: 0 / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3962, allocations: 0 / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3962, allocations: 1.031 kB / 0.5352 GB, free: 10.03 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009106/0.3971, allocations: 0.5649 MB / 0.5358 GB, free: 9.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3972, allocations: 10.28 kB / 0.5358 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.412e-05/0.3972, allocations: 45.02 kB / 0.5358 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.664e-05/0.3973, allocations: 34.34 kB / 0.5359 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.3978, allocations: 290.6 kB / 0.5361 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.3978, allocations: 7.781 kB / 0.5361 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.359e-05/0.3979, allocations: 8.531 kB / 0.5361 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.3982, allocations: 112.2 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3982, allocations: 3.938 kB / 0.5363 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.3982, allocations: 5.031 kB / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.3982, allocations: 10.14 kB / 0.5363 GB, free: 9.016 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.3984, allocations: 41.19 kB / 0.5363 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006647/0.3991, allocations: 479.3 kB / 0.5368 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.3995, allocations: 126.2 kB / 0.5369 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.3996, allocations: 44.55 kB / 0.5369 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.3996, allocations: 2.906 kB / 0.5369 GB, free: 8.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002718/0.3999, allocations: 116.2 kB / 0.537 GB, free: 8.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.3999, allocations: 4 kB / 0.537 GB, free: 8.316 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.00142/0.4014, allocations: 0.5074 MB / 0.5375 GB, free: 8.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.38e-05/0.4014, allocations: 84.33 kB / 0.5376 GB, free: 7.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005059/0.4019, allocations: 448.8 kB / 0.5381 GB, free: 7.691 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/0.402, allocations: 31.89 kB / 0.5381 GB, free: 7.656 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.4021, allocations: 163.2 kB / 0.5382 GB, free: 7.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.115e-05/0.4022, allocations: 77.81 kB / 0.5383 GB, free: 7.438 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.664e-05/0.4023, allocations: 41.86 kB / 0.5384 GB, free: 7.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4025, allocations: 340.5 kB / 0.5387 GB, free: 7.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.4026, allocations: 57.81 kB / 0.5387 GB, free: 7.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001613/0.4028, allocations: 94.95 kB / 0.5388 GB, free: 6.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.403, allocations: 160.5 kB / 0.539 GB, free: 6.875 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.4031, allocations: 1.156 kB / 0.539 GB, free: 6.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004275/0.4035, allocations: 238.1 kB / 0.5392 GB, free: 6.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4035, allocations: 7.062 kB / 0.5392 GB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4035, allocations: 3.984 kB / 0.5392 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.4036, allocations: 2.906 kB / 0.5392 GB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.4037, allocations: 45.58 kB / 0.5393 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.4037, allocations: 6.625 kB / 0.5393 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.726e-05/0.4038, allocations: 11.89 kB / 0.5393 GB, free: 6.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.4038, allocations: 10.08 kB / 0.5393 GB, free: 6.715 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001622/0.404, allocations: 157.1 kB / 0.5394 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.4041, allocations: 38.95 kB / 0.5395 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.913e-05/0.4042, allocations: 47.75 kB / 0.5395 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.4042, allocations: 2.938 kB / 0.5395 GB, free: 6.527 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.4042, allocations: 5.469 kB / 0.5395 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4042, allocations: 0 / 0.5395 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.4052, allocations: 0.728 MB / 0.5402 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.4053, allocations: 5.141 kB / 0.5402 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.304e-05/0.4053, allocations: 35.52 kB / 0.5403 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.4054, allocations: 2.344 kB / 0.5403 GB, free: 5.887 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.4054, allocations: 8.531 kB / 0.5403 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.4054, allocations: 6.203 kB / 0.5403 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4054, allocations: 6.219 kB / 0.5403 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005047/0.4059, allocations: 422.6 kB / 0.5407 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.406, allocations: 106.1 kB / 0.5408 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.406, allocations: 8.125 kB / 0.5408 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.4062, allocations: 12.25 kB / 0.5408 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.4063, allocations: 20.56 kB / 0.5408 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.4063, allocations: 13.19 kB / 0.5409 GB, free: 5.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003419/0.4066, allocations: 334.4 kB / 0.5412 GB, free: 5.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4066, allocations: 3.938 kB / 0.5412 GB, free: 5.219 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003635/0.407, allocations: 53.36 kB / 0.5412 GB, free: 5.203 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002638/0.4097, allocations: 1.351 MB / 0.5425 GB, free: 4.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000385/0.4101, allocations: 166.4 kB / 0.5427 GB, free: 4.105 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4101, allocations: 1.062 kB / 0.5427 GB, free: 4.105 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.4103, allocations: 82.97 kB / 0.5428 GB, free: 4.07 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005659/0.4108, allocations: 76.3 kB / 0.5429 GB, free: 4.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.415, allocations: 2.887 MB / 0.5457 GB, free: 1.902 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.4155, allocations: 0.7718 MB / 0.5464 GB, free: 1.168 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.4156, allocations: 44.86 kB / 0.5465 GB, free: 1.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.4158, allocations: 99.39 kB / 0.5466 GB, free: 1.027 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4158, allocations: 0 / 0.5466 GB, free: 1.027 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.4478, allocations: 6.436 MB / 0.5529 GB, free: 10.71 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.407/8.855, allocations: 7.781 kB / 0.5529 GB, free: 10.7 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004804 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1)