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.001788/0.001788, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003112/0.003112, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.576/1.576, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.375/0.375, allocations: 39.95 MB / 309.7 MB, free: 9.289 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.001497/0.001497, allocations: 78.89 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1445, allocations: 56.87 MB / 434.5 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.FilterTests.Basic): time 0.006006/0.1506, allocations: 2.645 MB / 437.1 MB, free: 1.047 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.1633, allocations: 4.413 MB / 441.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.1646, allocations: 23.75 kB / 441.6 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001425/0.1661, allocations: 342.3 kB / 441.9 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007237/0.1669, allocations: 91.14 kB / 442 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008114/0.175, allocations: 2.627 MB / 444.6 MB, free: 9.547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001975/0.177, allocations: 1.181 MB / 445.8 MB, free: 8.359 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.1773, allocations: 85.72 kB / 445.9 MB, free: 8.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008031/0.1781, allocations: 434.7 kB / 446.3 MB, free: 7.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008867/0.179, allocations: 398.2 kB / 446.7 MB, free: 7.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003554/0.1793, allocations: 56 kB / 446.7 MB, free: 7.398 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003816/0.1832, allocations: 1.772 MB / 448.5 MB, free: 5.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005153/0.1837, allocations: 307.1 kB / 448.8 MB, free: 5.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008569/0.1846, allocations: 397.4 kB / 449.2 MB, free: 4.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004007/0.1886, allocations: 2.268 MB / 451.5 MB, free: 2.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1886, allocations: 0 / 451.5 MB, free: 2.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.1886, allocations: 0 / 451.5 MB, free: 2.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.094e-05/0.1887, allocations: 3.938 kB / 451.5 MB, free: 2.656 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.003777/0.1924, allocations: 1.464 MB / 452.9 MB, free: 1.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/0.1925, allocations: 11.98 kB / 453 MB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003228/0.1928, allocations: 111.6 kB / 453.1 MB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.1941, allocations: 0.5783 MB / 453.6 MB, free: 396 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.614e-05/0.1942, allocations: 45.12 kB / 453.7 MB, free: 348 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/0.1943, allocations: 63.91 kB / 453.8 MB, free: 284 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3065/0.5009, allocations: 0.6956 MB / 454.4 MB, free: 50.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.5009, allocations: 0 / 454.4 MB, free: 50.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.501, allocations: 18.78 kB / 454.5 MB, free: 50.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.464e-05/0.501, allocations: 8.062 kB / 454.5 MB, free: 50.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006975/0.5017, allocations: 373.8 kB / 454.8 MB, free: 50.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003111/0.5049, allocations: 1.353 MB / 456.2 MB, free: 50.39 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.5062, allocations: 0.8443 MB / 457 MB, free: 50.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.5066, allocations: 297.4 kB / 457.3 MB, free: 50.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.5066, allocations: 6.938 kB / 457.3 MB, free: 50.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.5067, allocations: 42.19 kB / 457.4 MB, free: 50.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=53): time 1.923e-06/0.5067, allocations: 0 / 457.4 MB, free: 50.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.001467/0.5081, allocations: 0.965 MB / 458.3 MB, free: 50.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001944/0.5084, allocations: 0.6699 MB / 459 MB, free: 49.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008044/0.5092, allocations: 0.8533 MB / 459.9 MB, free: 48.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.5092, allocations: 44.14 kB / 459.9 MB, free: 48.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.5094, allocations: 355.8 kB / 460.3 MB, free: 48.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.5096, allocations: 217.8 kB / 460.5 MB, free: 48.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.5098, allocations: 254 kB / 460.7 MB, free: 48.33 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.51, allocations: 418.8 kB / 461.1 MB, free: 47.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006695/0.5106, allocations: 0.5867 MB / 461.7 MB, free: 47.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007696/0.5114, allocations: 0.8323 MB / 462.5 MB, free: 47.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.5126, allocations: 1.125 MB / 463.7 MB, free: 46.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.5126, allocations: 3.812 kB / 463.7 MB, free: 46.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.002378/0.515, allocations: 1.927 MB / 465.6 MB, free: 46.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5151, allocations: 3 kB / 465.6 MB, free: 46.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.98e-05/0.5151, allocations: 16.39 kB / 465.6 MB, free: 46.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.5163, allocations: 0.5065 MB / 466.1 MB, free: 46.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005157/0.5169, allocations: 137.5 kB / 466.3 MB, free: 46.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01039/0.5273, allocations: 18.2 MB / 484.5 MB, free: 28.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007291/0.528, allocations: 135.4 kB / 484.6 MB, free: 28.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.108e-05/0.5281, allocations: 25.22 kB / 484.6 MB, free: 28.75 MB / 382.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.0004318/0.5286, allocations: 286.2 kB / 484.9 MB, free: 28.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.5287, allocations: 84.31 kB / 485 MB, free: 28.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.5288, allocations: 102.4 kB / 485.1 MB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.5288, allocations: 6.094 kB / 485.1 MB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.5289, allocations: 3.938 kB / 485.1 MB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5289, allocations: 3.281 kB / 485.1 MB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006673/0.5295, allocations: 0.6393 MB / 485.7 MB, free: 28.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5296, allocations: 0 / 485.7 MB, free: 28.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006413/0.5302, allocations: 106.3 kB / 485.8 MB, free: 28.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.5302, allocations: 3.031 kB / 485.8 MB, free: 28.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/0.5303, allocations: 34.39 kB / 485.9 MB, free: 28.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.5303, allocations: 6.875 kB / 485.9 MB, free: 28.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5303, allocations: 3.938 kB / 485.9 MB, free: 28.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.5316, allocations: 1.151 MB / 487 MB, free: 27.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.778e-05/0.5317, allocations: 161 kB / 487.2 MB, free: 27.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.5318, allocations: 35.58 kB / 487.2 MB, free: 27.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003228/0.5322, allocations: 31.16 kB / 487.2 MB, free: 27.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/0.5323, allocations: 34.3 kB / 487.3 MB, free: 27.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.5323, allocations: 16.92 kB / 487.3 MB, free: 27.44 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005279/0.5328, allocations: 0.5364 MB / 487.8 MB, free: 27.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5329, allocations: 0.7656 kB / 487.8 MB, free: 27.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002344/0.5352, allocations: 0.7561 MB / 488.6 MB, free: 27.18 MB / 382.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.001467/0.5367, allocations: 0.6949 MB / 489.3 MB, free: 27.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003884/0.5406, allocations: 3.157 MB / 492.4 MB, free: 24.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.5406, allocations: 3.156 kB / 492.4 MB, free: 24.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004175/0.541, allocations: 332.3 kB / 492.8 MB, free: 24.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009353/0.542, allocations: 226.4 kB / 493 MB, free: 24.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.5448, allocations: 2.269 MB / 495.3 MB, free: 23.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/0.5455, allocations: 1.076 MB / 496.3 MB, free: 22.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004442/0.546, allocations: 171.1 kB / 496.5 MB, free: 22.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.5461, allocations: 51.78 kB / 496.6 MB, free: 22.86 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.5461, allocations: 3.938 kB / 496.6 MB, free: 22.86 MB / 382.1 MB Notification: Performance of Templates: time 0.05274/0.5989, allocations: 20.39 MB / 0.5048 GB, free: 17.36 MB / 382.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)