Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001255/0.001255, allocations: 118.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.001278/0.001278, allocations: 198 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.449/1.449, allocations: 227.4 MB / 247 MB, free: 10.44 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.2244/0.2244, allocations: 46.12 MB / 344.4 MB, free: 11.47 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.002315/0.002315, allocations: 83.86 kB / 481 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3381, allocations: 62.45 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00318/0.3413, allocations: 1.833 MB / 0.5325 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.3432, allocations: 1.09 MB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.538e-05/0.3433, allocations: 2.312 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005015/0.3438, allocations: 304 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004784/0.3443, allocations: 255.5 kB / 0.5341 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.3446, allocations: 104.4 kB / 0.5342 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.3449, allocations: 270.8 kB / 0.5344 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.637e-05/0.345, allocations: 13.92 kB / 0.5344 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.3452, allocations: 128.1 kB / 0.5346 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.3454, allocations: 196.1 kB / 0.5347 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.562e-05/0.3454, allocations: 6.625 kB / 0.5347 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.3455, allocations: 50.28 kB / 0.5348 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.3457, allocations: 142.2 kB / 0.5349 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.3458, allocations: 147.6 kB / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004506/0.3463, allocations: 380.4 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3463, allocations: 0 / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3463, allocations: 1.188 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.3463, allocations: 0 / 0.5354 GB, free: 9.984 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009967/0.3473, allocations: 0.7629 MB / 0.5362 GB, free: 9.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3474, allocations: 12.73 kB / 0.5362 GB, free: 9.297 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.3474, allocations: 37.09 kB / 0.5362 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.58e-05/0.3475, allocations: 50.61 kB / 0.5363 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006328/0.3482, allocations: 460.5 kB / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.3482, allocations: 2.531 kB / 0.5367 GB, free: 8.855 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.3482, allocations: 10.16 kB / 0.5367 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.3484, allocations: 87.89 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.3484, allocations: 1.312 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3485, allocations: 4 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.3485, allocations: 1.344 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.3486, allocations: 31.78 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.349, allocations: 381.9 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.3493, allocations: 110.3 kB / 0.5373 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.712e-05/0.3494, allocations: 38.14 kB / 0.5374 GB, free: 8.312 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.3494, allocations: 8.984 kB / 0.5374 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002278/0.3497, allocations: 115.2 kB / 0.5375 GB, free: 8.199 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.3497, allocations: 1.125 kB / 0.5375 GB, free: 8.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004866/0.3502, allocations: 201.3 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.3503, allocations: 78.27 kB / 0.5377 GB, free: 7.992 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.3514, allocations: 1.053 MB / 0.5388 GB, free: 7.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.3514, allocations: 32.02 kB / 0.5388 GB, free: 7.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.3516, allocations: 238 kB / 0.539 GB, free: 7.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.3517, allocations: 36.69 kB / 0.5391 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.3517, allocations: 26.16 kB / 0.5391 GB, free: 7.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3519, allocations: 370 kB / 0.5394 GB, free: 6.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.344e-05/0.352, allocations: 38.69 kB / 0.5395 GB, free: 6.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3521, allocations: 58.58 kB / 0.5395 GB, free: 6.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.3523, allocations: 90.28 kB / 0.5396 GB, free: 6.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3523, allocations: 5.156 kB / 0.5396 GB, free: 6.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003087/0.3527, allocations: 170.6 kB / 0.5398 GB, free: 6.621 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3527, allocations: 6.594 kB / 0.5398 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3527, allocations: 0 / 0.5398 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3527, allocations: 6.594 kB / 0.5398 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.3528, allocations: 24.77 kB / 0.5398 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3528, allocations: 2.719 kB / 0.5398 GB, free: 6.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.353, allocations: 11.95 kB / 0.5398 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.353, allocations: 8.312 kB / 0.5398 GB, free: 6.598 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002149/0.3532, allocations: 218.2 kB / 0.5401 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.439e-05/0.3533, allocations: 54.31 kB / 0.5401 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.25e-05/0.3534, allocations: 67.66 kB / 0.5402 GB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3534, allocations: 5.344 kB / 0.5402 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.3534, allocations: 1.156 kB / 0.5402 GB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3534, allocations: 9.469 kB / 0.5402 GB, free: 6.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.3538, allocations: 342.1 kB / 0.5405 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.3538, allocations: 0 / 0.5405 GB, free: 6.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.735e-05/0.3538, allocations: 10.47 kB / 0.5405 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.3538, allocations: 1.031 kB / 0.5405 GB, free: 6.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3539, allocations: 6.234 kB / 0.5405 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3539, allocations: 1.125 kB / 0.5405 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3539, allocations: 1.094 kB / 0.5405 GB, free: 6.055 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003516/0.3542, allocations: 212.7 kB / 0.5407 GB, free: 5.902 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.3544, allocations: 142.3 kB / 0.5409 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.3544, allocations: 2.469 kB / 0.5409 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.3545, allocations: 11.17 kB / 0.5409 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.3546, allocations: 8.641 kB / 0.5409 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.3546, allocations: 4.688 kB / 0.5409 GB, free: 5.758 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008489/0.3554, allocations: 0.7883 MB / 0.5417 GB, free: 5.391 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3554, allocations: 0 / 0.5417 GB, free: 5.391 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.3557, allocations: 44.94 kB / 0.5417 GB, free: 5.383 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.002017/0.3577, allocations: 1.046 MB / 0.5427 GB, free: 4.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002674/0.358, allocations: 79.62 kB / 0.5428 GB, free: 4.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.358, allocations: 0 / 0.5428 GB, free: 4.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.3582, allocations: 43.16 kB / 0.5428 GB, free: 4.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.3586, allocations: 66.62 kB / 0.5429 GB, free: 4.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005733/0.3644, allocations: 4.575 MB / 0.5474 GB, free: 220 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.3649, allocations: 0.8427 MB / 0.5482 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001748/0.3651, allocations: 63.44 kB / 0.5483 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.3653, allocations: 155.3 kB / 0.5484 GB, free: 15.14 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3653, allocations: 4 kB / 0.5484 GB, free: 15.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/0.3965, allocations: 9.094 MB / 0.5573 GB, free: 6.152 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.651/9.048, allocations: 11.64 kB / 0.5573 GB, free: 6.141 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.2 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)