Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001819/0.001819, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002156/0.002156, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247 MB, free: 10.41 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.2263/0.2263, allocations: 46.11 MB / 344.3 MB, free: 11.42 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.003321/0.003321, allocations: 84.14 kB / 481 MB, free: 4.414 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3622, allocations: 62.45 MB / 0.5307 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.00337/0.3656, allocations: 1.834 MB / 0.5325 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.3676, allocations: 1.087 MB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.774e-05/0.3677, allocations: 5.312 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005665/0.3683, allocations: 309.4 kB / 0.5338 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005077/0.3688, allocations: 254.4 kB / 0.5341 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.3691, allocations: 105.2 kB / 0.5342 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003509/0.3695, allocations: 262 kB / 0.5344 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.681e-05/0.3696, allocations: 10.69 kB / 0.5344 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.3698, allocations: 136.8 kB / 0.5346 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.37, allocations: 195 kB / 0.5347 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.712e-05/0.3701, allocations: 6.875 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.3702, allocations: 50.17 kB / 0.5348 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.3704, allocations: 142.8 kB / 0.5349 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.3705, allocations: 151.6 kB / 0.5351 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.371, allocations: 372 kB / 0.5354 GB, free: 9.934 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3711, allocations: 0 / 0.5354 GB, free: 9.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3711, allocations: 1.125 kB / 0.5354 GB, free: 9.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.3711, allocations: 0 / 0.5354 GB, free: 9.934 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.001131/0.3722, allocations: 0.7663 MB / 0.5362 GB, free: 9.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3723, allocations: 9.812 kB / 0.5362 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.3723, allocations: 35.8 kB / 0.5362 GB, free: 9.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.419e-05/0.3724, allocations: 51.64 kB / 0.5363 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006957/0.3731, allocations: 459.8 kB / 0.5367 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.3732, allocations: 3.094 kB / 0.5367 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.3732, allocations: 5.969 kB / 0.5367 GB, free: 8.801 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002184/0.3734, allocations: 96.91 kB / 0.5368 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3734, allocations: 0 / 0.5368 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3734, allocations: 0 / 0.5368 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.3734, allocations: 1.156 kB / 0.5368 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.3736, allocations: 33.12 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.3741, allocations: 382.2 kB / 0.5372 GB, free: 8.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002817/0.3743, allocations: 113.6 kB / 0.5373 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.843e-05/0.3745, allocations: 37.77 kB / 0.5374 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3745, allocations: 1.031 kB / 0.5374 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.3747, allocations: 120 kB / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 3.667e-06/0.3748, allocations: 0 / 0.5375 GB, free: 8.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005383/0.3753, allocations: 201.3 kB / 0.5377 GB, free: 8.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.3754, allocations: 78.52 kB / 0.5377 GB, free: 7.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.3766, allocations: 1.057 MB / 0.5388 GB, free: 7.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.3766, allocations: 26.98 kB / 0.5388 GB, free: 7.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.3769, allocations: 242.2 kB / 0.539 GB, free: 7.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.3769, allocations: 28.25 kB / 0.5391 GB, free: 7.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.377, allocations: 31.27 kB / 0.5391 GB, free: 7.164 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.3772, allocations: 365.4 kB / 0.5394 GB, free: 6.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/0.3773, allocations: 31.61 kB / 0.5395 GB, free: 6.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.3774, allocations: 61.69 kB / 0.5395 GB, free: 6.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.3776, allocations: 91.3 kB / 0.5396 GB, free: 6.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3776, allocations: 7.875 kB / 0.5396 GB, free: 6.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003111/0.3779, allocations: 171 kB / 0.5398 GB, free: 6.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3779, allocations: 6.562 kB / 0.5398 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.3779, allocations: 1.125 kB / 0.5398 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.378, allocations: 5.188 kB / 0.5398 GB, free: 6.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.3781, allocations: 25.3 kB / 0.5398 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3781, allocations: 6.344 kB / 0.5398 GB, free: 6.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.3782, allocations: 7.625 kB / 0.5398 GB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.3782, allocations: 4.969 kB / 0.5398 GB, free: 6.551 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.0002402/0.3785, allocations: 225.5 kB / 0.5401 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.3786, allocations: 55.5 kB / 0.5401 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.3787, allocations: 59.42 kB / 0.5402 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3787, allocations: 5.406 kB / 0.5402 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3787, allocations: 0 / 0.5402 GB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3787, allocations: 5.453 kB / 0.5402 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.3791, allocations: 350.1 kB / 0.5405 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3791, allocations: 1.156 kB / 0.5405 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.602e-05/0.3792, allocations: 5.625 kB / 0.5405 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3792, allocations: 2.031 kB / 0.5405 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.3792, allocations: 1.156 kB / 0.5405 GB, free: 6.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.3792, allocations: 9.172 kB / 0.5405 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3792, allocations: 0.9688 kB / 0.5405 GB, free: 6.004 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.3796, allocations: 213.2 kB / 0.5407 GB, free: 5.852 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.3797, allocations: 143.4 kB / 0.5409 GB, free: 5.719 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.3798, allocations: 5.062 kB / 0.5409 GB, free: 5.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.3799, allocations: 11.58 kB / 0.5409 GB, free: 5.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.3799, allocations: 8.469 kB / 0.5409 GB, free: 5.703 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.38, allocations: 8.547 kB / 0.5409 GB, free: 5.699 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008479/0.3808, allocations: 0.789 MB / 0.5417 GB, free: 5.332 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3808, allocations: 0 / 0.5417 GB, free: 5.332 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00028/0.3811, allocations: 44.75 kB / 0.5417 GB, free: 5.324 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.002025/0.3831, allocations: 1.037 MB / 0.5427 GB, free: 4.527 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.3834, allocations: 78.78 kB / 0.5428 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3834, allocations: 1.219 kB / 0.5428 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.3835, allocations: 42.39 kB / 0.5428 GB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.384, allocations: 68.45 kB / 0.5429 GB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005759/0.3897, allocations: 4.576 MB / 0.5474 GB, free: 160 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/0.3903, allocations: 0.8504 MB / 0.5482 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.3904, allocations: 50.95 kB / 0.5483 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.3907, allocations: 155.4 kB / 0.5484 GB, free: 15.08 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3907, allocations: 0 / 0.5484 GB, free: 15.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.4226, allocations: 9.103 MB / 0.5573 GB, free: 6.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.734/9.156, allocations: 19.64 kB / 0.5573 GB, free: 6.07 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70_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_Test70.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)