Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 204.7 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, 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.2239/0.2239, 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.002241/0.002241, allocations: 79.88 kB / 481 MB, free: 4.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3305, allocations: 62.45 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.00348/0.334, allocations: 1.691 MB / 0.5323 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.3362, allocations: 0.999 MB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.089e-05/0.3363, allocations: 0 / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.3367, allocations: 63.08 kB / 0.5334 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.3371, allocations: 89.91 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.3373, allocations: 73.59 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.3376, allocations: 100 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.78e-05/0.3377, allocations: 16.78 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.3378, allocations: 40 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.824e-05/0.3379, allocations: 33.14 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.3379, allocations: 2.031 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.338, allocations: 33.78 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.902e-05/0.3381, allocations: 25.55 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.166e-05/0.3382, allocations: 41 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.3385, allocations: 118.7 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3385, allocations: 1.156 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3385, allocations: 0 / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.3385, allocations: 4 kB / 0.5339 GB, free: 10.85 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.000696/0.3392, allocations: 450.2 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3392, allocations: 9.625 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.3393, allocations: 32.12 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.3394, allocations: 14.38 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000352/0.3397, allocations: 224.3 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.3397, allocations: 1.75 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.3398, allocations: 5.312 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.3399, allocations: 51.3 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.34, allocations: 0 / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.34, allocations: 3.938 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.34, allocations: 1.375 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.489e-05/0.3401, allocations: 20.17 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002556/0.3403, allocations: 191.5 kB / 0.5349 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.3405, allocations: 55.12 kB / 0.5349 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.621e-05/0.3406, allocations: 21.09 kB / 0.535 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.3407, allocations: 1.375 kB / 0.535 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.3408, allocations: 67.7 kB / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.744e-06/0.3408, allocations: 0 / 0.535 GB, free: 9.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003344/0.3412, allocations: 97.45 kB / 0.5351 GB, free: 9.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.3413, allocations: 56.78 kB / 0.5352 GB, free: 9.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.3416, allocations: 271.3 kB / 0.5354 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.3417, allocations: 25.7 kB / 0.5355 GB, free: 9.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.891e-05/0.3418, allocations: 120.3 kB / 0.5356 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.3418, allocations: 21.2 kB / 0.5356 GB, free: 9.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.3419, allocations: 19.22 kB / 0.5356 GB, free: 9.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3421, allocations: 328.3 kB / 0.5359 GB, free: 8.887 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.975e-05/0.3422, allocations: 14.86 kB / 0.5359 GB, free: 8.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.844e-05/0.3422, allocations: 40.62 kB / 0.536 GB, free: 8.844 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3424, allocations: 38.22 kB / 0.536 GB, free: 8.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.3424, allocations: 5.312 kB / 0.536 GB, free: 8.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002109/0.3426, allocations: 92.02 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3426, allocations: 5.5 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3427, allocations: 1.281 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3427, allocations: 1.344 kB / 0.5361 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.483e-05/0.3428, allocations: 12.88 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.3428, allocations: 0 / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.22e-05/0.3429, allocations: 11.33 kB / 0.5361 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.3429, allocations: 6.453 kB / 0.5361 GB, free: 8.73 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.0001475/0.3431, allocations: 132.2 kB / 0.5363 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.3431, allocations: 14 kB / 0.5363 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.032e-05/0.3432, allocations: 17.19 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3432, allocations: 0 / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.3432, allocations: 1.562 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3432, allocations: 7.984 kB / 0.5363 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.3435, allocations: 198.2 kB / 0.5365 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3435, allocations: 8.938 kB / 0.5365 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.3435, allocations: 3.562 kB / 0.5365 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3435, allocations: 0 / 0.5365 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3435, allocations: 1.219 kB / 0.5365 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3435, allocations: 1.156 kB / 0.5365 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3435, allocations: 0 / 0.5365 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.3438, allocations: 123.5 kB / 0.5366 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-05/0.3439, allocations: 87.55 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.3439, allocations: 1.438 kB / 0.5367 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.721e-05/0.344, allocations: 10.58 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.586e-05/0.344, allocations: 1.25 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.3441, allocations: 2.625 kB / 0.5367 GB, free: 8.137 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002509/0.3443, allocations: 202.6 kB / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3443, allocations: 0 / 0.5369 GB, free: 8.012 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003306/0.3447, allocations: 21.34 kB / 0.5369 GB, free: 8.004 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.002341/0.347, allocations: 0.9426 MB / 0.5379 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.3473, allocations: 39.86 kB / 0.5379 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.3473, allocations: 0 / 0.5379 GB, free: 7.238 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.825e-05/0.3474, allocations: 32.39 kB / 0.5379 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.3477, allocations: 32.97 kB / 0.538 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002378/0.3501, allocations: 1.68 MB / 0.5396 GB, free: 5.801 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.3505, allocations: 0.7117 MB / 0.5403 GB, free: 5.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.526e-05/0.3506, allocations: 16.38 kB / 0.5403 GB, free: 5.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.288e-05/0.3507, allocations: 45.05 kB / 0.5403 GB, free: 5.043 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3507, allocations: 0.9375 kB / 0.5403 GB, free: 5.043 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.3786, allocations: 3.491 MB / 0.5438 GB, free: 3.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.54, allocations: 14.28 kB / 0.5438 GB, free: 3.172 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63_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_Test63.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1)