Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.FilterTests.Basic,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 189.1 kB / 7.805 MB, free: 2.453 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009479/0.0009479, allocations: 96.27 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1834/0.1834, allocations: 43.48 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1964/0.3799, allocations: 64.97 MB / 417.8 MB, free: 40.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.6799, allocations: 58.84 MB / 476.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1499/0.8299, allocations: 99.18 MB / 0.5623 GB, free: 15.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/0.8302, allocations: 67.91 kB / 0.5624 GB, free: 15.65 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.1442/0.9744, allocations: 49.35 MB / 0.6106 GB, free: 14.19 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.9745, allocations: 12 kB / 0.6106 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004937/0.975, allocations: 106.7 kB / 0.6107 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001966/0.9769, allocations: 0.7801 MB / 0.6115 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.826e-05/0.977, allocations: 15.91 kB / 0.6115 GB, free: 13.22 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002792/0.9773, allocations: 43.91 kB / 0.6115 GB, free: 13.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007913/0.9781, allocations: 361.4 kB / 0.6119 GB, free: 12.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.9794, allocations: 0.6999 MB / 0.6126 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.9794, allocations: 0 / 0.6126 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.484e-05/0.9795, allocations: 4 kB / 0.6126 GB, free: 12.01 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.9795, allocations: 8 kB / 0.6126 GB, free: 12 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003526/0.9831, allocations: 1.306 MB / 0.6138 GB, free: 10.65 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.9846, allocations: 0.8136 MB / 0.6146 GB, free: 9.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.985, allocations: 282 kB / 0.6149 GB, free: 9.543 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.665e-05/0.985, allocations: 4.438 kB / 0.6149 GB, free: 9.539 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.9851, allocations: 46.94 kB / 0.6149 GB, free: 9.484 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 2.825e-06/0.9851, allocations: 0 / 0.6149 GB, free: 9.484 MB / 458.7 MB Notification: Performance of matching and sorting (n=53): time 0.001199/0.9863, allocations: 0.6878 MB / 0.6156 GB, free: 8.785 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003384/0.9866, allocations: 0.6687 MB / 0.6163 GB, free: 7.957 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.9877, allocations: 0.6928 MB / 0.617 GB, free: 7.242 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.341e-05/0.9878, allocations: 29.7 kB / 0.617 GB, free: 7.207 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.988, allocations: 237.2 kB / 0.6172 GB, free: 6.969 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.9882, allocations: 212.8 kB / 0.6174 GB, free: 6.758 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.9882, allocations: 0 / 0.6174 GB, free: 6.758 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.9884, allocations: 418.7 kB / 0.6178 GB, free: 6.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008352/0.9893, allocations: 0.5613 MB / 0.6184 GB, free: 5.777 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.9903, allocations: 0.789 MB / 0.6191 GB, free: 4.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.9917, allocations: 0.6859 MB / 0.6198 GB, free: 4.227 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.9917, allocations: 0 / 0.6198 GB, free: 4.227 MB / 458.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003603/0.9953, allocations: 1.919 MB / 0.6217 GB, free: 2.262 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.9954, allocations: 4 kB / 0.6217 GB, free: 2.258 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.522e-05/0.9954, allocations: 23.97 kB / 0.6217 GB, free: 2.234 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001407/0.9969, allocations: 497.8 kB / 0.6222 GB, free: 1.711 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.9975, allocations: 139.9 kB / 0.6223 GB, free: 1.574 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.9975, allocations: 7.906 kB / 0.6223 GB, free: 1.566 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005572/0.9981, allocations: 106.5 kB / 0.6224 GB, free: 1.461 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.9982, allocations: 35.98 kB / 0.6224 GB, free: 1.426 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.0002345/0.9984, allocations: 130.2 kB / 0.6226 GB, free: 1.293 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.9986, allocations: 86.78 kB / 0.6227 GB, free: 1.207 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.9989, allocations: 93.19 kB / 0.6227 GB, free: 1.113 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.9989, allocations: 4 kB / 0.6227 GB, free: 1.109 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.9989, allocations: 3.984 kB / 0.6228 GB, free: 1.105 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.999, allocations: 4 kB / 0.6228 GB, free: 1.102 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008815/0.9998, allocations: 0.572 MB / 0.6233 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.9999, allocations: 4 kB / 0.6233 GB, free: 500 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007801/1.001, allocations: 103.9 kB / 0.6234 GB, free: 396 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/1.001, allocations: 0 / 0.6234 GB, free: 396 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.406e-05/1.001, allocations: 31.97 kB / 0.6234 GB, free: 364 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/1.001, allocations: 0 / 0.6234 GB, free: 364 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/1.001, allocations: 4 kB / 0.6235 GB, free: 360 kB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001567/1.002, allocations: 1.133 MB / 0.6246 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002198/1.005, allocations: 1.926 MB / 0.6264 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/1.005, allocations: 159.8 kB / 0.6266 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/1.005, allocations: 27.98 kB / 0.6266 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000397/1.005, allocations: 23.88 kB / 0.6266 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/1.005, allocations: 28.39 kB / 0.6267 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/1.006, allocations: 12 kB / 0.6267 GB, free: 12.99 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0006852/1.006, allocations: 495.6 kB / 0.6272 GB, free: 12.49 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003763/1.01, allocations: 0.7691 MB / 0.6279 GB, free: 11.72 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.002918/1.013, allocations: 0.7338 MB / 0.6286 GB, free: 10.98 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003333/1.016, allocations: 2.622 MB / 0.6312 GB, free: 8.02 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.016, allocations: 4 kB / 0.6312 GB, free: 8.016 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000475/1.017, allocations: 321.5 kB / 0.6315 GB, free: 7.695 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/1.018, allocations: 171.1 kB / 0.6317 GB, free: 7.527 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/1.022, allocations: 1.886 MB / 0.6335 GB, free: 5.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/1.023, allocations: 1.238 MB / 0.6347 GB, free: 4.328 MB / 474.7 MB Notification: Performance of SimCode: time 1.162e-06/1.023, allocations: 0 / 0.6347 GB, free: 4.328 MB / 474.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic_fmu --startTime=0 --stopTime=0.9 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_FilterTests_Basic.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1)