Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.conf.json 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/Complex 4.0.0+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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic") translateModel(ModelicaTest.Blocks.FilterTests.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008973/0.008973, allocations: 102.8 kB / 15.73 MB, free: 5.539 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 193.1 kB / 16.67 MB, free: 5.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2168/0.2168, allocations: 39.97 MB / 309.9 MB, free: 4.008 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002314, allocations: 79.86 kB / 435.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.141, allocations: 56.89 MB / 492.7 MB, free: 2.719 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.005365/0.1465, allocations: 2.636 MB / 495.3 MB, free: 68 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008648/0.1552, allocations: 4.408 MB / 499.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007447/0.156, allocations: 23.75 kB / 499.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.1571, allocations: 346.3 kB / 0.4884 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005395/0.1577, allocations: 99.14 kB / 0.4885 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007274/0.1649, allocations: 2.621 MB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001801/0.1668, allocations: 1.174 MB / 0.4922 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.167, allocations: 85.72 kB / 0.4923 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000842/0.1679, allocations: 446.6 kB / 0.4927 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008788/0.1688, allocations: 402.2 kB / 0.4931 GB, free: 6.469 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002632/0.1691, allocations: 60 kB / 0.4931 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004022/0.1731, allocations: 1.815 MB / 0.4949 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005364/0.1736, allocations: 303.2 kB / 0.4952 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008099/0.1745, allocations: 389.4 kB / 0.4956 GB, free: 3.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003512/0.178, allocations: 2.303 MB / 0.4978 GB, free: 1.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.178, allocations: 0 / 0.4978 GB, free: 1.605 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.178, allocations: 0 / 0.4978 GB, free: 1.605 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.37e-05/0.1781, allocations: 0 / 0.4978 GB, free: 1.605 MB / 382.1 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.00313/0.1812, allocations: 1.46 MB / 0.4992 GB, free: 96 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1813, allocations: 11.98 kB / 0.4992 GB, free: 84 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.1815, allocations: 107.7 kB / 0.4993 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009213/0.1824, allocations: 0.5898 MB / 0.4999 GB, free: 15.33 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.39e-05/0.1824, allocations: 40.94 kB / 0.5 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.1826, allocations: 75.89 kB / 0.5 GB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009937/0.1836, allocations: 0.6929 MB / 0.5007 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1836, allocations: 0 / 0.5007 GB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.706e-05/0.1837, allocations: 20 kB / 0.5007 GB, free: 14.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.1837, allocations: 8 kB / 0.5007 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.1843, allocations: 367.7 kB / 0.5011 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002498/0.1868, allocations: 1.355 MB / 0.5024 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.1883, allocations: 0.8422 MB / 0.5032 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000484/0.1888, allocations: 297.8 kB / 0.5035 GB, free: 11.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.1888, allocations: 8.438 kB / 0.5035 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.1888, allocations: 43 kB / 0.5036 GB, free: 11.44 MB / 398.1 MB Notification: Performance of pre-optimization done (n=53): time 2.114e-06/0.1888, allocations: 0 / 0.5036 GB, free: 11.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=53): time 0.001553/0.1904, allocations: 0.9577 MB / 0.5045 GB, free: 10.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003769/0.1908, allocations: 0.6687 MB / 0.5052 GB, free: 9.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009192/0.1917, allocations: 0.8534 MB / 0.506 GB, free: 8.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.015e-05/0.1918, allocations: 49.7 kB / 0.506 GB, free: 8.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002687/0.1921, allocations: 357.4 kB / 0.5064 GB, free: 8.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001859/0.1923, allocations: 216.8 kB / 0.5066 GB, free: 8.145 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003311/0.1926, allocations: 254.6 kB / 0.5068 GB, free: 7.891 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.1928, allocations: 414.7 kB / 0.5072 GB, free: 7.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007966/0.1936, allocations: 0.5963 MB / 0.5078 GB, free: 6.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.1947, allocations: 0.8301 MB / 0.5086 GB, free: 5.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/0.1963, allocations: 1.124 MB / 0.5097 GB, free: 4.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1963, allocations: 0 / 0.5097 GB, free: 4.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003047/0.1993, allocations: 1.925 MB / 0.5116 GB, free: 2.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.1994, allocations: 4 kB / 0.5116 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.131e-05/0.1994, allocations: 15.98 kB / 0.5116 GB, free: 2.852 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001467/0.2009, allocations: 0.4978 MB / 0.5121 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/0.2014, allocations: 135.9 kB / 0.5122 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.328/0.5295, allocations: 18.19 MB / 0.53 GB, free: 41.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006944/0.5302, allocations: 129.8 kB / 0.5301 GB, free: 41.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.986e-05/0.5303, allocations: 32.23 kB / 0.5301 GB, free: 41.71 MB / 414.1 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 (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003951/0.5307, allocations: 284 kB / 0.5304 GB, free: 41.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.5308, allocations: 90.28 kB / 0.5305 GB, free: 41.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.531, allocations: 102.3 kB / 0.5306 GB, free: 41.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.531, allocations: 6.375 kB / 0.5306 GB, free: 41.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.531, allocations: 0 / 0.5306 GB, free: 41.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.531, allocations: 6.188 kB / 0.5306 GB, free: 41.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007749/0.5318, allocations: 0.6292 MB / 0.5312 GB, free: 41.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.5318, allocations: 4.219 kB / 0.5312 GB, free: 41.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007155/0.5326, allocations: 109.1 kB / 0.5313 GB, free: 41.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.5326, allocations: 2.844 kB / 0.5313 GB, free: 41.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-05/0.5326, allocations: 31.5 kB / 0.5314 GB, free: 41.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.5327, allocations: 3.312 kB / 0.5314 GB, free: 41.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5327, allocations: 0 / 0.5314 GB, free: 41.4 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.5343, allocations: 1.157 MB / 0.5325 GB, free: 41.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.5344, allocations: 162.5 kB / 0.5327 GB, free: 41.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.5345, allocations: 39.5 kB / 0.5327 GB, free: 41.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000342/0.5349, allocations: 30.03 kB / 0.5327 GB, free: 41.17 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/0.535, allocations: 31.83 kB / 0.5328 GB, free: 41.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/0.535, allocations: 15.95 kB / 0.5328 GB, free: 41.17 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006614/0.5357, allocations: 0.5385 MB / 0.5333 GB, free: 41.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5357, allocations: 0 / 0.5333 GB, free: 41.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002396/0.5381, allocations: 0.7567 MB / 0.534 GB, free: 41.06 MB / 414.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001453/0.5396, allocations: 0.7029 MB / 0.5347 GB, free: 40.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003669/0.5432, allocations: 2.988 MB / 0.5376 GB, free: 39.21 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.5433, allocations: 1.312 kB / 0.5376 GB, free: 39.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000544/0.5438, allocations: 335.6 kB / 0.538 GB, free: 39.21 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.5449, allocations: 232.1 kB / 0.5382 GB, free: 39.2 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003371/0.5483, allocations: 2.249 MB / 0.5404 GB, free: 38.28 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/0.549, allocations: 1.087 MB / 0.5414 GB, free: 37.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004741/0.5495, allocations: 166 kB / 0.5416 GB, free: 37.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.5497, allocations: 52.5 kB / 0.5416 GB, free: 37.54 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.5497, allocations: 0 / 0.5416 GB, free: 37.54 MB / 414.1 MB Notification: Performance of Templates: time 0.03942/0.5891, allocations: 20.79 MB / 0.5619 GB, free: 26.74 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.FilterTests.Basic.pipe 2>&1)