Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00183/0.00183, allocations: 118.7 kB / 17.78 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.002592/0.002592, allocations: 203.9 kB / 18.74 MB, free: 4.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 247 MB, free: 10.39 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.2339/0.2339, allocations: 46.12 MB / 344.3 MB, free: 11.34 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.002291/0.002291, allocations: 79.88 kB / 481 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3647, allocations: 62.44 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003198/0.368, allocations: 1.726 MB / 0.5324 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.3697, allocations: 1.026 MB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.3698, allocations: 2.25 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002705/0.3701, allocations: 44.83 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.3704, allocations: 97.75 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002117/0.3706, allocations: 74.98 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3708, allocations: 108.9 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.22e-05/0.3709, allocations: 10.88 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.085e-05/0.371, allocations: 40.3 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.347e-05/0.3711, allocations: 33.41 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3711, allocations: 4.125 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.161e-05/0.3712, allocations: 43.47 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.162e-05/0.3713, allocations: 22.8 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.3713, allocations: 32 kB / 0.5339 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.3716, allocations: 125.8 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3716, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3716, allocations: 0 / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.3716, allocations: 1.375 kB / 0.534 GB, free: 10.79 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.0005682/0.3722, allocations: 427.5 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.3722, allocations: 9.625 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.497e-05/0.3722, allocations: 32.12 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.3723, allocations: 14.39 kB / 0.5345 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.3726, allocations: 217.3 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3726, allocations: 5.734 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.3726, allocations: 5.312 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.3728, allocations: 57.98 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3728, allocations: 1.375 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.3728, allocations: 0 / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3728, allocations: 1.375 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.131e-05/0.3729, allocations: 17.61 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.3733, allocations: 294.8 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.3735, allocations: 61.84 kB / 0.5351 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.3735, allocations: 18.48 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.3736, allocations: 1.375 kB / 0.5351 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.3737, allocations: 69.14 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3737, allocations: 0 / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005794/0.3743, allocations: 182.3 kB / 0.5353 GB, free: 9.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.3744, allocations: 53 kB / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.3746, allocations: 200.8 kB / 0.5356 GB, free: 9.242 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.3746, allocations: 29.7 kB / 0.5356 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.3747, allocations: 101.2 kB / 0.5357 GB, free: 9.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.3747, allocations: 31.75 kB / 0.5357 GB, free: 9.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.3748, allocations: 20.78 kB / 0.5358 GB, free: 9.062 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.375, allocations: 326.3 kB / 0.5361 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.947e-05/0.375, allocations: 19.11 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.388e-05/0.3751, allocations: 39.27 kB / 0.5361 GB, free: 8.699 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.3752, allocations: 58.56 kB / 0.5362 GB, free: 8.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3753, allocations: 5.094 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002125/0.3755, allocations: 111.1 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3755, allocations: 5.562 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3755, allocations: 5.125 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.3755, allocations: 1.094 kB / 0.5363 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.737e-05/0.3756, allocations: 16.58 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3756, allocations: 1.156 kB / 0.5363 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.3757, allocations: 10.28 kB / 0.5363 GB, free: 8.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3757, allocations: 2.469 kB / 0.5363 GB, free: 8.566 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.0001177/0.3758, allocations: 138.3 kB / 0.5365 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.3759, allocations: 13.88 kB / 0.5365 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.3759, allocations: 13.72 kB / 0.5365 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.3759, allocations: 1.156 kB / 0.5365 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3759, allocations: 1.125 kB / 0.5365 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3759, allocations: 3.938 kB / 0.5365 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.3764, allocations: 390.4 kB / 0.5369 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3765, allocations: 5.094 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.257e-05/0.3765, allocations: 7.719 kB / 0.5369 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.3765, allocations: 4.969 kB / 0.5369 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3765, allocations: 1.438 kB / 0.5369 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3765, allocations: 1.5 kB / 0.5369 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3765, allocations: 3.984 kB / 0.5369 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.3768, allocations: 209.3 kB / 0.5371 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.3769, allocations: 87.77 kB / 0.5372 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.3769, allocations: 5.312 kB / 0.5372 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.724e-05/0.377, allocations: 2.75 kB / 0.5372 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.377, allocations: 10.73 kB / 0.5372 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.377, allocations: 4.312 kB / 0.5372 GB, free: 7.723 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.3772, allocations: 148.4 kB / 0.5373 GB, free: 7.617 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3772, allocations: 3.938 kB / 0.5373 GB, free: 7.613 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.3775, allocations: 25.12 kB / 0.5374 GB, free: 7.605 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.002171/0.3796, allocations: 1.092 MB / 0.5384 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.3798, allocations: 66.42 kB / 0.5385 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3799, allocations: 0 / 0.5385 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.165e-05/0.3799, allocations: 29.67 kB / 0.5385 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.3803, allocations: 37.08 kB / 0.5386 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001888/0.3822, allocations: 1.641 MB / 0.5402 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.3826, allocations: 0.7097 MB / 0.5409 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.554e-05/0.3826, allocations: 14.47 kB / 0.5409 GB, free: 4.531 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.812e-05/0.3827, allocations: 35.02 kB / 0.5409 GB, free: 4.504 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3827, allocations: 5.156 kB / 0.5409 GB, free: 4.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.4081, allocations: 3.463 MB / 0.5443 GB, free: 2.641 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.077/8.485, allocations: 11.84 kB / 0.5443 GB, free: 2.633 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22_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_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)