Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001703/0.001703, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002087/0.002087, allocations: 200.6 kB / 18.72 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.5/1.5, allocations: 227.4 MB / 247 MB, free: 10.48 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.2429/0.2429, allocations: 46.12 MB / 344.3 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.002286/0.002286, allocations: 75.88 kB / 481 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3562, allocations: 62.44 MB / 0.5307 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003183/0.3594, allocations: 1.692 MB / 0.5323 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.361, allocations: 0.9929 MB / 0.5333 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.3611, allocations: 1.375 kB / 0.5333 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.3614, allocations: 63.11 kB / 0.5334 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.3617, allocations: 108.3 kB / 0.5335 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001789/0.3619, allocations: 78.66 kB / 0.5335 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.3621, allocations: 102.8 kB / 0.5336 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.3622, allocations: 5.734 kB / 0.5336 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.122e-05/0.3623, allocations: 50.8 kB / 0.5337 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.536e-05/0.3624, allocations: 44.39 kB / 0.5337 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.3624, allocations: 2.562 kB / 0.5337 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.699e-05/0.3625, allocations: 32.39 kB / 0.5338 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.112e-05/0.3625, allocations: 23.23 kB / 0.5338 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.17e-05/0.3626, allocations: 38.42 kB / 0.5338 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.3628, allocations: 109.7 kB / 0.5339 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3628, allocations: 0 / 0.5339 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3628, allocations: 1.094 kB / 0.5339 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3628, allocations: 0 / 0.5339 GB, free: 11.1 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005307/0.3633, allocations: 410.4 kB / 0.5343 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3634, allocations: 10.62 kB / 0.5343 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.285e-05/0.3634, allocations: 38.73 kB / 0.5344 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.3635, allocations: 13.62 kB / 0.5344 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.3638, allocations: 220.3 kB / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.3638, allocations: 1.719 kB / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.3638, allocations: 6.281 kB / 0.5346 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.3639, allocations: 47.19 kB / 0.5346 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.364, allocations: 0 / 0.5346 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.364, allocations: 3.984 kB / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.364, allocations: 1.188 kB / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.592e-05/0.364, allocations: 8.781 kB / 0.5346 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.3643, allocations: 194.4 kB / 0.5348 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.3644, allocations: 54.97 kB / 0.5349 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.3645, allocations: 20.62 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.3645, allocations: 1.031 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.3647, allocations: 68.33 kB / 0.535 GB, free: 9.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.3647, allocations: 1.156 kB / 0.535 GB, free: 9.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002715/0.365, allocations: 95.41 kB / 0.5351 GB, free: 9.918 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.365, allocations: 52.69 kB / 0.5351 GB, free: 9.855 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.3652, allocations: 191 kB / 0.5353 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.3652, allocations: 27.08 kB / 0.5353 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.3653, allocations: 105.6 kB / 0.5354 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.3653, allocations: 13.28 kB / 0.5354 GB, free: 9.57 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.3654, allocations: 23.22 kB / 0.5355 GB, free: 9.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3655, allocations: 327 kB / 0.5358 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/0.3656, allocations: 14.86 kB / 0.5358 GB, free: 9.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-05/0.3657, allocations: 27.33 kB / 0.5358 GB, free: 9.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.3658, allocations: 47.72 kB / 0.5359 GB, free: 9.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.3658, allocations: 7.938 kB / 0.5359 GB, free: 9.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000155/0.3659, allocations: 87.83 kB / 0.5359 GB, free: 9.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.366, allocations: 5.5 kB / 0.536 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.366, allocations: 1.375 kB / 0.536 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.366, allocations: 3.938 kB / 0.536 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.088e-05/0.3661, allocations: 13.56 kB / 0.536 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.3661, allocations: 1.375 kB / 0.536 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.594e-05/0.3661, allocations: 9.297 kB / 0.536 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.3661, allocations: 2.75 kB / 0.536 GB, free: 9.07 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 (7): * Single equations (assignments): 7 * 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.0001008/0.3662, allocations: 129 kB / 0.5361 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.3663, allocations: 13.45 kB / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.3663, allocations: 17.11 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3663, allocations: 1.375 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3663, allocations: 0 / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3663, allocations: 1.375 kB / 0.5361 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.3665, allocations: 196.6 kB / 0.5363 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3665, allocations: 0 / 0.5363 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.976e-05/0.3665, allocations: 4.125 kB / 0.5363 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3666, allocations: 0 / 0.5363 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.3666, allocations: 1.375 kB / 0.5363 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3666, allocations: 4 kB / 0.5363 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3666, allocations: 5.359 kB / 0.5363 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.3668, allocations: 112.6 kB / 0.5364 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.3668, allocations: 83.81 kB / 0.5365 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.3669, allocations: 1.375 kB / 0.5365 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.3669, allocations: 5.359 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.601e-05/0.3669, allocations: 2.75 kB / 0.5365 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.367, allocations: 10.88 kB / 0.5365 GB, free: 8.48 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.3671, allocations: 147.5 kB / 0.5367 GB, free: 8.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3671, allocations: 0 / 0.5367 GB, free: 8.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002135/0.3673, allocations: 17.75 kB / 0.5367 GB, free: 8.371 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001862/0.3692, allocations: 0.9452 MB / 0.5376 GB, free: 7.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.3694, allocations: 44.22 kB / 0.5377 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3694, allocations: 0 / 0.5377 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.514e-05/0.3695, allocations: 23.78 kB / 0.5377 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.3697, allocations: 31.47 kB / 0.5377 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.3714, allocations: 1.493 MB / 0.5392 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.3718, allocations: 0.7046 MB / 0.5399 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.409e-05/0.3718, allocations: 15.66 kB / 0.5399 GB, free: 5.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.3719, allocations: 30.89 kB / 0.5399 GB, free: 5.512 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3719, allocations: 0 / 0.5399 GB, free: 5.512 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/0.3977, allocations: 3.169 MB / 0.543 GB, free: 3.789 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.164/8.562, allocations: 10.22 kB / 0.543 GB, free: 3.785 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1)