Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test67,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001535/0.001535, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001451, allocations: 204.7 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.595/1.595, allocations: 227.4 MB / 247 MB, free: 10.38 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.2379/0.2379, allocations: 46.11 MB / 344.3 MB, free: 11.41 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.002524/0.002524, allocations: 87.86 kB / 481 MB, free: 4.406 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3653, allocations: 62.44 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004005/0.3693, allocations: 2.369 MB / 0.533 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.372, allocations: 1.384 MB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000327/0.3724, allocations: 8.062 kB / 0.5343 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006231/0.373, allocations: 292.2 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008644/0.3739, allocations: 341.3 kB / 0.5349 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006161/0.3746, allocations: 209.7 kB / 0.5351 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009135/0.3755, allocations: 0.5575 MB / 0.5357 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000189/0.3757, allocations: 62.64 kB / 0.5357 GB, free: 9.465 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004243/0.3761, allocations: 244.7 kB / 0.536 GB, free: 9.324 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.3765, allocations: 262.1 kB / 0.5362 GB, free: 9.188 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.095e-05/0.3766, allocations: 23.56 kB / 0.5363 GB, free: 9.184 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.3768, allocations: 54.36 kB / 0.5363 GB, free: 9.172 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.3769, allocations: 116 kB / 0.5364 GB, free: 9.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002122/0.3772, allocations: 184.8 kB / 0.5366 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005775/0.3777, allocations: 430.8 kB / 0.537 GB, free: 8.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3778, allocations: 8 kB / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3778, allocations: 0 / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.3778, allocations: 0 / 0.537 GB, free: 8.656 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001619/0.3794, allocations: 0.8096 MB / 0.5378 GB, free: 7.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.3795, allocations: 10.38 kB / 0.5378 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.068e-05/0.3795, allocations: 47.3 kB / 0.5379 GB, free: 7.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.3797, allocations: 57.41 kB / 0.5379 GB, free: 7.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008718/0.3806, allocations: 439.7 kB / 0.5383 GB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.615e-05/0.3807, allocations: 9.156 kB / 0.5383 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.081e-05/0.3807, allocations: 21.86 kB / 0.5384 GB, free: 7.441 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.3812, allocations: 196 kB / 0.5385 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.3812, allocations: 1.812 kB / 0.5386 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.3812, allocations: 13.2 kB / 0.5386 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3813, allocations: 3 kB / 0.5386 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.3815, allocations: 96.28 kB / 0.5387 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.3828, allocations: 0.8622 MB / 0.5395 GB, free: 6.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006888/0.3835, allocations: 292.7 kB / 0.5398 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.3837, allocations: 97.03 kB / 0.5399 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.3838, allocations: 5.594 kB / 0.5399 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004528/0.3842, allocations: 229.3 kB / 0.5401 GB, free: 5.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.234e-06/0.3842, allocations: 0 / 0.5401 GB, free: 5.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.002348/0.3866, allocations: 1.042 MB / 0.5411 GB, free: 5.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.3867, allocations: 158.6 kB / 0.5413 GB, free: 5.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3878, allocations: 0.6598 MB / 0.5419 GB, free: 4.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/0.3878, allocations: 34.36 kB / 0.5419 GB, free: 4.754 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.388, allocations: 235.6 kB / 0.5422 GB, free: 4.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.3882, allocations: 133.3 kB / 0.5423 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.3883, allocations: 66.08 kB / 0.5424 GB, free: 4.391 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.3885, allocations: 375.7 kB / 0.5427 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.3887, allocations: 102.1 kB / 0.5428 GB, free: 3.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.3891, allocations: 190.2 kB / 0.543 GB, free: 3.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000573/0.3897, allocations: 301.5 kB / 0.5433 GB, free: 3.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3897, allocations: 0.9688 kB / 0.5433 GB, free: 3.637 MB / 398.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009075/0.3906, allocations: 410.8 kB / 0.5437 GB, free: 3.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.3906, allocations: 5.469 kB / 0.5437 GB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.3906, allocations: 6.109 kB / 0.5437 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/0.3907, allocations: 8.5 kB / 0.5437 GB, free: 3.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.391, allocations: 84.34 kB / 0.5438 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.391, allocations: 5.125 kB / 0.5438 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.3913, allocations: 20.86 kB / 0.5438 GB, free: 3.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-05/0.3913, allocations: 17.84 kB / 0.5438 GB, free: 3.387 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0003474/0.3917, allocations: 211.4 kB / 0.544 GB, free: 3.215 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.3919, allocations: 68.84 kB / 0.5441 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.392, allocations: 66.72 kB / 0.5441 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.392, allocations: 5.719 kB / 0.5442 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.3921, allocations: 1.188 kB / 0.5442 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.3921, allocations: 2.75 kB / 0.5442 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.3941, allocations: 1.279 MB / 0.5454 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.3941, allocations: 4 kB / 0.5454 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.3943, allocations: 52.08 kB / 0.5455 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.3943, allocations: 7.984 kB / 0.5455 GB, free: 1.965 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.018e-05/0.3944, allocations: 15.94 kB / 0.5455 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.446e-06/0.3944, allocations: 7.938 kB / 0.5455 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3944, allocations: 0 / 0.5455 GB, free: 1.941 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.3955, allocations: 0.8243 MB / 0.5463 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.3956, allocations: 128.7 kB / 0.5464 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-05/0.3957, allocations: 19.92 kB / 0.5464 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003502/0.3961, allocations: 27.97 kB / 0.5465 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.392e-05/0.3962, allocations: 27.97 kB / 0.5465 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/0.3962, allocations: 23.98 kB / 0.5465 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006615/0.3969, allocations: 486.8 kB / 0.547 GB, free: 376 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3969, allocations: 0 / 0.547 GB, free: 376 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006255/0.3975, allocations: 83.92 kB / 0.5471 GB, free: 292 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.003128/0.4007, allocations: 1.738 MB / 0.5488 GB, free: 14.67 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008197/0.4015, allocations: 284.1 kB / 0.549 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.4015, allocations: 0 / 0.549 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003298/0.4019, allocations: 169.1 kB / 0.5492 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.4031, allocations: 137.9 kB / 0.5493 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006613/0.4097, allocations: 4.541 MB / 0.5537 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006426/0.4104, allocations: 0.8589 MB / 0.5546 GB, free: 8.484 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002812/0.4107, allocations: 84.11 kB / 0.5547 GB, free: 8.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.411, allocations: 187.4 kB / 0.5548 GB, free: 8.215 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.411, allocations: 0 / 0.5548 GB, free: 8.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03846/0.4495, allocations: 10.92 MB / 0.5655 GB, free: 13.45 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.773/9.223, allocations: 7.922 kB / 0.5655 GB, free: 13.44 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67_res.csv --start-time 0 --stop-time 4000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.6 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test67.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1)