Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001857/0.001857, allocations: 121.6 kB / 17.78 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.002371/0.002371, allocations: 199.9 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.468/1.468, 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.2347/0.2347, 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.002614/0.002614, allocations: 79.88 kB / 481 MB, free: 4.457 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3695, allocations: 62.45 MB / 0.5307 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003092/0.3727, allocations: 1.687 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.3744, allocations: 0.9987 MB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.3745, allocations: 2.219 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003609/0.3749, allocations: 86.58 kB / 0.5334 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.3752, allocations: 115 kB / 0.5335 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002006/0.3754, allocations: 77.84 kB / 0.5336 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.3756, allocations: 110.4 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.3757, allocations: 8.344 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.3758, allocations: 48.39 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3759, allocations: 55.33 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.3759, allocations: 6.688 kB / 0.5338 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.093e-05/0.376, allocations: 36.61 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.562e-05/0.3761, allocations: 20.17 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.3761, allocations: 39.92 kB / 0.5339 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002102/0.3763, allocations: 107.1 kB / 0.534 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3764, allocations: 3.938 kB / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3764, allocations: 0 / 0.534 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3764, allocations: 0 / 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005723/0.377, allocations: 430.3 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.377, allocations: 9.625 kB / 0.5344 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.3e-05/0.377, allocations: 30.75 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.3771, allocations: 18.28 kB / 0.5345 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002856/0.3774, allocations: 212.6 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3774, allocations: 1.75 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.3774, allocations: 5.312 kB / 0.5347 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.3776, allocations: 51.23 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.3776, allocations: 1.375 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.3776, allocations: 4 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3776, allocations: 0 / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.883e-05/0.3777, allocations: 16.23 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.3779, allocations: 184.8 kB / 0.5349 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.3781, allocations: 59.09 kB / 0.535 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.279e-05/0.3781, allocations: 21.09 kB / 0.535 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.3782, allocations: 5.375 kB / 0.535 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.3783, allocations: 67.7 kB / 0.5351 GB, free: 9.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.3783, allocations: 1.375 kB / 0.5351 GB, free: 9.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002783/0.3786, allocations: 95.45 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.3787, allocations: 52.41 kB / 0.5352 GB, free: 9.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.3789, allocations: 222.1 kB / 0.5354 GB, free: 9.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.379, allocations: 25.7 kB / 0.5354 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.3791, allocations: 109.6 kB / 0.5355 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.3791, allocations: 23.31 kB / 0.5356 GB, free: 9.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.65e-05/0.3792, allocations: 17.94 kB / 0.5356 GB, free: 9.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3793, allocations: 323.9 kB / 0.5359 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.289e-05/0.3794, allocations: 18.42 kB / 0.5359 GB, free: 8.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.073e-05/0.3795, allocations: 27.73 kB / 0.5359 GB, free: 8.898 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.3796, allocations: 43.69 kB / 0.536 GB, free: 8.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3796, allocations: 3.938 kB / 0.536 GB, free: 8.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001702/0.3798, allocations: 92.58 kB / 0.5361 GB, free: 8.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.3798, allocations: 5.5 kB / 0.5361 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3798, allocations: 0 / 0.5361 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3798, allocations: 1.219 kB / 0.5361 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-05/0.3799, allocations: 16.59 kB / 0.5361 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3799, allocations: 1.156 kB / 0.5361 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.38, allocations: 6.344 kB / 0.5361 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.38, allocations: 10.33 kB / 0.5361 GB, free: 8.777 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 (7): * Single equations (assignments): 7 * 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.00012/0.3801, allocations: 129 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.3802, allocations: 13 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.3802, allocations: 18.58 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3802, allocations: 1.094 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3802, allocations: 0 / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.3802, allocations: 1.156 kB / 0.5363 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.3804, allocations: 194.6 kB / 0.5364 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3804, allocations: 4 kB / 0.5364 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.963e-05/0.3805, allocations: 3.438 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3805, allocations: 1.062 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3805, allocations: 1.188 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3805, allocations: 0 / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3805, allocations: 1.219 kB / 0.5365 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.3807, allocations: 109.5 kB / 0.5366 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.3808, allocations: 84.5 kB / 0.5366 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.3808, allocations: 13.14 kB / 0.5367 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.478e-05/0.3809, allocations: 1.188 kB / 0.5367 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.3809, allocations: 6.219 kB / 0.5367 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.3809, allocations: 2.281 kB / 0.5367 GB, free: 8.195 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.3811, allocations: 169.3 kB / 0.5368 GB, free: 8.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3811, allocations: 0 / 0.5368 GB, free: 8.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002211/0.3813, allocations: 24.64 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001917/0.3832, allocations: 0.9532 MB / 0.5378 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.3834, allocations: 39.89 kB / 0.5378 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3834, allocations: 0 / 0.5378 GB, free: 7.301 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.24e-05/0.3835, allocations: 19.61 kB / 0.5378 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.3838, allocations: 40.22 kB / 0.5379 GB, free: 7.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001863/0.3857, allocations: 1.57 MB / 0.5394 GB, free: 5.914 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.3861, allocations: 0.705 MB / 0.5401 GB, free: 5.203 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.747e-05/0.3861, allocations: 12.33 kB / 0.5401 GB, free: 5.195 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.3862, allocations: 34.33 kB / 0.5401 GB, free: 5.172 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3862, allocations: 0 / 0.5401 GB, free: 5.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02526/0.4115, allocations: 3.272 MB / 0.5433 GB, free: 3.406 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8/8.411, allocations: 8.531 kB / 0.5433 GB, free: 3.402 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1)