Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00197/0.00197, allocations: 121.6 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.002363/0.002363, allocations: 200.7 kB / 18.74 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.557/1.557, allocations: 227.4 MB / 247 MB, free: 10.47 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.226/0.226, allocations: 46.11 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.002313/0.002313, allocations: 80.2 kB / 481 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.355, allocations: 62.45 MB / 0.5307 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003789/0.3589, allocations: 1.937 MB / 0.5326 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001922/0.3608, allocations: 1.113 MB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.361, allocations: 5.344 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004026/0.3614, allocations: 163.8 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004288/0.3618, allocations: 181.3 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.3621, allocations: 119.8 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003271/0.3625, allocations: 243.4 kB / 0.5344 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3626, allocations: 28.16 kB / 0.5344 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.3628, allocations: 113.7 kB / 0.5345 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.3629, allocations: 139.3 kB / 0.5346 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.363, allocations: 8.25 kB / 0.5346 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.3631, allocations: 63.92 kB / 0.5347 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.346e-05/0.3632, allocations: 53.7 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.744e-05/0.3633, allocations: 81.23 kB / 0.5348 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000314/0.3636, allocations: 231.6 kB / 0.535 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3636, allocations: 0 / 0.535 GB, free: 10.17 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3636, allocations: 0 / 0.535 GB, free: 10.17 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.3637, allocations: 1.375 kB / 0.5351 GB, free: 10.17 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.0007993/0.3645, allocations: 0.5465 MB / 0.5356 GB, free: 9.641 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3645, allocations: 8.812 kB / 0.5356 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.75e-05/0.3646, allocations: 42.11 kB / 0.5356 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.883e-05/0.3647, allocations: 31.75 kB / 0.5357 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000445/0.3651, allocations: 276.3 kB / 0.5359 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.3651, allocations: 7.562 kB / 0.5359 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/0.3652, allocations: 8.531 kB / 0.5359 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002943/0.3655, allocations: 116.6 kB / 0.5361 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.3655, allocations: 0 / 0.5361 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.3655, allocations: 1.438 kB / 0.5361 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3655, allocations: 1.312 kB / 0.5361 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.3657, allocations: 48.94 kB / 0.5361 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007467/0.3665, allocations: 465.9 kB / 0.5365 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004249/0.3669, allocations: 126.9 kB / 0.5367 GB, free: 8.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.367, allocations: 40.36 kB / 0.5367 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.3671, allocations: 11.42 kB / 0.5367 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002673/0.3673, allocations: 128 kB / 0.5368 GB, free: 8.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.492e-06/0.3674, allocations: 0 / 0.5368 GB, free: 8.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001398/0.3688, allocations: 0.4936 MB / 0.5373 GB, free: 8.219 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/0.3688, allocations: 86.81 kB / 0.5374 GB, free: 8.117 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003985/0.3692, allocations: 372.9 kB / 0.5378 GB, free: 7.898 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.3693, allocations: 32.42 kB / 0.5378 GB, free: 7.863 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.3694, allocations: 145.3 kB / 0.5379 GB, free: 7.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.864e-05/0.3695, allocations: 70.05 kB / 0.538 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.3695, allocations: 48.42 kB / 0.538 GB, free: 7.629 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3697, allocations: 343.6 kB / 0.5384 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3698, allocations: 58.17 kB / 0.5384 GB, free: 7.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.37, allocations: 95.55 kB / 0.5385 GB, free: 7.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.3703, allocations: 147.9 kB / 0.5387 GB, free: 7.105 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3703, allocations: 5.062 kB / 0.5387 GB, free: 7.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004033/0.3707, allocations: 241.5 kB / 0.5389 GB, free: 6.969 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3707, allocations: 9.219 kB / 0.5389 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3707, allocations: 0.9688 kB / 0.5389 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3708, allocations: 2.156 kB / 0.5389 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.3709, allocations: 42.89 kB / 0.5389 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.3709, allocations: 2.188 kB / 0.5389 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.077e-05/0.371, allocations: 12.14 kB / 0.539 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.371, allocations: 6.344 kB / 0.539 GB, free: 6.949 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.0001529/0.3712, allocations: 162.5 kB / 0.5391 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.3713, allocations: 33.53 kB / 0.5392 GB, free: 6.785 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.55e-05/0.3713, allocations: 39.78 kB / 0.5392 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.3713, allocations: 2.781 kB / 0.5392 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.3714, allocations: 1.188 kB / 0.5392 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3714, allocations: 0 / 0.5392 GB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009264/0.3723, allocations: 0.7268 MB / 0.5399 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.3723, allocations: 1.375 kB / 0.5399 GB, free: 6.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.728e-05/0.3724, allocations: 27.23 kB / 0.5399 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3724, allocations: 2.625 kB / 0.5399 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.3724, allocations: 15.98 kB / 0.5399 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3724, allocations: 6.75 kB / 0.54 GB, free: 6.117 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3724, allocations: 5.531 kB / 0.54 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004692/0.3729, allocations: 410.9 kB / 0.5404 GB, free: 5.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.556e-05/0.373, allocations: 104.7 kB / 0.5405 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.3731, allocations: 8.406 kB / 0.5405 GB, free: 5.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.3732, allocations: 11.25 kB / 0.5405 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.3733, allocations: 25.34 kB / 0.5405 GB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.3733, allocations: 12.59 kB / 0.5405 GB, free: 5.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002708/0.3736, allocations: 280.3 kB / 0.5408 GB, free: 5.484 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3736, allocations: 0 / 0.5408 GB, free: 5.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.3739, allocations: 47.3 kB / 0.5408 GB, free: 5.473 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.00261/0.3765, allocations: 1.35 MB / 0.5421 GB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003597/0.3769, allocations: 162.3 kB / 0.5423 GB, free: 4.375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3769, allocations: 0 / 0.5423 GB, free: 4.375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.3771, allocations: 79.53 kB / 0.5424 GB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005574/0.3777, allocations: 78.28 kB / 0.5424 GB, free: 4.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/0.381, allocations: 2.719 MB / 0.5451 GB, free: 2.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.3814, allocations: 0.7636 MB / 0.5458 GB, free: 1.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001205/0.3816, allocations: 36.92 kB / 0.5459 GB, free: 1.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.3817, allocations: 90.67 kB / 0.546 GB, free: 1.414 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3817, allocations: 4 kB / 0.546 GB, free: 1.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02697/0.4087, allocations: 6.094 MB / 0.5519 GB, free: 11.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.287/8.696, allocations: 7.781 kB / 0.5519 GB, free: 11.68 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73_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_Test73.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1)