Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_4_0_0_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 4.0.0+maint.om/package.mo): time 0.0009761/0.0009761, allocations: 171 kB / 8.514 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.129/1.129, allocations: 221.4 MB / 230.3 MB, free: 7.699 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000907/0.000907, allocations: 90.22 kB / 281.2 MB, free: 5.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1579/0.1579, allocations: 44.14 MB / 376.1 MB, free: 3.227 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1757/0.3337, allocations: 68.02 MB / 444.1 MB, free: 15.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.4261, allocations: 61.92 MB / 0.4942 GB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2618/0.688, allocations: 100.2 MB / 0.592 GB, free: 12.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.6882, allocations: 71.97 kB / 0.5921 GB, free: 12.41 MB / 410.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.1386/0.8268, allocations: 49.55 MB / 0.6405 GB, free: 10.74 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.8269, allocations: 11.94 kB / 0.6405 GB, free: 10.73 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000391/0.8273, allocations: 110.7 kB / 0.6406 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.829, allocations: 0.7723 MB / 0.6414 GB, free: 9.793 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.829, allocations: 11.91 kB / 0.6414 GB, free: 9.781 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.8292, allocations: 55.89 kB / 0.6414 GB, free: 9.727 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000617/0.8298, allocations: 365.3 kB / 0.6418 GB, free: 9.371 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009751/0.8308, allocations: 0.6963 MB / 0.6425 GB, free: 8.562 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.8308, allocations: 0 / 0.6425 GB, free: 8.562 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.699e-05/0.8309, allocations: 4 kB / 0.6425 GB, free: 8.559 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.8309, allocations: 8 kB / 0.6425 GB, free: 8.551 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/0.8334, allocations: 1.306 MB / 0.6437 GB, free: 7.203 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/0.8348, allocations: 0.8133 MB / 0.6445 GB, free: 6.375 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.8352, allocations: 274 kB / 0.6448 GB, free: 6.098 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.8353, allocations: 9.281 kB / 0.6448 GB, free: 6.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.8353, allocations: 54.78 kB / 0.6449 GB, free: 6.027 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 2.525e-06/0.8353, allocations: 4 kB / 0.6449 GB, free: 6.023 MB / 458.7 MB Notification: Performance of matching and sorting (n=53): time 0.001151/0.8365, allocations: 0.6801 MB / 0.6455 GB, free: 5.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003139/0.8368, allocations: 0.6725 MB / 0.6462 GB, free: 4.508 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008879/0.8377, allocations: 0.6889 MB / 0.6469 GB, free: 3.797 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.671e-05/0.8378, allocations: 25.7 kB / 0.6469 GB, free: 3.766 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001901/0.838, allocations: 241.3 kB / 0.6471 GB, free: 3.523 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.8381, allocations: 204.9 kB / 0.6473 GB, free: 3.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.8382, allocations: 3.938 kB / 0.6473 GB, free: 3.316 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.8384, allocations: 418.7 kB / 0.6477 GB, free: 2.898 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000781/0.8392, allocations: 0.5652 MB / 0.6483 GB, free: 2.332 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.8402, allocations: 0.793 MB / 0.649 GB, free: 1.465 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.8414, allocations: 0.6743 MB / 0.6497 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.8414, allocations: 3.938 kB / 0.6497 GB, free: 0.793 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003179/0.8446, allocations: 1.915 MB / 0.6516 GB, free: 14.83 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.8446, allocations: 4 kB / 0.6516 GB, free: 14.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.045e-05/0.8447, allocations: 31.97 kB / 0.6516 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.8461, allocations: 493.8 kB / 0.6521 GB, free: 14.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/0.8467, allocations: 135.9 kB / 0.6522 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.8468, allocations: 7.906 kB / 0.6522 GB, free: 14.13 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004683/0.8472, allocations: 110.4 kB / 0.6523 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.8474, allocations: 40 kB / 0.6524 GB, free: 13.98 MB / 474.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.0001875/0.8475, allocations: 124.8 kB / 0.6525 GB, free: 13.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.8477, allocations: 90.78 kB / 0.6526 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.8479, allocations: 101.2 kB / 0.6527 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.848, allocations: 4 kB / 0.6527 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.848, allocations: 0 / 0.6527 GB, free: 13.66 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.848, allocations: 7.984 kB / 0.6527 GB, free: 13.65 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007714/0.8488, allocations: 0.5721 MB / 0.6532 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.8488, allocations: 0 / 0.6532 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007883/0.8496, allocations: 103.9 kB / 0.6533 GB, free: 12.94 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.8496, allocations: 7.938 kB / 0.6533 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/0.8497, allocations: 23.98 kB / 0.6534 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.8497, allocations: 0 / 0.6534 GB, free: 12.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.8497, allocations: 4 kB / 0.6534 GB, free: 12.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001441/0.8511, allocations: 1.137 MB / 0.6545 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002114/0.8532, allocations: 1.922 MB / 0.6563 GB, free: 9.812 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.8534, allocations: 155.9 kB / 0.6565 GB, free: 9.641 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.8536, allocations: 27.97 kB / 0.6565 GB, free: 9.613 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.8539, allocations: 15.98 kB / 0.6565 GB, free: 9.598 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.723e-05/0.854, allocations: 32.3 kB / 0.6566 GB, free: 9.566 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.251e-05/0.8541, allocations: 19.98 kB / 0.6566 GB, free: 9.547 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0005916/0.8547, allocations: 491.6 kB / 0.6571 GB, free: 9.055 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002973/0.8577, allocations: 0.7729 MB / 0.6578 GB, free: 8.281 MB / 474.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.002367/0.86, allocations: 0.7277 MB / 0.6585 GB, free: 7.551 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002982/0.863, allocations: 2.63 MB / 0.6611 GB, free: 4.578 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8631, allocations: 0 / 0.6611 GB, free: 4.578 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000436/0.8635, allocations: 325.5 kB / 0.6614 GB, free: 4.258 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008934/0.8644, allocations: 171.5 kB / 0.6616 GB, free: 4.098 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.8675, allocations: 1.902 MB / 0.6634 GB, free: 2.145 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001047/0.8685, allocations: 1.227 MB / 0.6646 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of SimCode: time 1.683e-06/0.8685, allocations: 0 / 0.6646 GB, free: 0.8945 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1)