Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001246/0.001246, allocations: 105.8 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 220.5 kB / 22.92 MB, free: 5.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 230.2 MB / 256.2 MB, free: 8.746 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2083/0.2083, allocations: 46.89 MB / 359.3 MB, free: 4.98 MB / 286.1 MB " [Timeout remaining time 180] 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.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Exponentiation,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Exponentiation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002177/0.002177, allocations: 83.86 kB / 0.494 GB, free: 9.113 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2788, allocations: 65.98 MB / 0.5584 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Exponentiation): time 0.002607/0.2814, allocations: 1.7 MB / 0.5601 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002293/0.2817, allocations: 75.69 kB / 0.5601 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.923e-05/0.2817, allocations: 4 kB / 0.5601 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 3.5e-05/0.2818, allocations: 7.875 kB / 0.5602 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.221e-05/0.2818, allocations: 11.81 kB / 0.5602 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.282, allocations: 35.95 kB / 0.5602 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001195/0.2821, allocations: 79.83 kB / 0.5603 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.2822, allocations: 39.2 kB / 0.5603 GB, free: 3.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.624e-05/0.2823, allocations: 35.8 kB / 0.5603 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.2824, allocations: 39.77 kB / 0.5604 GB, free: 3.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.2824, allocations: 12 kB / 0.5604 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.458e-05/0.2824, allocations: 8 kB / 0.5604 GB, free: 3.051 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.2824, allocations: 19.92 kB / 0.5604 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.2825, allocations: 39.73 kB / 0.5605 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.2826, allocations: 75.59 kB / 0.5605 GB, free: 2.918 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2826, allocations: 0 / 0.5605 GB, free: 2.918 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2826, allocations: 0 / 0.5605 GB, free: 2.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2826, allocations: 0 / 0.5605 GB, free: 2.918 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005109/0.2831, allocations: 403.2 kB / 0.5609 GB, free: 2.473 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.2831, allocations: 12.03 kB / 0.5609 GB, free: 2.461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.2832, allocations: 42.73 kB / 0.561 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.2832, allocations: 12.84 kB / 0.561 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.2835, allocations: 212.1 kB / 0.5612 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.2835, allocations: 4.562 kB / 0.5612 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.2835, allocations: 12.38 kB / 0.5612 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/0.2838, allocations: 127.3 kB / 0.5613 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.2838, allocations: 0 / 0.5613 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.2838, allocations: 4 kB / 0.5613 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2838, allocations: 4 kB / 0.5613 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.284, allocations: 75.89 kB / 0.5614 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.2846, allocations: 448.8 kB / 0.5618 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.2848, allocations: 78.42 kB / 0.5619 GB, free: 1.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.2849, allocations: 32.86 kB / 0.5619 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.2849, allocations: 3.984 kB / 0.5619 GB, free: 1.301 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.2849, allocations: 42.56 kB / 0.562 GB, free: 1.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.2849, allocations: 0 / 0.562 GB, free: 1.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004065/0.2853, allocations: 121.8 kB / 0.5621 GB, free: 1.125 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.2854, allocations: 51.41 kB / 0.5621 GB, free: 1.062 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.2855, allocations: 134 kB / 0.5623 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.2855, allocations: 25.7 kB / 0.5623 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.475e-05/0.2856, allocations: 112.3 kB / 0.5624 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.2856, allocations: 27.73 kB / 0.5624 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.2857, allocations: 25.66 kB / 0.5625 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2858, allocations: 318.8 kB / 0.5628 GB, free: 404 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.2859, allocations: 27.98 kB / 0.5628 GB, free: 376 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.286, allocations: 41.69 kB / 0.5628 GB, free: 328 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.2862, allocations: 73.67 kB / 0.5629 GB, free: 248 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2862, allocations: 3.938 kB / 0.5629 GB, free: 244 kB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002587/0.2865, allocations: 105.5 kB / 0.563 GB, free: 132 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.2865, allocations: 8 kB / 0.563 GB, free: 124 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.2865, allocations: 4 kB / 0.563 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.2865, allocations: 4.031 kB / 0.563 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.2866, allocations: 19.98 kB / 0.563 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.2866, allocations: 7.875 kB / 0.563 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.271e-05/0.2867, allocations: 15.92 kB / 0.5631 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.2867, allocations: 4 kB / 0.5631 GB, free: 68 kB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001012/0.2868, allocations: 117.8 kB / 0.5632 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.2868, allocations: 7.953 kB / 0.5632 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003355/0.2872, allocations: 118.3 kB / 0.5633 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2872, allocations: 0 / 0.5633 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.2872, allocations: 0 / 0.5633 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2872, allocations: 192 / 0.5633 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.2874, allocations: 201.5 kB / 0.5635 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2874, allocations: 3.938 kB / 0.5635 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.131e-05/0.2875, allocations: 23.92 kB / 0.5635 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2875, allocations: 0 / 0.5635 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.2875, allocations: 4 kB / 0.5635 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2875, allocations: 0 / 0.5635 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2875, allocations: 4 kB / 0.5635 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002992/0.2878, allocations: 203.8 kB / 0.5637 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.547e-05/0.2879, allocations: 85.06 kB / 0.5638 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.2879, allocations: 0 / 0.5638 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.186e-05/0.288, allocations: 4 kB / 0.5638 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.288, allocations: 11.98 kB / 0.5638 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.288, allocations: 7.938 kB / 0.5638 GB, free: 15.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.829e-05/0.2881, allocations: 99.2 kB / 0.5639 GB, free: 15.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2881, allocations: 0 / 0.5639 GB, free: 15.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002354/0.2883, allocations: 16 kB / 0.5639 GB, free: 15.07 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0005868/0.2889, allocations: 0.732 MB / 0.5646 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000253/0.2891, allocations: 67.89 kB / 0.5647 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2891, allocations: 0 / 0.5647 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.2893, allocations: 35.95 kB / 0.5647 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.2895, allocations: 15.17 kB / 0.5648 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.2912, allocations: 1.504 MB / 0.5662 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.2915, allocations: 0.6963 MB / 0.5669 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.588e-05/0.2916, allocations: 12.42 kB / 0.5669 GB, free: 11.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.2916, allocations: 27.42 kB / 0.5669 GB, free: 11.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2916, allocations: 0 / 0.5669 GB, free: 11.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.3142, allocations: 1.965 MB / 0.5689 GB, free: 9.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.042/7.356, allocations: 16 kB / 0.5689 GB, free: 9.941 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation_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_Blocks_Exponentiation.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Exponentiation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.850845515000401]