Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 122.1 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.001675/0.001675, 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.476/1.476, 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.2313/0.2313, allocations: 46.12 MB / 344.4 MB, free: 11.46 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.003407/0.003407, allocations: 76.09 kB / 481 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3513, allocations: 62.45 MB / 0.5307 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003313/0.3546, allocations: 1.73 MB / 0.5324 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.3564, allocations: 1.021 MB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.179e-05/0.3566, allocations: 5.625 kB / 0.5334 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.3569, allocations: 49.34 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.3572, allocations: 86.77 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.3574, allocations: 82.92 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.3576, allocations: 101.7 kB / 0.5337 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3577, allocations: 18.7 kB / 0.5337 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.3578, allocations: 39.56 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.3579, allocations: 34.11 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.358, allocations: 4.875 kB / 0.5338 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3581, allocations: 47.31 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.172e-05/0.3582, allocations: 18.8 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.678e-05/0.3583, allocations: 35.98 kB / 0.5339 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002916/0.3586, allocations: 127.2 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3586, allocations: 0 / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3586, allocations: 1.375 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.3586, allocations: 4 kB / 0.534 GB, free: 10.84 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.0007196/0.3594, allocations: 426.2 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3594, allocations: 9.625 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.719e-05/0.3595, allocations: 34.69 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.3595, allocations: 10.39 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.3599, allocations: 224.6 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.36, allocations: 1.75 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.36, allocations: 10.67 kB / 0.5347 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.3602, allocations: 58.05 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3602, allocations: 0 / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.3603, allocations: 1.375 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3603, allocations: 0 / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.3604, allocations: 22.92 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.3609, allocations: 292.2 kB / 0.535 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.3611, allocations: 61.92 kB / 0.5351 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.554e-05/0.3612, allocations: 17.11 kB / 0.5351 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.3613, allocations: 5.312 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.3615, allocations: 69.08 kB / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.3615, allocations: 0 / 0.5352 GB, free: 9.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007525/0.3622, allocations: 186.3 kB / 0.5354 GB, free: 9.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.3623, allocations: 52.78 kB / 0.5354 GB, free: 9.426 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.3627, allocations: 211.8 kB / 0.5356 GB, free: 9.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.3627, allocations: 31.05 kB / 0.5357 GB, free: 9.238 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.3628, allocations: 102.7 kB / 0.5358 GB, free: 9.141 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.3629, allocations: 18.39 kB / 0.5358 GB, free: 9.125 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.363, allocations: 24.98 kB / 0.5358 GB, free: 9.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.3632, allocations: 326.1 kB / 0.5361 GB, free: 8.777 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.642e-05/0.3633, allocations: 23.34 kB / 0.5361 GB, free: 8.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.3634, allocations: 39.39 kB / 0.5362 GB, free: 8.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.3636, allocations: 59.23 kB / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3636, allocations: 0 / 0.5362 GB, free: 8.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002961/0.3639, allocations: 103.8 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.3639, allocations: 6.188 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.364, allocations: 8.016 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.364, allocations: 1.156 kB / 0.5363 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3641, allocations: 17.22 kB / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3641, allocations: 1.156 kB / 0.5364 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.451e-05/0.3642, allocations: 9.969 kB / 0.5364 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3642, allocations: 2.531 kB / 0.5364 GB, free: 8.609 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.0001472/0.3644, allocations: 129.1 kB / 0.5365 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.3645, allocations: 13.5 kB / 0.5365 GB, free: 8.477 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.784e-05/0.3645, allocations: 18.89 kB / 0.5365 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.3645, allocations: 9.141 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3646, allocations: 4 kB / 0.5365 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.3646, allocations: 4.938 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006753/0.3653, allocations: 391.6 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3653, allocations: 0 / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.3653, allocations: 7.906 kB / 0.5369 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.3654, allocations: 5.125 kB / 0.5369 GB, free: 8.059 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.3654, allocations: 9.031 kB / 0.5369 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.3654, allocations: 5.188 kB / 0.5369 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3654, allocations: 5.078 kB / 0.5369 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.3658, allocations: 204.3 kB / 0.5371 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.3659, allocations: 88.58 kB / 0.5372 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.3659, allocations: 10.03 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3661, allocations: 2.219 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.3661, allocations: 11.55 kB / 0.5372 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.3662, allocations: 3.438 kB / 0.5372 GB, free: 7.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002293/0.3664, allocations: 162 kB / 0.5374 GB, free: 7.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3664, allocations: 1.312 kB / 0.5374 GB, free: 7.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004819/0.3669, allocations: 20.84 kB / 0.5374 GB, free: 7.633 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.002958/0.3699, allocations: 1.09 MB / 0.5385 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002783/0.3702, allocations: 61.97 kB / 0.5385 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.3702, allocations: 4.062 kB / 0.5385 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3703, allocations: 33.02 kB / 0.5386 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005619/0.3709, allocations: 35.84 kB / 0.5386 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.3737, allocations: 1.682 MB / 0.5403 GB, free: 5.258 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.3742, allocations: 0.7153 MB / 0.541 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.645e-05/0.3743, allocations: 22.34 kB / 0.541 GB, free: 4.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.3744, allocations: 35.23 kB / 0.541 GB, free: 4.5 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3744, allocations: 0 / 0.541 GB, free: 4.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03049/0.4049, allocations: 3.515 MB / 0.5444 GB, free: 2.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.054/8.459, allocations: 3.672 kB / 0.5444 GB, free: 2.617 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23_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_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)