Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.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.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test15,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001504/0.001504, allocations: 118.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.001473/0.001473, allocations: 198 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.436/1.436, allocations: 227.4 MB / 247 MB, free: 10.45 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.2256/0.2256, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002358/0.002359, allocations: 83.88 kB / 481 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3646, allocations: 62.45 MB / 0.5307 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003689/0.3684, allocations: 1.727 MB / 0.5324 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3701, allocations: 1.017 MB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.3703, allocations: 1.375 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.3706, allocations: 41.39 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.371, allocations: 95.03 kB / 0.5335 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.3712, allocations: 74.98 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.3714, allocations: 113.6 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3715, allocations: 11.09 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.706e-05/0.3716, allocations: 43.94 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.447e-05/0.3717, allocations: 33.09 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3718, allocations: 3.906 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.3719, allocations: 40.67 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.033e-05/0.372, allocations: 17.52 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.977e-05/0.372, allocations: 35.45 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.3723, allocations: 129 kB / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3723, allocations: 0 / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3723, allocations: 0 / 0.534 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.3723, allocations: 3.938 kB / 0.534 GB, free: 10.83 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.0006174/0.3729, allocations: 411.6 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.373, allocations: 10.03 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.044e-05/0.373, allocations: 35.91 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.402e-05/0.3731, allocations: 13.47 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003136/0.3734, allocations: 212.8 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3734, allocations: 5.812 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.3734, allocations: 5.281 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.3736, allocations: 57.73 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3736, allocations: 1.062 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3736, allocations: 3.984 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3736, allocations: 1.344 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.789e-05/0.3737, allocations: 17.89 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.3741, allocations: 295.1 kB / 0.535 GB, free: 9.738 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.3743, allocations: 57.12 kB / 0.5351 GB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.675e-05/0.3744, allocations: 21.91 kB / 0.5351 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.3744, allocations: 1.188 kB / 0.5351 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.3746, allocations: 69.14 kB / 0.5352 GB, free: 9.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3746, allocations: 0 / 0.5352 GB, free: 9.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005488/0.3751, allocations: 178.2 kB / 0.5353 GB, free: 9.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.174e-05/0.3752, allocations: 52.59 kB / 0.5354 GB, free: 9.445 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002134/0.3754, allocations: 190 kB / 0.5356 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3754, allocations: 27.08 kB / 0.5356 GB, free: 9.266 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.535e-05/0.3755, allocations: 100.3 kB / 0.5357 GB, free: 9.168 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.3756, allocations: 23.97 kB / 0.5357 GB, free: 9.148 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.3756, allocations: 24.59 kB / 0.5357 GB, free: 9.125 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.3758, allocations: 321.6 kB / 0.536 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.217e-05/0.3758, allocations: 27.05 kB / 0.5361 GB, free: 8.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.659e-05/0.3759, allocations: 39.39 kB / 0.5361 GB, free: 8.758 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.376, allocations: 59.89 kB / 0.5362 GB, free: 8.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.376, allocations: 0 / 0.5362 GB, free: 8.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.3762, allocations: 110.8 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.3763, allocations: 5.5 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3763, allocations: 1.375 kB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3763, allocations: 0 / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.959e-05/0.3764, allocations: 17.73 kB / 0.5363 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.3764, allocations: 1.562 kB / 0.5363 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.3765, allocations: 9.25 kB / 0.5363 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.3765, allocations: 10.69 kB / 0.5363 GB, free: 8.625 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.0001204/0.3766, allocations: 133 kB / 0.5364 GB, free: 8.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.3766, allocations: 9.453 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.047e-05/0.3767, allocations: 14.91 kB / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3767, allocations: 0 / 0.5364 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3767, allocations: 1.375 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.3767, allocations: 7.922 kB / 0.5365 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.3772, allocations: 393 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3772, allocations: 1.125 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.3773, allocations: 11.16 kB / 0.5368 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3773, allocations: 8.969 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3773, allocations: 2.188 kB / 0.5369 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.3773, allocations: 5.141 kB / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3773, allocations: 0 / 0.5369 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002585/0.3776, allocations: 201 kB / 0.5371 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.3777, allocations: 88.11 kB / 0.5371 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.3777, allocations: 13 kB / 0.5371 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.3778, allocations: 2.188 kB / 0.5372 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.3778, allocations: 7.078 kB / 0.5372 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.3779, allocations: 4.312 kB / 0.5372 GB, free: 7.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.378, allocations: 139.2 kB / 0.5373 GB, free: 7.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.378, allocations: 0 / 0.5373 GB, free: 7.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002669/0.3783, allocations: 21 kB / 0.5373 GB, free: 7.676 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.00225/0.3805, allocations: 1.104 MB / 0.5384 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.3807, allocations: 58.05 kB / 0.5384 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3808, allocations: 0 / 0.5384 GB, free: 6.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.3808, allocations: 33.61 kB / 0.5385 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.3812, allocations: 24.61 kB / 0.5385 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.3831, allocations: 1.632 MB / 0.5401 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.3835, allocations: 0.7013 MB / 0.5408 GB, free: 4.605 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.346e-05/0.3836, allocations: 13.97 kB / 0.5408 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.66e-05/0.3836, allocations: 34.8 kB / 0.5408 GB, free: 4.574 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.3836, allocations: 0 / 0.5408 GB, free: 4.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/0.408, allocations: 3.403 MB / 0.5442 GB, free: 2.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.128/8.536, allocations: 11.59 kB / 0.5442 GB, free: 2.734 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15_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_Test15.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1)