Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002013/0.002013, allocations: 118.8 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.002434/0.002433, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.495/1.495, allocations: 227.7 MB / 247.2 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.001795/0.001795, allocations: 67.89 kB / 358.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2751, allocations: 50.56 MB / 409.1 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.CompareSincExpSine): time 0.002666/0.2778, allocations: 1.515 MB / 410.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008506/0.2787, allocations: 0.4894 MB / 411.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.2787, allocations: 4 kB / 411.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.217e-05/0.2788, allocations: 3.938 kB / 411.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.859e-05/0.2789, allocations: 23.8 kB / 411.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.2791, allocations: 39.88 kB / 411.1 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.2792, allocations: 67.72 kB / 411.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.2793, allocations: 4.188 kB / 411.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.2795, allocations: 43.84 kB / 411.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.592e-05/0.2796, allocations: 35.83 kB / 411.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.2796, allocations: 4 kB / 411.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.568e-05/0.2796, allocations: 16 kB / 411.3 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.2797, allocations: 15.97 kB / 411.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.2797, allocations: 23.81 kB / 411.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.2799, allocations: 70.81 kB / 411.4 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2799, allocations: 0 / 411.4 MB, free: 15 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.2799, allocations: 0 / 411.4 MB, free: 15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.2799, allocations: 3.938 kB / 411.4 MB, free: 15 MB / 334.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.0006809/0.2806, allocations: 395.1 kB / 411.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.2806, allocations: 8.031 kB / 411.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/0.2807, allocations: 38.73 kB / 411.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000305/0.281, allocations: 32.86 kB / 411.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.2813, allocations: 176.3 kB / 412.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.2813, allocations: 384 / 412.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.2813, allocations: 4.375 kB / 412.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.2816, allocations: 88.16 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.2816, allocations: 7.938 kB / 412.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.2816, allocations: 0 / 412.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2816, allocations: 0 / 412.2 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002705/0.2819, allocations: 55.94 kB / 412.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.2821, allocations: 199.3 kB / 412.4 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.2824, allocations: 99.73 kB / 412.5 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.2826, allocations: 54.61 kB / 412.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.2826, allocations: 11.86 kB / 412.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.2827, allocations: 34.56 kB / 412.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2827, allocations: 0 / 412.6 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000562/0.2832, allocations: 141.5 kB / 412.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.2833, allocations: 102.8 kB / 412.8 MB, free: 13.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.2835, allocations: 129.8 kB / 413 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.2835, allocations: 26.08 kB / 413 MB, free: 13.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.2835, allocations: 96.14 kB / 413.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.2836, allocations: 15.89 kB / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.216e-05/0.2836, allocations: 13.72 kB / 413.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.2838, allocations: 322.8 kB / 413.4 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.284, allocations: 27.97 kB / 413.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.2841, allocations: 50.55 kB / 413.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.2844, allocations: 82.45 kB / 413.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2844, allocations: 3.938 kB / 413.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003378/0.2848, allocations: 121.5 kB / 413.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2848, allocations: 7.281 kB / 413.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.2848, allocations: 0 / 413.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.2848, allocations: 4 kB / 413.7 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.285, allocations: 19.97 kB / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.169e-06/0.285, allocations: 96 / 413.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.469e-05/0.2851, allocations: 15.98 kB / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.2851, allocations: 0 / 413.8 MB, free: 12.36 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 9.688e-05/0.2852, allocations: 117.8 kB / 413.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.2852, allocations: 11.98 kB / 413.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.607e-05/0.2853, allocations: 23.8 kB / 413.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2853, allocations: 0 / 413.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2853, allocations: 0 / 413.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2853, allocations: 0 / 413.9 MB, free: 12.2 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001623/0.2855, allocations: 185.5 kB / 414.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2855, allocations: 0 / 414.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.2856, allocations: 23.91 kB / 414.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2856, allocations: 4 kB / 414.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.2856, allocations: 4 kB / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2856, allocations: 0 / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2856, allocations: 0 / 414.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003896/0.286, allocations: 146.7 kB / 414.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.2861, allocations: 88.98 kB / 414.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.2861, allocations: 4 kB / 414.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.2862, allocations: 7.984 kB / 414.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.2863, allocations: 11.94 kB / 414.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.2863, allocations: 7.984 kB / 414.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.64e-05/0.2864, allocations: 99.27 kB / 414.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2864, allocations: 0 / 414.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001945/0.2866, allocations: 8 kB / 414.5 MB, free: 11.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0006858/0.2873, allocations: 0.6726 MB / 415.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003527/0.2876, allocations: 79.98 kB / 415.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2876, allocations: 0 / 415.2 MB, free: 10.74 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.2878, allocations: 39.91 kB / 415.3 MB, free: 10.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001679/0.288, allocations: 7.984 kB / 415.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.2901, allocations: 1.456 MB / 416.7 MB, free: 9.133 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.2904, allocations: 0.6885 MB / 417.4 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.811e-05/0.2905, allocations: 4 kB / 417.4 MB, free: 8.414 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.2905, allocations: 23.42 kB / 417.5 MB, free: 8.391 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2905, allocations: 4 kB / 417.5 MB, free: 8.387 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02181/0.3124, allocations: 1.759 MB / 419.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.847/8.16, allocations: 14.52 kB / 419.2 MB, free: 6.707 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0-beta_om_Modelica_Blocks_Examples_CompareSincExpSine.fmu > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.CompareSincExpSine.pipe 2>&1)