Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.conf.json 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/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001/0.001, allocations: 206.2 kB / 8.543 MB, free: 1.809 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.181/1.181, allocations: 225.5 MB / 234.4 MB, free: 3.332 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008387/0.0008388, allocations: 93.62 kB / 286.3 MB, free: 5.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1727/0.1727, allocations: 45.14 MB / 383.4 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2044/0.3771, allocations: 69.37 MB / 452.7 MB, free: 76.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09177/0.4689, allocations: 63.24 MB / 0.5039 GB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2845/0.7535, allocations: 101.2 MB / 0.6027 GB, free: 2.105 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.7537, allocations: 67.53 kB / 0.6028 GB, free: 2.074 MB / 394.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.1353/0.889, allocations: 49.7 MB / 0.6513 GB, free: 7.062 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.8891, allocations: 8 kB / 0.6514 GB, free: 7.055 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.8893, allocations: 107.3 kB / 0.6515 GB, free: 6.949 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.8907, allocations: 0.7852 MB / 0.6522 GB, free: 6.211 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.8907, allocations: 8 kB / 0.6522 GB, free: 6.203 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.8908, allocations: 47.03 kB / 0.6523 GB, free: 6.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000552/0.8914, allocations: 363.6 kB / 0.6526 GB, free: 5.906 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008486/0.8922, allocations: 0.7033 MB / 0.6533 GB, free: 5.207 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.8923, allocations: 0 / 0.6533 GB, free: 5.207 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.611e-05/0.8923, allocations: 3.938 kB / 0.6533 GB, free: 5.203 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.8923, allocations: 11.91 kB / 0.6533 GB, free: 5.191 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.8945, allocations: 1.315 MB / 0.6546 GB, free: 4.082 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.8958, allocations: 0.8093 MB / 0.6554 GB, free: 3.461 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003421/0.8961, allocations: 274 kB / 0.6557 GB, free: 3.27 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.8962, allocations: 4.438 kB / 0.6557 GB, free: 3.266 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.8962, allocations: 49.75 kB / 0.6557 GB, free: 3.211 MB / 442.7 MB Notification: Performance of pre-optimization done (n=53): time 1.723e-06/0.8962, allocations: 0 / 0.6557 GB, free: 3.211 MB / 442.7 MB Notification: Performance of matching and sorting (n=53): time 0.00101/0.8972, allocations: 0.6884 MB / 0.6564 GB, free: 2.656 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000234/0.8975, allocations: 0.6679 MB / 0.657 GB, free: 1.832 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/0.8982, allocations: 0.688 MB / 0.6577 GB, free: 1.277 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.164e-05/0.8982, allocations: 29.7 kB / 0.6577 GB, free: 1.242 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.8984, allocations: 236.6 kB / 0.658 GB, free: 1.051 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.8986, allocations: 213.8 kB / 0.6582 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.191e-05/0.8986, allocations: 0 / 0.6582 GB, free: 0.8711 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.8988, allocations: 419.2 kB / 0.6586 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007228/0.8995, allocations: 0.5636 MB / 0.6591 GB, free: 112 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008515/0.9004, allocations: 0.7932 MB / 0.6599 GB, free: 15.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.9014, allocations: 0.6746 MB / 0.6605 GB, free: 14.97 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.9015, allocations: 0 / 0.6605 GB, free: 14.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00305/0.9045, allocations: 1.921 MB / 0.6624 GB, free: 13.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.9045, allocations: 4 kB / 0.6624 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-05/0.9046, allocations: 23.97 kB / 0.6624 GB, free: 13.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.9059, allocations: 489.8 kB / 0.6629 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005806/0.9065, allocations: 151.8 kB / 0.6631 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.9066, allocations: 4 kB / 0.6631 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003671/0.9069, allocations: 106.5 kB / 0.6632 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.928e-05/0.907, allocations: 32 kB / 0.6632 GB, free: 12.24 MB / 458.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 () * 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): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 12 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.9072, allocations: 132.8 kB / 0.6633 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.9073, allocations: 90.78 kB / 0.6634 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.9075, allocations: 89.19 kB / 0.6635 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.9075, allocations: 12 kB / 0.6635 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.9075, allocations: 3.938 kB / 0.6635 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.9075, allocations: 3.984 kB / 0.6635 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006395/0.9082, allocations: 0.5759 MB / 0.6641 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9082, allocations: 4 kB / 0.6641 GB, free: 11.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007729/0.909, allocations: 95.89 kB / 0.6642 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.909, allocations: 7.984 kB / 0.6642 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-05/0.9091, allocations: 23.98 kB / 0.6642 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.9091, allocations: 4 kB / 0.6642 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9091, allocations: 0 / 0.6642 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001357/0.9105, allocations: 1.133 MB / 0.6653 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001972/0.9124, allocations: 1.929 MB / 0.6672 GB, free: 8.051 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.9126, allocations: 155.9 kB / 0.6673 GB, free: 7.879 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.9127, allocations: 27.97 kB / 0.6674 GB, free: 7.852 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.9131, allocations: 19.89 kB / 0.6674 GB, free: 7.832 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.057e-05/0.9132, allocations: 24.39 kB / 0.6674 GB, free: 7.809 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.346e-05/0.9132, allocations: 15.98 kB / 0.6674 GB, free: 7.793 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0005671/0.9138, allocations: 0.4918 MB / 0.6679 GB, free: 7.285 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003173/0.917, allocations: 0.7769 MB / 0.6687 GB, free: 6.508 MB / 458.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 () * 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.001591/0.9186, allocations: 0.7368 MB / 0.6694 GB, free: 5.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003022/0.9216, allocations: 2.63 MB / 0.672 GB, free: 2.797 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.9216, allocations: 4 kB / 0.672 GB, free: 2.793 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.9221, allocations: 321.5 kB / 0.6723 GB, free: 2.48 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008375/0.9229, allocations: 189.2 kB / 0.6724 GB, free: 2.301 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00283/0.9258, allocations: 1.89 MB / 0.6743 GB, free: 368 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009745/0.9268, allocations: 1.231 MB / 0.6755 GB, free: 15.11 MB / 474.7 MB Notification: Performance of SimCode: time 2.6e-07/0.9268, allocations: 0 / 0.6755 GB, free: 15.11 MB / 474.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1)