Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001327/0.001332, allocations: 121.6 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001343/0.001343, allocations: 203.9 kB / 18.74 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.458/1.458, allocations: 227.4 MB / 247 MB, free: 10.42 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.226/0.226, allocations: 46.11 MB / 344.3 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.002254/0.002254, allocations: 76.11 kB / 481 MB, free: 4.41 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3653/0.3676, allocations: 62.45 MB / 0.5307 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003514/0.3711, allocations: 1.722 MB / 0.5324 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.3729, allocations: 1.025 MB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.724e-05/0.373, allocations: 5.781 kB / 0.5334 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003389/0.3734, allocations: 46.14 kB / 0.5334 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003681/0.3737, allocations: 104.9 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002536/0.374, allocations: 72.19 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.3742, allocations: 109.1 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.3743, allocations: 10.88 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.062e-05/0.3744, allocations: 42.91 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.3745, allocations: 33.41 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.3746, allocations: 4.125 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.3747, allocations: 40.86 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.114e-05/0.3747, allocations: 28.11 kB / 0.5339 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.619e-05/0.3748, allocations: 45.28 kB / 0.5339 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002469/0.3751, allocations: 124.6 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3751, allocations: 0 / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3751, allocations: 3.938 kB / 0.534 GB, free: 10.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3751, allocations: 9.312 kB / 0.534 GB, free: 10.77 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.0006616/0.3758, allocations: 435.5 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.3758, allocations: 13.61 kB / 0.5345 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.275e-05/0.3759, allocations: 32.12 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.3759, allocations: 10.39 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.3763, allocations: 227.6 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.3763, allocations: 1.75 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.3764, allocations: 10.67 kB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.3766, allocations: 58.05 kB / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3766, allocations: 0 / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.3766, allocations: 1.375 kB / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3766, allocations: 0 / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8e-05/0.3767, allocations: 22.98 kB / 0.5348 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.3772, allocations: 301.5 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.3773, allocations: 57.94 kB / 0.5351 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.933e-05/0.3774, allocations: 21.09 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3774, allocations: 1.375 kB / 0.5352 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001771/0.3776, allocations: 69.08 kB / 0.5352 GB, free: 9.52 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.3776, allocations: 0 / 0.5352 GB, free: 9.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005732/0.3782, allocations: 175.2 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.3783, allocations: 64.5 kB / 0.5355 GB, free: 9.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.3785, allocations: 241.1 kB / 0.5357 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.3786, allocations: 31.05 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.916e-05/0.3786, allocations: 109.6 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.3787, allocations: 27.58 kB / 0.5359 GB, free: 9.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.3787, allocations: 20.91 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.3789, allocations: 327.2 kB / 0.5362 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.13e-05/0.379, allocations: 18.83 kB / 0.5362 GB, free: 8.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.09e-05/0.3791, allocations: 39.3 kB / 0.5362 GB, free: 8.633 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.3792, allocations: 62.53 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3792, allocations: 1.094 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002024/0.3794, allocations: 100.4 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3794, allocations: 5.281 kB / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.3795, allocations: 0 / 0.5364 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3795, allocations: 5.156 kB / 0.5364 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.995e-05/0.3796, allocations: 25.42 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.461e-06/0.3796, allocations: 1.375 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.093e-05/0.3797, allocations: 10.25 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.3797, allocations: 6.094 kB / 0.5364 GB, free: 8.5 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.0001188/0.3798, allocations: 130.4 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.3798, allocations: 14.81 kB / 0.5366 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.3799, allocations: 19.58 kB / 0.5366 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.3799, allocations: 1.25 kB / 0.5366 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.3799, allocations: 4 kB / 0.5366 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3799, allocations: 5.031 kB / 0.5366 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.3804, allocations: 397.3 kB / 0.537 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.3805, allocations: 3.984 kB / 0.537 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.375e-05/0.3805, allocations: 7.844 kB / 0.537 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.3805, allocations: 5.438 kB / 0.537 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.3805, allocations: 6.438 kB / 0.537 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3805, allocations: 0 / 0.537 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3805, allocations: 9.406 kB / 0.537 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.3808, allocations: 200.9 kB / 0.5372 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.3809, allocations: 97.06 kB / 0.5373 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.3809, allocations: 5.719 kB / 0.5373 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.947e-05/0.381, allocations: 1.25 kB / 0.5373 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.3811, allocations: 11.33 kB / 0.5373 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.3811, allocations: 7.875 kB / 0.5373 GB, free: 7.641 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001796/0.3813, allocations: 169.3 kB / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3813, allocations: 0 / 0.5375 GB, free: 7.531 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.3815, allocations: 25.92 kB / 0.5375 GB, free: 7.523 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.002269/0.3838, allocations: 1.101 MB / 0.5386 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.3841, allocations: 57.19 kB / 0.5386 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3841, allocations: 1.125 kB / 0.5387 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.764e-05/0.3842, allocations: 32.8 kB / 0.5387 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00041/0.3846, allocations: 33.8 kB / 0.5387 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.387, allocations: 1.745 MB / 0.5404 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.3874, allocations: 0.7134 MB / 0.5411 GB, free: 4.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.99e-05/0.3874, allocations: 14.72 kB / 0.5411 GB, free: 4.395 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.523e-05/0.3875, allocations: 38.86 kB / 0.5412 GB, free: 4.363 MB / 398.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3875, allocations: 0.9688 kB / 0.5412 GB, free: 4.363 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/0.4137, allocations: 3.632 MB / 0.5447 GB, free: 2.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.402, allocations: 12.72 kB / 0.5447 GB, free: 2.414 MB / 398.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52_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_Test52.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1)