Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001392/0.001393, allocations: 122.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.001368/0.001368, allocations: 202 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.421/1.421, allocations: 227.4 MB / 247 MB, free: 10.46 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.2273/0.2273, allocations: 46.13 MB / 344.4 MB, free: 11.45 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.002231/0.002231, allocations: 91.8 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3611, allocations: 62.44 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.005134/0.3663, allocations: 1.927 MB / 0.5326 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.3686, allocations: 1.12 MB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.3688, allocations: 1.812 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004244/0.3692, allocations: 162.5 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005783/0.3698, allocations: 178.3 kB / 0.534 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.3702, allocations: 119 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003989/0.3706, allocations: 246.4 kB / 0.5344 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.3708, allocations: 32.78 kB / 0.5344 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.371, allocations: 114.3 kB / 0.5345 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.3712, allocations: 130.8 kB / 0.5346 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.3713, allocations: 13.62 kB / 0.5346 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001629/0.3714, allocations: 62.61 kB / 0.5347 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.226e-05/0.3715, allocations: 49.72 kB / 0.5347 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.3716, allocations: 89.16 kB / 0.5348 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.372, allocations: 227.4 kB / 0.535 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3721, allocations: 1.031 kB / 0.535 GB, free: 10.14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3721, allocations: 0 / 0.535 GB, free: 10.14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3721, allocations: 0 / 0.535 GB, free: 10.14 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.0008696/0.373, allocations: 0.5508 MB / 0.5356 GB, free: 9.609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.373, allocations: 17.7 kB / 0.5356 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.059e-05/0.3731, allocations: 36.97 kB / 0.5356 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.401e-05/0.3732, allocations: 29.06 kB / 0.5357 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.3737, allocations: 272.1 kB / 0.5359 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.3737, allocations: 2.812 kB / 0.5359 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.3737, allocations: 13.5 kB / 0.5359 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.374, allocations: 114.4 kB / 0.536 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.374, allocations: 5.125 kB / 0.5361 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.374, allocations: 1.094 kB / 0.5361 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.374, allocations: 1.156 kB / 0.5361 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.3742, allocations: 48.89 kB / 0.5361 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006391/0.3748, allocations: 470.4 kB / 0.5365 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003818/0.3752, allocations: 122.7 kB / 0.5367 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.3753, allocations: 48.41 kB / 0.5367 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.3754, allocations: 2.375 kB / 0.5367 GB, free: 8.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002682/0.3757, allocations: 132 kB / 0.5368 GB, free: 8.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.3757, allocations: 0 / 0.5368 GB, free: 8.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001457/0.3771, allocations: 0.489 MB / 0.5373 GB, free: 8.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.3772, allocations: 83.98 kB / 0.5374 GB, free: 8.098 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005577/0.3778, allocations: 372.5 kB / 0.5378 GB, free: 7.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.3778, allocations: 36.02 kB / 0.5378 GB, free: 7.84 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.3779, allocations: 141.1 kB / 0.5379 GB, free: 7.707 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.059e-05/0.378, allocations: 78.03 kB / 0.538 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.297e-05/0.3781, allocations: 37.31 kB / 0.538 GB, free: 7.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.3783, allocations: 347.9 kB / 0.5384 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.3785, allocations: 53.62 kB / 0.5384 GB, free: 7.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.3786, allocations: 95.22 kB / 0.5385 GB, free: 7.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.379, allocations: 161.4 kB / 0.5387 GB, free: 7.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.379, allocations: 0 / 0.5387 GB, free: 7.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004604/0.3794, allocations: 241.2 kB / 0.5389 GB, free: 6.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3795, allocations: 5.875 kB / 0.5389 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3795, allocations: 4 kB / 0.5389 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3795, allocations: 2.125 kB / 0.5389 GB, free: 6.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3797, allocations: 47.42 kB / 0.5389 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.3797, allocations: 5.469 kB / 0.539 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9e-05/0.3798, allocations: 8.375 kB / 0.539 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.3798, allocations: 6.281 kB / 0.539 GB, free: 6.922 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.0001624/0.38, allocations: 159.5 kB / 0.5391 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.609e-05/0.38, allocations: 33.56 kB / 0.5391 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.343e-05/0.3801, allocations: 47.25 kB / 0.5392 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.3801, allocations: 2.844 kB / 0.5392 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.3801, allocations: 1.312 kB / 0.5392 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3801, allocations: 0 / 0.5392 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.3812, allocations: 0.7221 MB / 0.5399 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.3812, allocations: 1.094 kB / 0.5399 GB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.679e-05/0.3813, allocations: 31.97 kB / 0.5399 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.3814, allocations: 2.719 kB / 0.5399 GB, free: 6.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.3814, allocations: 8.484 kB / 0.5399 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3814, allocations: 1.75 kB / 0.5399 GB, free: 6.098 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/0.3814, allocations: 6.781 kB / 0.54 GB, free: 6.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000634/0.382, allocations: 424.7 kB / 0.5404 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.294e-05/0.3821, allocations: 101.2 kB / 0.5405 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.3822, allocations: 8.281 kB / 0.5405 GB, free: 5.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.3824, allocations: 12.39 kB / 0.5405 GB, free: 5.641 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.3824, allocations: 24.48 kB / 0.5405 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.3825, allocations: 8.531 kB / 0.5405 GB, free: 5.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00033/0.3828, allocations: 280.2 kB / 0.5408 GB, free: 5.461 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3828, allocations: 3.938 kB / 0.5408 GB, free: 5.457 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003794/0.3832, allocations: 48.28 kB / 0.5408 GB, free: 5.445 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.002893/0.3861, allocations: 1.347 MB / 0.5421 GB, free: 4.418 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004707/0.3866, allocations: 157.8 kB / 0.5423 GB, free: 4.352 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.3866, allocations: 1.188 kB / 0.5423 GB, free: 4.352 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.3868, allocations: 83.31 kB / 0.5424 GB, free: 4.316 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007369/0.3876, allocations: 74.59 kB / 0.5424 GB, free: 4.281 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004489/0.3921, allocations: 2.722 MB / 0.5451 GB, free: 2.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/0.3927, allocations: 0.7593 MB / 0.5458 GB, free: 1.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.3929, allocations: 44.73 kB / 0.5459 GB, free: 1.461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.3931, allocations: 90.77 kB / 0.546 GB, free: 1.391 MB / 398.1 MB Notification: Performance of SimCode: time 1.383e-06/0.3931, allocations: 0 / 0.546 GB, free: 1.391 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02892/0.422, allocations: 6.085 MB / 0.5519 GB, free: 11.68 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.355/8.777, allocations: 15.84 kB / 0.5519 GB, free: 11.66 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1)