Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01023/0.01023, allocations: 173.6 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.122/2.122, allocations: 194.5 MB / 210.3 MB, free: 8.773 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00204/0.002039, allocations: 112.6 kB / 255.6 MB, free: 11.4 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2552/0.2552, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004661, allocations: 12.31 kB / 406.3 MB, free: 52.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0969/0.09742, allocations: 54.88 MB / 461.1 MB, free: 3.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4795/0.577, allocations: 95.02 MB / 0.5431 GB, free: 21.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/0.5773, allocations: 70.44 kB / 0.5432 GB, free: 21.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2128/0.7902, allocations: 48.54 MB / 0.5906 GB, free: 6.086 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.7902, allocations: 0 / 0.5906 GB, free: 6.086 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001201/0.7904, allocations: 39.31 kB / 0.5906 GB, free: 6.066 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.004858/0.7952, allocations: 1.38 MB / 0.592 GB, free: 5.152 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.7953, allocations: 7.781 kB / 0.592 GB, free: 5.152 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002471/0.7956, allocations: 83.09 kB / 0.5921 GB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003043/0.7959, allocations: 109.1 kB / 0.5922 GB, free: 5.047 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00217/0.7981, allocations: 0.7649 MB / 0.5929 GB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.764e-05/0.7981, allocations: 37.31 kB / 0.5929 GB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.7983, allocations: 78.8 kB / 0.593 GB, free: 4.578 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.7998, allocations: 0.7435 MB / 0.5937 GB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.7998, allocations: 0 / 0.5937 GB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.72e-05/0.7999, allocations: 18.31 kB / 0.5938 GB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.8, allocations: 7.938 kB / 0.5938 GB, free: 4.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009497/0.8009, allocations: 376.5 kB / 0.5941 GB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/0.8049, allocations: 1.39 MB / 0.5955 GB, free: 3.367 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002241/0.8071, allocations: 0.8397 MB / 0.5963 GB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.35e-05/0.8072, allocations: 4.312 kB / 0.5963 GB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.8073, allocations: 53.64 kB / 0.5964 GB, free: 3.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 3.496e-06/0.8073, allocations: 7.875 kB / 0.5964 GB, free: 3.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.002512/0.8098, allocations: 0.9703 MB / 0.5973 GB, free: 2.891 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001905/0.81, allocations: 0.668 MB / 0.598 GB, free: 2.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.8113, allocations: 0.7344 MB / 0.5987 GB, free: 1.793 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002009/0.8115, allocations: 51.77 kB / 0.5987 GB, free: 1.758 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003138/0.8119, allocations: 364 kB / 0.5991 GB, free: 1.602 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.8121, allocations: 212.8 kB / 0.5993 GB, free: 1.449 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.139e-05/0.8122, allocations: 15.66 kB / 0.5993 GB, free: 1.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.8124, allocations: 418.4 kB / 0.5997 GB, free: 1.102 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.8136, allocations: 0.5667 MB / 0.6003 GB, free: 1.012 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.8151, allocations: 0.8064 MB / 0.601 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001407/0.8165, allocations: 0.6779 MB / 0.6017 GB, free: 0.582 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/0.8165, allocations: 0 / 0.6017 GB, free: 0.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004578/0.8211, allocations: 1.875 MB / 0.6035 GB, free: 72 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.8212, allocations: 3.875 kB / 0.6035 GB, free: 72 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.987e-05/0.8213, allocations: 31.09 kB / 0.6036 GB, free: 60 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002438/0.8238, allocations: 497.7 kB / 0.604 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/0.8249, allocations: 148.8 kB / 0.6042 GB, free: 15.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0187/0.8437, allocations: 17.06 MB / 0.6208 GB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.8447, allocations: 124.7 kB / 0.621 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.8449, allocations: 38.67 kB / 0.621 GB, free: 15.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (93): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007033/0.8456, allocations: 288.4 kB / 0.6213 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.8458, allocations: 89.12 kB / 0.6214 GB, free: 15.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.846, allocations: 97.16 kB / 0.6215 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.8461, allocations: 7.859 kB / 0.6215 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.8461, allocations: 3.953 kB / 0.6215 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.8461, allocations: 3.875 kB / 0.6215 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.8472, allocations: 0.6383 MB / 0.6221 GB, free: 15.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.8472, allocations: 7.938 kB / 0.6221 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.8487, allocations: 107.9 kB / 0.6222 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.8488, allocations: 0 / 0.6222 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.8489, allocations: 33.22 kB / 0.6222 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.8489, allocations: 4 kB / 0.6222 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8489, allocations: 0 / 0.6222 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002626/0.8515, allocations: 1.154 MB / 0.6234 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002475/0.8518, allocations: 155.9 kB / 0.6235 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/0.852, allocations: 38.16 kB / 0.6235 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006719/0.8527, allocations: 35.09 kB / 0.6236 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.8529, allocations: 35.89 kB / 0.6236 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.85e-05/0.853, allocations: 15.23 kB / 0.6236 GB, free: 14.35 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001107/0.8541, allocations: 0.5267 MB / 0.6241 GB, free: 13.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8541, allocations: 0 / 0.6241 GB, free: 13.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003777/0.8579, allocations: 0.8137 MB / 0.6249 GB, free: 13.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 36 (CriticalDamping_a.x[1],CriticalDamping_a.x[2],CriticalDamping_a.x[3],CriticalDamping_b.x[1],CriticalDamping_b.x[2],CriticalDamping_b.x[3],CriticalDamping_b.x[4],CriticalDamping_b.x[5],CriticalDamping_b.x[6],Bessel_a.x[1],Bessel_a.x[2],Bessel_a.x[3],Bessel_b.x[1],Bessel_b.x[2],Bessel_b.x[3],Bessel_b.x[4],Bessel_b.x[5],Bessel_b.x[6],Butterworth_a.x[1],Butterworth_a.x[2],Butterworth_a.x[3],Butterworth_b.x[1],Butterworth_b.x[2],Butterworth_b.x[3],Butterworth_b.x[4],Butterworth_b.x[5],Butterworth_b.x[6],ChebyshevI_a.x[1],ChebyshevI_a.x[2],ChebyshevI_a.x[3],ChebyshevI_b.x[1],ChebyshevI_b.x[2],ChebyshevI_b.x[3],ChebyshevI_b.x[4],ChebyshevI_b.x[5],ChebyshevI_b.x[6]) * 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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006108/0.864, allocations: 2.348 MB / 0.6272 GB, free: 11.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006521/0.8706, allocations: 2.997 MB / 0.6302 GB, free: 8.203 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.8707, allocations: 0 / 0.6302 GB, free: 8.203 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009301/0.8716, allocations: 337.2 kB / 0.6305 GB, free: 7.949 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.873, allocations: 184.6 kB / 0.6307 GB, free: 7.809 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007476/0.8805, allocations: 3.307 MB / 0.6339 GB, free: 4.699 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.8816, allocations: 1.101 MB / 0.635 GB, free: 3.594 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008129/0.8824, allocations: 165.2 kB / 0.6351 GB, free: 3.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006627/0.8831, allocations: 343.6 kB / 0.6354 GB, free: 3.344 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/0.8831, allocations: 0 / 0.6354 GB, free: 3.344 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08824/0.9714, allocations: 27.87 MB / 0.6627 GB, free: 7.594 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003371/0.9718, allocations: 228.6 kB / 0.6629 GB, free: 7.352 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.592/4.564, allocations: 0 / 0.6629 GB, free: 7.352 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic_res.mat does not exist to compare? outputFormat=mat