Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001581/0.001586, 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.001821/0.001821, allocations: 202 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.535/1.535, 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.2337/0.2337, 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.002503/0.002503, allocations: 79.86 kB / 481 MB, free: 4.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3595, allocations: 62.44 MB / 0.5307 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003657/0.3632, allocations: 1.735 MB / 0.5324 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.3652, allocations: 1.014 MB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3653, allocations: 4.844 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003799/0.3658, allocations: 58.03 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004597/0.3663, allocations: 106.5 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.3666, allocations: 70.94 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.3668, allocations: 110.3 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.367, allocations: 10.58 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.498e-05/0.3671, allocations: 39.7 kB / 0.5338 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.48e-05/0.3671, allocations: 37.75 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.3672, allocations: 3.312 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.3673, allocations: 40.27 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.3674, allocations: 31.91 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.848e-05/0.3675, allocations: 49.12 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.3677, allocations: 138 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3677, allocations: 0 / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3677, allocations: 0 / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.3678, allocations: 0 / 0.534 GB, free: 10.81 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006491/0.3684, allocations: 464.6 kB / 0.5345 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.3685, allocations: 9.625 kB / 0.5345 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.3685, allocations: 32.75 kB / 0.5345 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.3686, allocations: 15.12 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.3689, allocations: 231.1 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3689, allocations: 6.953 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.369, allocations: 9.156 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.3691, allocations: 54.2 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.3692, allocations: 1.406 kB / 0.5348 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3692, allocations: 4 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3692, allocations: 1.344 kB / 0.5348 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.098e-05/0.3693, allocations: 22.27 kB / 0.5349 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.3697, allocations: 295.8 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.3699, allocations: 57.89 kB / 0.5352 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.314e-05/0.37, allocations: 26.47 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.37, allocations: 1.375 kB / 0.5352 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.3702, allocations: 65.14 kB / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.3702, allocations: 0 / 0.5353 GB, free: 9.543 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006314/0.3708, allocations: 189.3 kB / 0.5355 GB, free: 9.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.3709, allocations: 56.77 kB / 0.5355 GB, free: 9.363 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.3713, allocations: 288.9 kB / 0.5358 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3713, allocations: 25.7 kB / 0.5358 GB, free: 9.148 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.3714, allocations: 116.4 kB / 0.5359 GB, free: 9.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.3714, allocations: 27.95 kB / 0.536 GB, free: 9.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.3715, allocations: 20.59 kB / 0.536 GB, free: 8.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3716, allocations: 332.3 kB / 0.5363 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.087e-05/0.3717, allocations: 26.94 kB / 0.5363 GB, free: 8.652 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.054e-05/0.3718, allocations: 42.58 kB / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.3719, allocations: 63.11 kB / 0.5364 GB, free: 8.574 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3719, allocations: 1.062 kB / 0.5364 GB, free: 8.574 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002043/0.3721, allocations: 108.7 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.3721, allocations: 5.094 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3722, allocations: 1.406 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3722, allocations: 1.156 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.3723, allocations: 16.75 kB / 0.5365 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3723, allocations: 5.406 kB / 0.5365 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.288e-05/0.3723, allocations: 13.2 kB / 0.5366 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.3724, allocations: 3.906 kB / 0.5366 GB, free: 8.484 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 (10): * Single equations (assignments): 10 * 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.0001236/0.3725, allocations: 138.3 kB / 0.5367 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.3725, allocations: 14.53 kB / 0.5367 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.135e-05/0.3726, allocations: 21.42 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3726, allocations: 1.188 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3726, allocations: 1.094 kB / 0.5367 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.3726, allocations: 7.938 kB / 0.5367 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/0.3731, allocations: 405.6 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3731, allocations: 0 / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.3732, allocations: 7.75 kB / 0.5371 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.3732, allocations: 5.094 kB / 0.5371 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.3732, allocations: 6.156 kB / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3732, allocations: 1.125 kB / 0.5371 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3732, allocations: 3.984 kB / 0.5372 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.3735, allocations: 210.9 kB / 0.5374 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.3735, allocations: 92.27 kB / 0.5374 GB, free: 7.641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.3736, allocations: 6.031 kB / 0.5374 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.884e-05/0.3736, allocations: 2.188 kB / 0.5374 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.3737, allocations: 7.359 kB / 0.5375 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.3737, allocations: 3.656 kB / 0.5375 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002094/0.3739, allocations: 220.1 kB / 0.5377 GB, free: 7.496 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3739, allocations: 0 / 0.5377 GB, free: 7.496 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.3742, allocations: 26.33 kB / 0.5377 GB, free: 7.488 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002218/0.3764, allocations: 1.114 MB / 0.5388 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001814/0.3766, allocations: 53.58 kB / 0.5388 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3766, allocations: 1.25 kB / 0.5388 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.334e-05/0.3767, allocations: 28.77 kB / 0.5389 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.3771, allocations: 36.98 kB / 0.5389 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.3792, allocations: 1.859 MB / 0.5407 GB, free: 5.027 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3796, allocations: 0.7261 MB / 0.5414 GB, free: 4.305 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.522e-05/0.3796, allocations: 13.97 kB / 0.5414 GB, free: 4.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.043e-05/0.3797, allocations: 42.95 kB / 0.5415 GB, free: 4.266 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3797, allocations: 1.031 kB / 0.5415 GB, free: 4.266 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.4064, allocations: 3.85 MB / 0.5452 GB, free: 2.223 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.063/8.47, allocations: 15.05 kB / 0.5453 GB, free: 2.215 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1)