Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001372/0.001372, allocations: 117.6 kB / 17.79 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.001285/0.001285, 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.434/1.434, allocations: 227.4 MB / 247 MB, free: 10.43 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.2221/0.2221, 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.002257/0.002257, allocations: 80.08 kB / 481 MB, free: 4.441 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3554, allocations: 62.45 MB / 0.5307 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003113/0.3585, allocations: 1.727 MB / 0.5324 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.361, allocations: 1.621 MB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.221e-05/0.3611, allocations: 1.375 kB / 0.534 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002661/0.3614, allocations: 43.97 kB / 0.534 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.3617, allocations: 100.4 kB / 0.5341 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.3619, allocations: 74.92 kB / 0.5342 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.3621, allocations: 106.4 kB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.839e-05/0.3622, allocations: 10.86 kB / 0.5343 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.011e-05/0.3623, allocations: 52.27 kB / 0.5343 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.3625, allocations: 42.53 kB / 0.5344 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.3625, allocations: 9.5 kB / 0.5344 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.3627, allocations: 119 kB / 0.5345 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.3627, allocations: 23.97 kB / 0.5345 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.3628, allocations: 28.06 kB / 0.5345 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.3631, allocations: 174.3 kB / 0.5347 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3631, allocations: 0 / 0.5347 GB, free: 10.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3631, allocations: 1.375 kB / 0.5347 GB, free: 10.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.3631, allocations: 0 / 0.5347 GB, free: 10.28 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.0006088/0.3637, allocations: 430 kB / 0.5351 GB, free: 9.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.3638, allocations: 9.656 kB / 0.5351 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.58e-05/0.3638, allocations: 36.84 kB / 0.5352 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.3639, allocations: 12.78 kB / 0.5352 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.3642, allocations: 218.7 kB / 0.5354 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.3642, allocations: 1.156 kB / 0.5354 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3642, allocations: 2.469 kB / 0.5354 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.3644, allocations: 78.06 kB / 0.5355 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3644, allocations: 0 / 0.5355 GB, free: 9.484 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.3645, allocations: 5.219 kB / 0.5355 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.3645, allocations: 1.438 kB / 0.5355 GB, free: 9.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.907e-05/0.3646, allocations: 17.36 kB / 0.5355 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.365, allocations: 282.2 kB / 0.5358 GB, free: 9.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.3652, allocations: 61.7 kB / 0.5358 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.998e-05/0.3652, allocations: 21.95 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.3653, allocations: 1.062 kB / 0.5358 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.3654, allocations: 69.44 kB / 0.5359 GB, free: 9.039 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.777e-06/0.3654, allocations: 0 / 0.5359 GB, free: 9.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005824/0.366, allocations: 173.2 kB / 0.5361 GB, free: 8.938 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.3661, allocations: 86.16 kB / 0.5362 GB, free: 8.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.3663, allocations: 170.5 kB / 0.5363 GB, free: 8.695 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.3663, allocations: 26.92 kB / 0.5363 GB, free: 8.664 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.382e-05/0.3664, allocations: 96.48 kB / 0.5364 GB, free: 8.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.3664, allocations: 31.23 kB / 0.5365 GB, free: 8.543 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.3665, allocations: 21.62 kB / 0.5365 GB, free: 8.523 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3667, allocations: 325.1 kB / 0.5368 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.149e-05/0.3667, allocations: 22.95 kB / 0.5368 GB, free: 8.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.3668, allocations: 45.41 kB / 0.5369 GB, free: 8.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.3669, allocations: 59.17 kB / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.367, allocations: 1.094 kB / 0.5369 GB, free: 8.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002241/0.3672, allocations: 99.19 kB / 0.537 GB, free: 8.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3672, allocations: 4.719 kB / 0.537 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3672, allocations: 9.156 kB / 0.537 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3672, allocations: 1.562 kB / 0.537 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.3673, allocations: 20.61 kB / 0.537 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.495e-06/0.3674, allocations: 9.25 kB / 0.5371 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.111e-05/0.3674, allocations: 5.531 kB / 0.5371 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.3674, allocations: 4.031 kB / 0.5371 GB, free: 8.02 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.0001129/0.3675, allocations: 119 kB / 0.5372 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.3676, allocations: 13 kB / 0.5372 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.259e-05/0.3676, allocations: 12.34 kB / 0.5372 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.3676, allocations: 9.297 kB / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3677, allocations: 0 / 0.5372 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.3677, allocations: 4 kB / 0.5372 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005121/0.3682, allocations: 405.5 kB / 0.5376 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3682, allocations: 3.938 kB / 0.5376 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.546e-05/0.3682, allocations: 11.89 kB / 0.5376 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3682, allocations: 1.219 kB / 0.5376 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3683, allocations: 1.344 kB / 0.5376 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.3683, allocations: 1.375 kB / 0.5376 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3683, allocations: 0 / 0.5376 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.3685, allocations: 209.1 kB / 0.5378 GB, free: 7.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.987e-05/0.3686, allocations: 91.73 kB / 0.5379 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.3686, allocations: 1.281 kB / 0.5379 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.335e-05/0.3687, allocations: 2.469 kB / 0.5379 GB, free: 7.188 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.3688, allocations: 10.83 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.469e-05/0.3688, allocations: 4.625 kB / 0.5379 GB, free: 7.18 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001193/0.3689, allocations: 130.3 kB / 0.538 GB, free: 7.078 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3689, allocations: 0 / 0.538 GB, free: 7.078 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.3692, allocations: 46.14 kB / 0.5381 GB, free: 7.062 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.002409/0.3716, allocations: 1.188 MB / 0.5393 GB, free: 6.156 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001892/0.3718, allocations: 54.36 kB / 0.5393 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3718, allocations: 0 / 0.5393 GB, free: 6.137 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.3719, allocations: 29.64 kB / 0.5393 GB, free: 6.125 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.3723, allocations: 32.83 kB / 0.5394 GB, free: 6.109 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.3747, allocations: 1.592 MB / 0.5409 GB, free: 4.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.3751, allocations: 0.699 MB / 0.5416 GB, free: 3.973 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.675e-05/0.3752, allocations: 24.42 kB / 0.5416 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.577e-05/0.3753, allocations: 33.67 kB / 0.5417 GB, free: 3.934 MB / 398.1 MB Notification: Performance of SimCode: time 2.845e-06/0.3753, allocations: 0 / 0.5417 GB, free: 3.934 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02823/0.4036, allocations: 4.032 MB / 0.5456 GB, free: 1.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.121/8.525, allocations: 17.98 kB / 0.5456 GB, free: 1.691 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1)