Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic") translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic") [: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.1+maint.om/package.mo): time 0.00416/0.00416, allocations: 173.2 kB / 7.449 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.252/1.252, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001612/0.001612, allocations: 113 kB / 217.7 MB, free: 8.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1948/0.1948, allocations: 37.97 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.254e-06/7.594e-06, allocations: 1.906 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 48.7 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3231/0.4272, allocations: 87.93 MB / 486.1 MB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/0.4275, allocations: 69.06 kB / 486.2 MB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1358/0.5634, allocations: 48.13 MB / 0.5218 GB, free: 11.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002213/0.5636, allocations: 40.25 kB / 0.5218 GB, free: 11.22 MB / 346.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.006141/0.5698, allocations: 1.215 MB / 0.523 GB, free: 10.1 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.5699, allocations: 8.031 kB / 0.523 GB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007753/0.5707, allocations: 106.7 kB / 0.5231 GB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.5731, allocations: 0.7843 MB / 0.5239 GB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/0.5731, allocations: 11.91 kB / 0.5239 GB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/0.5735, allocations: 55.58 kB / 0.524 GB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008042/0.5743, allocations: 363.4 kB / 0.5243 GB, free: 8.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.5755, allocations: 0.6898 MB / 0.525 GB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.5755, allocations: 0 / 0.525 GB, free: 8.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.972e-05/0.5756, allocations: 4 kB / 0.525 GB, free: 8.266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.5757, allocations: 8 kB / 0.525 GB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003349/0.579, allocations: 1.301 MB / 0.5263 GB, free: 7.164 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.5805, allocations: 0.8178 MB / 0.5271 GB, free: 6.531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003973/0.5809, allocations: 276.3 kB / 0.5273 GB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.003e-05/0.581, allocations: 8.438 kB / 0.5273 GB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.581, allocations: 41.81 kB / 0.5274 GB, free: 6.285 MB / 346.7 MB Notification: Performance of pre-optimization done (n=53): time 2.956e-06/0.581, allocations: 4 kB / 0.5274 GB, free: 6.281 MB / 346.7 MB Notification: Performance of matching and sorting (n=53): time 0.00146/0.5825, allocations: 0.6858 MB / 0.5281 GB, free: 5.727 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003635/0.5829, allocations: 0.671 MB / 0.5287 GB, free: 4.898 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.5841, allocations: 0.6904 MB / 0.5294 GB, free: 4.344 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000135/0.5843, allocations: 25.7 kB / 0.5294 GB, free: 4.312 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/0.5845, allocations: 242.2 kB / 0.5296 GB, free: 4.113 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002127/0.5848, allocations: 212.1 kB / 0.5298 GB, free: 3.934 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/0.5848, allocations: 0 / 0.5298 GB, free: 3.934 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002399/0.5851, allocations: 421.7 kB / 0.5302 GB, free: 3.559 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000876/0.586, allocations: 0.5607 MB / 0.5308 GB, free: 3.176 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.587, allocations: 0.7912 MB / 0.5316 GB, free: 2.516 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.5884, allocations: 0.681 MB / 0.5322 GB, free: 2.027 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.5884, allocations: 0 / 0.5322 GB, free: 2.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003728/0.5921, allocations: 1.924 MB / 0.5341 GB, free: 492 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.5922, allocations: 4 kB / 0.5341 GB, free: 488 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.492e-05/0.5923, allocations: 27.97 kB / 0.5341 GB, free: 460 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001379/0.5937, allocations: 495.5 kB / 0.5346 GB, free: 8 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006467/0.5943, allocations: 138.3 kB / 0.5347 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/0.5943, allocations: 7.906 kB / 0.5348 GB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00069/0.595, allocations: 106.5 kB / 0.5349 GB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.5952, allocations: 38.36 kB / 0.5349 GB, free: 15.73 MB / 362.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.0003118/0.5955, allocations: 120.8 kB / 0.535 GB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.5958, allocations: 94.77 kB / 0.5351 GB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.5962, allocations: 101.9 kB / 0.5352 GB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.5962, allocations: 4 kB / 0.5352 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.5962, allocations: 0 / 0.5352 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.5962, allocations: 0 / 0.5352 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.5975, allocations: 0.578 MB / 0.5358 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.5975, allocations: 4 kB / 0.5358 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/0.5984, allocations: 99.89 kB / 0.5359 GB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.5984, allocations: 4 kB / 0.5359 GB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.5985, allocations: 27.97 kB / 0.5359 GB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/0.5985, allocations: 4 kB / 0.5359 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.5985, allocations: 0 / 0.5359 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001798/0.6003, allocations: 1.141 MB / 0.537 GB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002266/0.6006, allocations: 155.9 kB / 0.5372 GB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.6008, allocations: 27.88 kB / 0.5372 GB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004244/0.6012, allocations: 19.84 kB / 0.5372 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.6013, allocations: 28.39 kB / 0.5372 GB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-05/0.6014, allocations: 23.98 kB / 0.5373 GB, free: 13.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0008343/0.6022, allocations: 491.6 kB / 0.5377 GB, free: 12.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003576/0.6058, allocations: 0.7573 MB / 0.5385 GB, free: 12.06 MB / 362.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.004172/0.61, allocations: 0.7315 MB / 0.5392 GB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004012/0.6141, allocations: 2.611 MB / 0.5417 GB, free: 8.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.106e-06/0.6141, allocations: 4 kB / 0.5417 GB, free: 8.375 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.6147, allocations: 333.4 kB / 0.5421 GB, free: 8.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.616, allocations: 187.1 kB / 0.5422 GB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.6198, allocations: 1.842 MB / 0.544 GB, free: 5.996 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.6209, allocations: 1.144 MB / 0.5451 GB, free: 4.824 MB / 362.7 MB Notification: Performance of SimCode: time 1.402e-06/0.6209, allocations: 0 / 0.5451 GB, free: 4.824 MB / 362.7 MB Notification: Performance of Templates: time 0.03806/0.659, allocations: 18.12 MB / 0.5628 GB, free: 2.75 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1)